Difference between revisions of "ImGui.Core"

From GiderosMobile
Line 22: Line 22:
 
[[ImGui:newFrame]] ''starts a new ImGui frame''<br/><!--GIDEROSMTD:ImGui:newFrame(dt) starts a new ImGui frame-->
 
[[ImGui:newFrame]] ''starts a new ImGui frame''<br/><!--GIDEROSMTD:ImGui:newFrame(dt) starts a new ImGui frame-->
 
[[ImGui:render]] ''ends the ImGui frame, finalizes the draw data''<br/><!--GIDEROSMTD:ImGui:render() ends the ImGui frame, finalizes the draw data-->
 
[[ImGui:render]] ''ends the ImGui frame, finalizes the draw data''<br/><!--GIDEROSMTD:ImGui:render() ends the ImGui frame, finalizes the draw data-->
 +
[[ImGui:setClassicStyle]] ''sets a classic color style''<br/><!--GIDEROSMTD:ImGui:setClassicStyle() sets a classic color style-->
 +
[[ImGui:setDarkStyle]] ''sets a dark color style''<br/><!--GIDEROSMTD:ImGui:setDarkStyle() sets a dark color style-->
 
[[ImGui:setLightStyle]] ''sets a light color style''<br/><!--GIDEROSMTD:ImGui:setLightStyle() sets a light color style-->
 
[[ImGui:setLightStyle]] ''sets a light color style''<br/><!--GIDEROSMTD:ImGui:setLightStyle() sets a light color style-->
 
[[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-->

Revision as of 03:55, 24 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:setClassicStyle sets a classic color style
ImGui:setDarkStyle sets a dark color style
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:showUserGuide adds basic help/info 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