Difference between revisions of "ImGui.Core"
Line 13: | Line 13: | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
=== Methods === | === Methods === | ||
− | [[ImGui.new]] ''initializes ImGui''<br/><!--GIDEROSMTD:ImGui.new() initializes ImGui--> | + | [[ImGui.Core.new|ImGui.new]] ''initializes ImGui''<br/><!--GIDEROSMTD:ImGui.new() initializes ImGui--> |
[[ImGui.Core:arrowButton|ImGui:arrowButton]] ''displays an ImGui arrow button''<br/><!--GIDEROSMTD:ImGui:arrowButton(stringID, direction) displays an ImGui arrow button--> | [[ImGui.Core:arrowButton|ImGui:arrowButton]] ''displays an ImGui arrow button''<br/><!--GIDEROSMTD:ImGui:arrowButton(stringID, direction) displays an ImGui arrow button--> | ||
− | [[ImGui:beginWindow]] ''pushes window to the stack and starts appending to it''<br/><!--GIDEROSMTD:ImGui:beginWindow(name, p_open, flags) pushes window to the stack and starts appending to it--> | + | [[ImGui.Core:beginWindow|ImGui:beginWindow]] ''pushes window to the stack and starts appending to it''<br/><!--GIDEROSMTD:ImGui:beginWindow(name, p_open, flags) pushes window to the stack and starts appending to it--> |
[[ImGui.Core:bulletText|ImGui:bulletText]] ''displays an ImGui bulleted text''<br/><!--GIDEROSMTD:ImGui:bulletText(string) displays an ImGui bulleted text--> | [[ImGui.Core:bulletText|ImGui:bulletText]] ''displays an ImGui bulleted text''<br/><!--GIDEROSMTD:ImGui:bulletText(string) displays an ImGui bulleted text--> | ||
[[ImGui.Core:button|ImGui:button]] ''displays an ImGui button''<br/><!--GIDEROSMTD:ImGui:button(string, w, h) displays an ImGui button--> | [[ImGui.Core:button|ImGui:button]] ''displays an ImGui button''<br/><!--GIDEROSMTD:ImGui:button(string, w, h) displays an ImGui button--> | ||
− | [[ImGui:endFrame]] ''ends the ImGui frame''<br/><!--GIDEROSMTD:ImGui:endFrame() ends the ImGui frame--> | + | [[ImGui.Core:endFrame|ImGui:endFrame]] ''ends the ImGui frame''<br/><!--GIDEROSMTD:ImGui:endFrame() ends the ImGui frame--> |
− | [[ImGui:endWindow]] ''pops window from the stack''<br/><!--GIDEROSMTD:ImGui:endWindow() pops window from the stack--> | + | [[ImGui.Core:endWindow|ImGui:endWindow]] ''pops window from the stack''<br/><!--GIDEROSMTD:ImGui:endWindow() pops window from the stack--> |
− | [[ImGui:getIO]] ''accesses the IO structure (mouse/keyboard/gamepad inputs...)''<br/><!--GIDEROSMTD:ImGui:getIO() accesses the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags)--> | + | [[ImGui.Core:getIO|ImGui:getIO]] ''accesses the IO structure (mouse/keyboard/gamepad inputs...)''<br/><!--GIDEROSMTD:ImGui:getIO() accesses the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags)--> |
− | [[ImGui:getStyle]] ''accesses the Style structure (colors, sizes)''<br/><!--GIDEROSMTD:ImGui:getStyle() accesses the Style structure (colors, sizes)--> | + | [[ImGui.Core:getStyle|ImGui:getStyle]] ''accesses the Style structure (colors, sizes)''<br/><!--GIDEROSMTD:ImGui:getStyle() accesses the Style structure (colors, sizes)--> |
[[ImGui.Core:image|ImGui:image]] ''an ImGui image''<br/><!--GIDEROSMTD:ImGui:image(texture, w, h, color, alpha, bordercolor, borderalpha) an ImGui image--> | [[ImGui.Core:image|ImGui:image]] ''an ImGui image''<br/><!--GIDEROSMTD:ImGui:image(texture, w, h, color, alpha, bordercolor, borderalpha) an ImGui image--> | ||
[[ImGui.Core:imageButton|ImGui:imageButton]] ''displays an ImGui image button''<br/><!--GIDEROSMTD:ImGui:imageButton(texture, w, h, padding, tintColor, alpha, borderColor, borderalpha) displays an ImGui image button--> | [[ImGui.Core:imageButton|ImGui:imageButton]] ''displays an ImGui image button''<br/><!--GIDEROSMTD:ImGui:imageButton(texture, w, h, padding, tintColor, alpha, borderColor, borderalpha) displays an ImGui image button--> | ||
Line 29: | Line 29: | ||
[[ImGui.Core:invisibleButton|ImGui:invisibleButton]] ''an ImGui invisible button''<br/><!--GIDEROSMTD:ImGui:invisibleButton(string, w, h) an ImGui invisible button--> | [[ImGui.Core:invisibleButton|ImGui:invisibleButton]] ''an ImGui invisible button''<br/><!--GIDEROSMTD:ImGui:invisibleButton(string, w, h) an ImGui invisible button--> | ||
[[ImGui.Core:labelText|ImGui:labelText]] ''displays an ImGui labelled text''<br/><!--GIDEROSMTD:ImGui:labelText(string, string) displays an ImGui labelled text--> | [[ImGui.Core:labelText|ImGui:labelText]] ''displays an ImGui labelled text''<br/><!--GIDEROSMTD:ImGui:labelText(string, string) displays an ImGui labelled text--> | ||
− | [[ImGui:newFrame]] ''starts a new ImGui frame''<br/><!--GIDEROSMTD:ImGui:newFrame(dt) starts a new ImGui frame--> | + | [[ImGui.Core:newFrame|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.Core:render|ImGui:render]] ''ends the ImGui frame, finalizes the draw data''<br/><!--GIDEROSMTD:ImGui:render() ends the ImGui frame, finalizes the draw data--> |
[[ImGui.Core:scaledImage|ImGui:scaledImage]] ''an ImGui scaled image''<br/><!--GIDEROSMTD:ImGui:scaledImage(texture, w, h, tintColor, alpha, borderColor, borderAlpha, anchorX, anchorY) an ImGui scaled image--> | [[ImGui.Core:scaledImage|ImGui:scaledImage]] ''an ImGui scaled image''<br/><!--GIDEROSMTD:ImGui:scaledImage(texture, w, h, tintColor, alpha, borderColor, borderAlpha, anchorX, anchorY) an ImGui scaled image--> | ||
[[ImGui.Core:scaledImageFilled|ImGui:scaledImageFilled]] ''an ImGui scaled image and filled''<br/><!--GIDEROSMTD:ImGui:scaledImageFilled(texture, w, h, tintColor, alpha, bgColor, bgAlpha, borderColor, borderAlpha, anchorX, anchorY) an ImGui scaled image and filled--> | [[ImGui.Core:scaledImageFilled|ImGui:scaledImageFilled]] ''an ImGui scaled image and filled''<br/><!--GIDEROSMTD:ImGui:scaledImageFilled(texture, w, h, tintColor, alpha, bgColor, bgAlpha, borderColor, borderAlpha, anchorX, anchorY) an ImGui scaled image and filled--> | ||
[[ImGui.Core:scaledImageButton|ImGui:scaledImageButton]] ''an ImGui scaled image button''<br/><!--GIDEROSMTD:ImGui:scaledImageButton(texture, w, h, padding, color, alpha, bgcColor, bgAlpha, anchorX, anchorY) an ImGui scaled image button--> | [[ImGui.Core:scaledImageButton|ImGui:scaledImageButton]] ''an ImGui scaled image button''<br/><!--GIDEROSMTD:ImGui:scaledImageButton(texture, w, h, padding, color, alpha, bgcColor, bgAlpha, anchorX, anchorY) an ImGui scaled image button--> | ||
[[ImGui.Core:scaledImageButtonWithText|ImGui:scaledImageButtonWithText]] ''an ImGui scaled image button and some text''<br/><!--GIDEROSMTD:ImGui:scaledImageButtonWithText(texture, text, w, h, padding, bgColor, bgAlpha, Color, alpha, anchorX, anchorY) an ImGui scaled image button and some text--> | [[ImGui.Core:scaledImageButtonWithText|ImGui:scaledImageButtonWithText]] ''an ImGui scaled image button and some text''<br/><!--GIDEROSMTD:ImGui:scaledImageButtonWithText(texture, text, w, h, padding, bgColor, bgAlpha, Color, alpha, anchorX, anchorY) an ImGui scaled image button and some text--> | ||
− | [[ImGui:setClassicStyle]] ''sets a classic color style''<br/><!--GIDEROSMTD:ImGui:setClassicStyle() sets a classic color style--> | + | [[ImGui.Core:setClassicStyle|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.Core:setDarkStyle|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.Core:setLightStyle|ImGui:setLightStyle]] ''sets a light color style''<br/><!--GIDEROSMTD:ImGui:setLightStyle() sets a light color style--> |
− | [[ImGui:showAboutWindow]] ''adds an ImGui About window''<br/><!--GIDEROSMTD:ImGui:showAboutWindow() adds an ImGui About window, displaying ImGui version, credits and build/system information--> | + | [[ImGui.Core:showAboutWindow|ImGui:showAboutWindow]] ''adds an ImGui About window''<br/><!--GIDEROSMTD:ImGui:showAboutWindow() adds an ImGui About window, displaying ImGui version, credits and build/system information--> |
− | [[ImGui:showDemoWindow]] ''adds an ImGui demo window''<br/><!--GIDEROSMTD:ImGui:showDemoWindow() adds an ImGui demo window--> | + | [[ImGui.Core:showDemoWindow|ImGui:showDemoWindow]] ''adds an ImGui demo window''<br/><!--GIDEROSMTD:ImGui:showDemoWindow() adds an ImGui demo window--> |
− | [[ImGui:showFontSelector]] ''adds a font selector block (not a window)''<br/><!--GIDEROSMTD:ImGui:showFontSelector(font) adds a font selector block (not a window)--> | + | [[ImGui.Core:showFontSelector|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]] ''adds an ImGui metrics window''<br/><!--GIDEROSMTD:ImGui:showMetricsWindow() adds an ImGui metrics window--> | + | [[ImGui.Core:showMetricsWindow|ImGui:showMetricsWindow]] ''adds an ImGui metrics window''<br/><!--GIDEROSMTD:ImGui:showMetricsWindow() adds 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.Core:showStyleEditor|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(style) adds a style selector block (not a window)--> | + | [[ImGui.Core:showStyleSelector|ImGui:showStyleSelector]] ''adds a style selector block (not a window)''<br/><!--GIDEROSMTD:ImGui:showStyleSelector(style) adds a style selector block (not a window)--> |
− | [[ImGui:showUserGuide]] ''adds basic help/info block (not a window)''<br/><!--GIDEROSMTD:ImGui:showUserGuide() adds basic help/info block (not a window)--> | + | [[ImGui.Core:showUserGuide|ImGui:showUserGuide]] ''adds basic help/info block (not a window)''<br/><!--GIDEROSMTD:ImGui:showUserGuide() adds basic help/info block (not a window)--> |
[[ImGui.Core:smallButton|ImGui:smallButton]] ''displays an ImGui small button''<br/><!--GIDEROSMTD:ImGui:smallButton(string) displays an ImGui small button--> | [[ImGui.Core:smallButton|ImGui:smallButton]] ''displays an ImGui small button''<br/><!--GIDEROSMTD:ImGui:smallButton(string) displays an ImGui small button--> | ||
− | [[ImGui:text]] ''displays an ImGui text''<br/><!--GIDEROSMTD:ImGui:text(string) displays an ImGui text--> | + | [[ImGui.Core: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.Core:textColored|ImGui:textColored]] ''displays an ImGui colored text''<br/><!--GIDEROSMTD:ImGui:textColored(string, hex, alpha) displays an ImGui colored text--> |
− | [[ImGui:textDisabled]] ''displays an ImGui disabled text''<br/><!--GIDEROSMTD:ImGui:textDisabled(string) displays an ImGui disabled text--> | + | [[ImGui.Core:textDisabled|ImGui:textDisabled]] ''displays an ImGui disabled text''<br/><!--GIDEROSMTD:ImGui:textDisabled(string) displays an ImGui disabled text--> |
− | [[ImGui:textWrapped]] ''displays an ImGui wrapped text''<br/><!--GIDEROSMTD:ImGui:textWrapped(string) displays an ImGui wrapped text--> | + | [[ImGui.Core:textWrapped|ImGui:textWrapped]] ''displays an ImGui wrapped text''<br/><!--GIDEROSMTD:ImGui:textWrapped(string) displays an ImGui wrapped text--> |
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| |
Revision as of 01:41, 27 March 2021
Supported platforms:
Available since: Gideros 2020.9
Description
This is the ImGui main class.
PLEASE NOTE THE DOCUMENTATION IS WORK IN PROGRESS
MethodsImGui.new initializes ImGui ImGui:arrowButton displays an ImGui arrow button |
EventsImGui.KeyChar ConstantsImGui._VERSION Window Flags Col Flags |