Difference between revisions of "ImGui.Core"

From GiderosMobile
Line 25: Line 25:
 
[[ImGui:showAboutWindow]] ''creates an ImGui About window''<br/><!--GIDEROSMTD:ImGui:showAboutWindow() creates an ImGui About window, displaying ImGui version, credits and build/system information-->
 
[[ImGui:showAboutWindow]] ''creates an ImGui About window''<br/><!--GIDEROSMTD:ImGui:showAboutWindow() creates an ImGui About window, displaying ImGui version, credits and build/system information-->
 
[[ImGui:showDemoWindow]] ''displays an ImGui demo''<br/><!--GIDEROSMTD:ImGui:showDemoWindow() displays an ImGui demo-->
 
[[ImGui:showDemoWindow]] ''displays an ImGui demo''<br/><!--GIDEROSMTD:ImGui:showDemoWindow() displays an ImGui demo-->
 +
[[ImGui:showFontSelector]] ''adds a font selector block (not a window)''<br/><!--GIDEROSMTD:ImGui:showFontSelector(font) adds a font selector block (not a window)-->
 
[[ImGui:showMetricsWindow]] ''displays an ImGui metrics window''<br/><!--GIDEROSMTD:ImGui:showMetricsWindow() displays an ImGui metrics window-->
 
[[ImGui:showMetricsWindow]] ''displays an ImGui metrics window''<br/><!--GIDEROSMTD:ImGui:showMetricsWindow() displays an ImGui metrics window-->
 
[[ImGui:showStyleEditor]] ''adds the style editor block (not a window)''<br/><!--GIDEROSMTD:ImGui:showStyleEditor() adds the style editor block (not a window)-->
 
[[ImGui:showStyleEditor]] ''adds the style editor block (not a window)''<br/><!--GIDEROSMTD:ImGui:showStyleEditor() adds the style editor block (not a window)-->
[[ImGui:showStyleSelector]] ''adds a style selector block (not a window)''<br/><!--GIDEROSMTD:ImGui:showStyleSelector(string) adds a style selector block (not a window)-->
+
[[ImGui:showStyleSelector]] ''adds a style selector block (not a window)''<br/><!--GIDEROSMTD:ImGui:showStyleSelector(style) adds a style selector block (not a window)-->
 
[[ImGui:text]] ''displays an ImGui text''<br/><!--GIDEROSMTD:ImGui:text(string) displays an ImGui text-->
 
[[ImGui:text]] ''displays an ImGui text''<br/><!--GIDEROSMTD:ImGui:text(string) displays an ImGui text-->
 
[[ImGui:textColored]] ''displays an ImGui colored text''<br/><!--GIDEROSMTD:ImGui:textColored(string, hex, alpha) displays an ImGui colored text-->
 
[[ImGui:textColored]] ''displays an ImGui colored text''<br/><!--GIDEROSMTD:ImGui:textColored(string, hex, alpha) displays an ImGui colored text-->

Revision as of 03:52, 23 March 2021

Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.pngPlatform html5.pngPlatform winrt.pngPlatform win32.png
Available since: Gideros 2020.9

Description

This is the ImGui main class.


PLEASE NOTE THE DOCUMENTATION IS WORK IN PROGRESS


Methods

ImGui.new initializes ImGui

ImGui:beginWindow pushes window to the stack and starts appending to it
ImGui:endFrame ends the ImGui frame
ImGui:endWindow pops window from the stack
ImGui:getIO accesses the IO structure (mouse/keyboard/gamepad inputs...)
ImGui:getStyle accesses the Style structure (colors, sizes)
ImGui:newFrame starts a new ImGui frame
ImGui:render ends the ImGui frame, finalizes the draw data
ImGui:setLightStyle sets a light color style
ImGui:showAboutWindow creates an ImGui About window
ImGui:showDemoWindow displays an ImGui demo
ImGui:showFontSelector adds a font selector block (not a window)
ImGui:showMetricsWindow displays an ImGui metrics window
ImGui:showStyleEditor adds the style editor block (not a window)
ImGui:showStyleSelector adds a style selector block (not a window)
ImGui:text displays an ImGui text
ImGui:textColored displays an ImGui colored text

Events

ImGui.KeyChar
ImGui.KeyDown
ImGui.KeyUp
ImGui.MouseDown
ImGui.MouseHover
ImGui.MouseMove
ImGui.MouseUp
ImGui.MouseWheel
ImGui.TouchBegin
ImGui.TouchEnd
ImGui.TouchCancel
ImGui.TouchMove

Constants

ImGui._VERSION


Dear ImGui