ctrlSetFont: Difference between revisions
Jump to navigation
Jump to search
m (Added "Fonts" reference to "See also") |
Killzone Kid (talk | contribs) mNo edit summary |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Sets the font | | Sets the font for given control (see [[Fonts#Available_Fonts|Fonts]]) | ||
<br><br><u>Available Arma 3 fonts</u> | |||
* "EtelkaMonospacePro" | |||
* "EtelkaMonospaceProBold" | |||
* "EtelkaNarrowMediumPro" | |||
* "LCD14" | |||
* "LucidaConsoleB" | |||
* "PuristaBold" | |||
* "PuristaLight" | |||
* "PuristaMedium" | |||
* "PuristaSemibold" | |||
* "RobotoCondensed" | |||
* "RobotoCondensedBold" | |||
* "RobotoCondensedLight" | |||
* "TahomaB" | |||
|= Description | |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | control '''ctrlSetFont''' fontName | ||
|p1= | |p1= control: [[Control]]|= Parameter 1 | ||
|p2= fontName: [[String]] |= Parameter 2 | |p2= fontName: [[String]] - one of the fonts defined in CfgFontFamilies|= Parameter 2 | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>_control [[ctrlSetFont]] "TahomaB"</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 12:22, 25 July 2017
Description
- Description:
- Sets the font for given control (see Fonts)
Available Arma 3 fonts- "EtelkaMonospacePro"
- "EtelkaMonospaceProBold"
- "EtelkaNarrowMediumPro"
- "LCD14"
- "LucidaConsoleB"
- "PuristaBold"
- "PuristaLight"
- "PuristaMedium"
- "PuristaSemibold"
- "RobotoCondensed"
- "RobotoCondensedBold"
- "RobotoCondensedLight"
- "TahomaB"
- Groups:
- Uncategorised
Syntax
- Syntax:
- control ctrlSetFont fontName
- Parameters:
- control: Control
- fontName: String - one of the fonts defined in CfgFontFamilies
- Return Value:
- Nothing
Examples
- Example 1:
_control ctrlSetFont "TahomaB"
Additional Information
- See also:
- Fonts
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