BIS fnc 3DENDiagFonts: Difference between revisions
Jump to navigation
Jump to search
m (no underscores in parameters) |
m (Note formatting) |
||
Line 60: | Line 60: | ||
<dd class="note"> | <dd class="note"> | ||
Code used to generate list: | Code used to generate list: | ||
< | <code>_version [[a = b|=]] [[str]]([[productVersion]] [[select]] 2); | ||
_version = format["%1.%2", _version select [0,1], _version select [1, count _version]]; | _version [[a = b|=]] [[format]]["%1.%2", _version [[select]] [0,1], _version [[select]] [1, [[count]] _version]]; | ||
_firstLine = format ["Fonts for {{GVI|arma3|%1}}:<br>", _version]; | _firstLine [[a = b|=]] [[format]] ["Fonts [[for]] <nowiki>{{GVI|arma3|%1}}</nowiki>:<br>", _version]; | ||
_s = [_firstLine, "<ol start{{=}}""0"">"]; | _s [[a = b|=]] [_firstLine, <nowiki>"<ol start{{=}}""0"">"</nowiki>]; | ||
_cfgFonts = | _cfgFonts [[a = b|=]] [[configProperties]] [configfile [[config greater greater name|>>]] "cfgfontfamilies","[[isclass]] [[_x]]"]; | ||
_cfgFonts apply { | _cfgFonts [[apply]] { | ||
_s pushBack format["<li>%1</li>", configName _x]; | _s [[pushBack]] [[format]][<nowiki>"<li>%1</li>"</nowiki>, [[configName]] _x]; | ||
}; | }; | ||
_s pushBack "</ol>"; | _s [[pushBack]] <nowiki>"</ol>"</nowiki>; | ||
_s = _s joinString endl; | _s [[a = b|=]] _s [[joinString]] [[endl]]; | ||
copyToClipboard _s; | [[copyToClipboard]] _s; | ||
_s</ | _s</code> | ||
</dd> | </dd> | ||
</dl> | </dl> | ||
<!-- DISCONTINUE Notes --> | <!-- DISCONTINUE Notes --> |
Revision as of 09:55, 2 November 2020
Description
- Description:
-
Displays given font in various different sizes. The fontID is the index of the font in
configFile >> "CfgFontFamilies"
.
Fonts for 2.00:- LucidaConsoleB
- TahomaB
- EtelkaMonospacePro
- LCD14
- EtelkaMonospaceProBold
- EtelkaNarrowMediumPro
- PuristaBold
- PuristaLight
- PuristaMedium
- PuristaSemibold
- RobotoCondensed
- RobotoCondensedBold
- RobotoCondensedLight
- Caveat
- Execution:
- call
- Groups:
- Eden Editor
Syntax
- Syntax:
- fontID call BIS_fnc_3DENDiagFonts;
- Parameters:
- fontID: Number
- Return Value:
- Nothing
Examples
- Example 1:
2 call BIS_fnc_3DENDiagFonts;
Additional Information
- See also:
- Eden EditorBIS_fnc_3DENCameraBIS_fnc_3DENControlsHintBIS_fnc_3DENDiagCreateListBIS_fnc_3DENDiagMouseControlBIS_fnc_3DENDrawLocationsBIS_fnc_3DENEntityMenuBIS_fnc_3DENExportAttributesBIS_fnc_3DENExportOldSQMBIS_fnc_3DENExportTerrainBuilderBIS_fnc_3DENFlashlightBIS_fnc_3DENGridBIS_fnc_3DENIntelBIS_fnc_3DENInterfaceBIS_fnc_3DENListLocationsBIS_fnc_3DENMissionPreviewBIS_fnc_3DENModuleDescriptionBIS_fnc_3DENShowMessageBIS_fnc_3DENStatusBarBIS_fnc_3DENToolbarBIS_fnc_3DENTutorialBIS_fnc_3DENVisionMode
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
Bottom Section
- Posted on November 1, 2020 - 15:36 (UTC)
- 7erra
-
Code used to generate list:
_version = str(productVersion select 2); _version = format["%1.%2", _version select [0,1], _version select [1, count _version]]; _firstLine = format ["Fonts for {{GVI|arma3|%1}}:
", _version]; _s = [_firstLine, "<ol start{{=}}""0"">"]; _cfgFonts = configProperties [configfile >> "cfgfontfamilies","isclass _x"]; _cfgFonts apply { _s pushBack format["<li>%1</li>", configName _x]; }; _s pushBack "</ol>"; _s = _s joinString endl; copyToClipboard _s; _s