imgui.engine

Undocumented in source.

Members

Aliases

imguiGfxCmdType
alias imguiGfxCmdType = int
Undocumented in source.

Enums

IMGUI_GFXCMD_RECT
anonymousenum IMGUI_GFXCMD_RECT
Undocumented in source.

Functions

addGfxCmdLine
void addGfxCmdLine(float x0, float y0, float x1, float y1, float r, RGBA color)
Undocumented in source. Be warned that the author may not have intended to support it.
addGfxCmdRect
void addGfxCmdRect(float x, float y, float w, float h, RGBA color)
Undocumented in source. Be warned that the author may not have intended to support it.
addGfxCmdRoundedRect
void addGfxCmdRoundedRect(float x, float y, float w, float h, float r, RGBA color)
Undocumented in source. Be warned that the author may not have intended to support it.
addGfxCmdScissor
void addGfxCmdScissor(int x, int y, int w, int h)
Undocumented in source. Be warned that the author may not have intended to support it.
addGfxCmdText
void addGfxCmdText(int x, int y, int align_, const(char)[] text, RGBA color)
Undocumented in source. Be warned that the author may not have intended to support it.
addGfxCmdTriangle
void addGfxCmdTriangle(int x, int y, int w, int h, int flags, RGBA color)
Undocumented in source. Be warned that the author may not have intended to support it.
anyActive
bool anyActive()
Undocumented in source. Be warned that the author may not have intended to support it.
buttonLogic
bool buttonLogic(uint id, bool over)
Undocumented in source. Be warned that the author may not have intended to support it.
clearActive
void clearActive()
Undocumented in source. Be warned that the author may not have intended to support it.
clearInput
void clearInput()
Undocumented in source. Be warned that the author may not have intended to support it.
getTextLength
float getTextLength(const(char)[] text)
Undocumented in source. Be warned that the author may not have intended to support it.
imguiGetRenderQueue
const(imguiGfxCmd*) imguiGetRenderQueue()
Undocumented in source. Be warned that the author may not have intended to support it.
imguiGetRenderQueueSize
int imguiGetRenderQueueSize()
Undocumented in source. Be warned that the author may not have intended to support it.
inRect
bool inRect(int x, int y, int w, int h, bool checkScroll)
Undocumented in source. Be warned that the author may not have intended to support it.
isActive
bool isActive(uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
isHot
bool isHot(uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
isInputable
bool isInputable(uint id)

Is the widget with specified ID 'inputable' for e.g. text input?

resetGfxCmdQueue
void resetGfxCmdQueue()
Undocumented in source. Be warned that the author may not have intended to support it.
setActive
void setActive(uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
setHot
void setHot(uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
setInputable
void setInputable(uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
textInputLogic
void textInputLogic(uint id, bool over, bool forceInputable)

Input logic for text input fields.

updateInput
void updateInput(int mx, int my, ubyte mbut, int scroll, dchar unicodeChar)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

AREA_HEADER
enum AREA_HEADER;
Undocumented in source.
BUTTON_HEIGHT
enum BUTTON_HEIGHT;
Undocumented in source.
CHECK_SIZE
enum CHECK_SIZE;
Undocumented in source.
DEFAULT_SPACING
enum DEFAULT_SPACING;
Undocumented in source.
GFXCMD_QUEUE_SIZE
enum GFXCMD_QUEUE_SIZE;

Globals end.

INDENT_SIZE
enum INDENT_SIZE;
Undocumented in source.
MAX_SCROLL_AREA
enum MAX_SCROLL_AREA;
Undocumented in source.
SCROLL_AREA_PADDING
enum SCROLL_AREA_PADDING;
Undocumented in source.
SLIDER_HEIGHT
enum SLIDER_HEIGHT;
Undocumented in source.
SLIDER_MARKER_WIDTH
enum SLIDER_MARKER_WIDTH;
Undocumented in source.
TEXT_HEIGHT
enum TEXT_HEIGHT;
Undocumented in source.

Static variables

g_focusBottom
int g_focusBottom;
Undocumented in source.
g_focusTop
int g_focusTop;
Undocumented in source.
g_gfxCmdQueue
imguiGfxCmd[GFXCMD_QUEUE_SIZE] g_gfxCmdQueue;

Globals start.

g_gfxCmdQueueSize
uint g_gfxCmdQueueSize;
Undocumented in source.
g_insideScrollArea
bool g_insideScrollArea;
Undocumented in source.
g_scrollAreaTop
int g_scrollAreaTop;
Undocumented in source.
g_scrollBottom
int g_scrollBottom;
Undocumented in source.
g_scrollId
uint g_scrollId;
Undocumented in source.
g_scrollRight
int g_scrollRight;
Undocumented in source.
g_scrollTop
int g_scrollTop;
Undocumented in source.
g_scrollVal
int* g_scrollVal;
Undocumented in source.
g_state
GuiState g_state;
Undocumented in source.

Structs

GuiState
struct GuiState
Undocumented in source.
ScrollArea
struct ScrollArea
Undocumented in source.
imguiGfxCmd
struct imguiGfxCmd
Undocumented in source.
imguiGfxLine
struct imguiGfxLine
Undocumented in source.
imguiGfxRect
struct imguiGfxRect
Undocumented in source.
imguiGfxText
struct imguiGfxText
Undocumented in source.

Meta