![]() |
Recast Navigation
Navigation-mesh Toolset for Games
|
Classes | |
| struct | GuiState |
Functions | |
| static const char * | allocText (const char *text) |
| static void | resetGfxCmdQueue () |
| static void | addGfxCmdScissor (int x, int y, int w, int h) |
| static void | addGfxCmdRect (float x, float y, float w, float h, unsigned int color) |
| static void | addGfxCmdLine (float x0, float y0, float x1, float y1, float r, unsigned int color) |
| static void | addGfxCmdRoundedRect (float x, float y, float w, float h, float r, unsigned int color) |
| static void | addGfxCmdTriangle (int x, int y, int w, int h, int flags, unsigned int color) |
| static void | addGfxCmdText (int x, int y, int align, const char *text, unsigned int color) |
| bool | anyActive () |
| bool | isActive (unsigned int id) |
| bool | isHot (unsigned int id) |
| bool | inRect (int x, int y, int w, int h, bool checkScroll=true) |
| void | clearInput () |
| void | clearActive () |
| void | setActive (unsigned int id) |
| void | setHot (unsigned int id) |
| static bool | buttonLogic (unsigned int id, bool over) |
| static void | updateInput (int mx, int my, unsigned char mbut, int scroll) |
| void | imguiBeginFrame (int mx, int my, unsigned char mbut, int scroll) |
| void | imguiEndFrame () |
| const imguiGfxCmd * | imguiGetRenderQueue () |
| int | imguiGetRenderQueueSize () |
| bool | imguiBeginScrollArea (const char *name, int x, int y, int w, int h, int *scroll) |
| void | imguiEndScrollArea () |
| bool | imguiButton (const char *text, bool enabled) |
| bool | imguiItem (const char *text, bool enabled) |
| bool | imguiCheck (const char *text, bool checked, bool enabled) |
| bool | imguiCollapse (const char *text, const char *subtext, bool checked, bool enabled) |
| void | imguiLabel (const char *text) |
| void | imguiValue (const char *text) |
| bool | imguiSlider (const char *text, float *val, float vmin, float vmax, float vinc, bool enabled) |
| void | imguiIndent () |
| void | imguiUnindent () |
| void | imguiSeparator () |
| void | imguiSeparatorLine () |
| void | imguiDrawText (int x, int y, int align, const char *text, unsigned int color) |
| void | imguiDrawLine (float x0, float y0, float x1, float y1, float r, unsigned int color) |
| void | imguiDrawRect (float x, float y, float w, float h, unsigned int color) |
| void | imguiDrawRoundedRect (float x, float y, float w, float h, float r, unsigned int color) |
Variables | |
| static const unsigned | TEXT_POOL_SIZE = 50000 |
| static char | g_textPool [TEXT_POOL_SIZE] |
| static unsigned | g_textPoolSize = 0 |
| static const unsigned | GFXCMD_QUEUE_SIZE = 5000 |
| static imguiGfxCmd | g_gfxCmdQueue [GFXCMD_QUEUE_SIZE] |
| static unsigned | g_gfxCmdQueueSize = 0 |
| static GuiState | g_state |
| static const int | BUTTON_HEIGHT = 20 |
| static const int | SLIDER_HEIGHT = 20 |
| static const int | SLIDER_MARKER_WIDTH = 10 |
| static const int | CHECK_SIZE = 8 |
| static const int | DEFAULT_SPACING = 4 |
| static const int | TEXT_HEIGHT = 8 |
| static const int | SCROLL_AREA_PADDING = 6 |
| static const int | INDENT_SIZE = 16 |
| static const int | AREA_HEADER = 28 |
| static int | g_scrollTop = 0 |
| static int | g_scrollBottom = 0 |
| static int | g_scrollRight = 0 |
| static int | g_scrollAreaTop = 0 |
| static int * | g_scrollVal = 0 |
| static int | g_focusTop = 0 |
| static int | g_focusBottom = 0 |
| static unsigned int | g_scrollId = 0 |
| static bool | g_insideScrollArea = false |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inline |
|
static |
|
inline |
|
inline |
| void imguiBeginFrame | ( | int | mx, |
| int | my, | ||
| unsigned char | mbut, | ||
| int | scroll | ||
| ) |
| bool imguiBeginScrollArea | ( | const char * | name, |
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h, | ||
| int * | scroll | ||
| ) |
| bool imguiButton | ( | const char * | text, |
| bool | enabled | ||
| ) |
| bool imguiCheck | ( | const char * | text, |
| bool | checked, | ||
| bool | enabled | ||
| ) |
| bool imguiCollapse | ( | const char * | text, |
| const char * | subtext, | ||
| bool | checked, | ||
| bool | enabled | ||
| ) |
| void imguiDrawLine | ( | float | x0, |
| float | y0, | ||
| float | x1, | ||
| float | y1, | ||
| float | r, | ||
| unsigned int | color | ||
| ) |
| void imguiDrawRect | ( | float | x, |
| float | y, | ||
| float | w, | ||
| float | h, | ||
| unsigned int | color | ||
| ) |
| void imguiDrawRoundedRect | ( | float | x, |
| float | y, | ||
| float | w, | ||
| float | h, | ||
| float | r, | ||
| unsigned int | color | ||
| ) |
| void imguiDrawText | ( | int | x, |
| int | y, | ||
| int | align, | ||
| const char * | text, | ||
| unsigned int | color | ||
| ) |
| void imguiEndFrame | ( | ) |
| void imguiEndScrollArea | ( | ) |
| const imguiGfxCmd * imguiGetRenderQueue | ( | ) |
| int imguiGetRenderQueueSize | ( | ) |
| void imguiIndent | ( | ) |
| bool imguiItem | ( | const char * | text, |
| bool | enabled | ||
| ) |
| void imguiLabel | ( | const char * | text | ) |
| void imguiSeparator | ( | ) |
| void imguiSeparatorLine | ( | ) |
| bool imguiSlider | ( | const char * | text, |
| float * | val, | ||
| float | vmin, | ||
| float | vmax, | ||
| float | vinc, | ||
| bool | enabled | ||
| ) |
| void imguiUnindent | ( | ) |
| void imguiValue | ( | const char * | text | ) |
|
inline |
|
inline |
|
inline |
|
static |
|
inline |
|
inline |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |