- imguiBeginFrame
void imguiBeginFrame(int cursorX, int cursorY, ubyte mouseButtons, int mouseScroll, dchar unicodeChar)
Begin a new frame. All batched commands after the call to
imguiBeginFrame will be rendered as a single frame once
imguiRender is called.
- imguiBeginScrollArea
bool imguiBeginScrollArea(const(char)[] title, int xPos, int yPos, int width, int height, int* scroll, ColorScheme colorScheme)
Begin the definition of a new scrollable area.
- imguiButton
bool imguiButton(const(char)[] label, Enabled enabled, ColorScheme colorScheme)
- imguiCheck
bool imguiCheck(const(char)[] label, bool* checkState, Enabled enabled, ColorScheme colorScheme)
- imguiCollapse
bool imguiCollapse(const(char)[] label, const(char)[] subtext, bool* checkState, Enabled enabled, ColorScheme colorScheme)
Define a new collapsable element.
- imguiDestroy
void imguiDestroy()
Destroy the imgui library.
- imguiDrawLine
void imguiDrawLine(float x0, float y0, float x1, float y1, float r, RGBA color)
- imguiDrawRect
void imguiDrawRect(float xPos, float yPos, float width, float height, RGBA color)
- imguiDrawRoundedRect
void imguiDrawRoundedRect(float xPos, float yPos, float width, float height, float r, RGBA color)
Draw a rounded rectangle.
- imguiDrawText
void imguiDrawText(int xPos, int yPos, TextAlign textAlign, const(char)[] text, RGBA color)
- imguiEndFrame
void imguiEndFrame()
End the list of batched commands for the current frame.
- imguiEndScrollArea
void imguiEndScrollArea(ColorScheme colorScheme)
End the definition of the last scrollable element.
- imguiIndent
void imguiIndent()
Add horizontal indentation for elements to be added.
- imguiInit
bool imguiInit(const(char)[] fontPath, uint fontTextureSize)
Initialize the imgui library.
- imguiItem
bool imguiItem(const(char)[] label, Enabled enabled, ColorScheme colorScheme)
- imguiLabel
void imguiLabel(const(char)[] label, ColorScheme colorScheme)
- imguiRender
void imguiRender(int width, int height)
Render all of the batched commands for the current frame.
- imguiSeparator
void imguiSeparator()
Add vertical space as a separator below the last element.
- imguiSeparatorLine
void imguiSeparatorLine(ColorScheme colorScheme)
Add a horizontal line as a separator below the last element.
- imguiSlider
bool imguiSlider(const(char)[] label, float* sliderState, float minValue, float maxValue, float stepValue, Enabled enabled, ColorScheme colorScheme)
- imguiTextInput
bool imguiTextInput(const(char)[] label, char[] buffer, char[] usedSlice, bool forceInputable, ColorScheme colorScheme)
Define a text input field.
- imguiUnindent
void imguiUnindent()
Remove horizontal indentation for elements to be added.
- imguiValue
void imguiValue(const(char)[] label, ColorScheme colorScheme)