Difference between revisions of "ImGui.Core:showFontSelector"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Adds a style selector block (not a window), essentially a combo listing the default styles.
 
Adds a style selector block (not a window), essentially a combo listing the default styles.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
ImGui:showFontSelector(fontselector)
 
ImGui:showFontSelector(fontselector)
 
</source>
 
</source>
Line 16: Line 16:
  
 
=== Example ===
 
=== Example ===
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
</source>
 
</source>
  
 
{{ImGui}}
 
{{ImGui}}

Revision as of 15:28, 13 July 2023

Available since: Gideros 2020.9
Class: ImGui

Description

Adds a style selector block (not a window), essentially a combo listing the default styles. <syntaxhighlight lang="lua"> ImGui:showFontSelector(fontselector) </source>

fontselector can be any of the following:

  • ImGui.***

Parameters

fontselector: (string) any of the above selector

Example

<syntaxhighlight lang="lua"> </source>