35 inline unsigned int imguiRGBA(
unsigned char r,
unsigned char g,
unsigned char b,
unsigned char a=255)
37 return (r) | (g << 8) | (b << 16) | (a << 24);
51 bool imguiButton(
const char* text,
bool enabled =
true);
52 bool imguiItem(
const char* text,
bool enabled =
true);
53 bool imguiCheck(
const char* text,
bool checked,
bool enabled =
true);
54 bool imguiCollapse(
const char* text,
const char* subtext,
bool checked,
bool enabled =
true);
57 bool imguiSlider(
const char* text,
float* val,
float vmin,
float vmax,
float vinc,
bool enabled =
true);
59 void imguiDrawText(
int x,
int y,
int align,
const char* text,
unsigned int color);
60 void imguiDrawLine(
float x0,
float y0,
float x1,
float y1,
float r,
unsigned int color);
62 void imguiDrawRect(
float x,
float y,
float w,
float h,
unsigned int color);
imguiMouseButton
Definition: imgui.h:23
@ IMGUI_MBUT_RIGHT
Definition: imgui.h:25
@ IMGUI_MBUT_LEFT
Definition: imgui.h:24
unsigned int imguiRGBA(unsigned char r, unsigned char g, unsigned char b, unsigned char a=255)
Definition: imgui.h:35
void imguiUnindent()
Definition: imgui.cpp:634
void imguiDrawRoundedRect(float x, float y, float w, float h, float r, unsigned int color)
Definition: imgui.cpp:671
bool imguiItem(const char *text, bool enabled=true)
Definition: imgui.cpp:449
void imguiLabel(const char *text)
Definition: imgui.cpp:540
imguiTextAlign
Definition: imgui.h:29
@ IMGUI_ALIGN_RIGHT
Definition: imgui.h:32
@ IMGUI_ALIGN_CENTER
Definition: imgui.h:31
@ IMGUI_ALIGN_LEFT
Definition: imgui.h:30
bool imguiCollapse(const char *text, const char *subtext, bool checked, bool enabled=true)
Definition: imgui.cpp:507
void imguiBeginFrame(int mx, int my, unsigned char mbut, int scroll)
Definition: imgui.cpp:265
bool imguiCheck(const char *text, bool checked, bool enabled=true)
Definition: imgui.cpp:474
void imguiDrawRect(float x, float y, float w, float h, unsigned int color)
Definition: imgui.cpp:666
void imguiDrawLine(float x0, float y0, float x1, float y1, float r, unsigned int color)
Definition: imgui.cpp:661
bool imguiButton(const char *text, bool enabled=true)
Definition: imgui.cpp:426
int imguiGetRenderQueueSize()
Definition: imgui.cpp:296
void imguiDrawText(int x, int y, int align, const char *text, unsigned int color)
Definition: imgui.cpp:656
imguiGfxCmdType
Definition: imgui.h:66
@ IMGUI_GFXCMD_TRIANGLE
Definition: imgui.h:68
@ IMGUI_GFXCMD_LINE
Definition: imgui.h:69
@ IMGUI_GFXCMD_RECT
Definition: imgui.h:67
@ IMGUI_GFXCMD_TEXT
Definition: imgui.h:70
@ IMGUI_GFXCMD_SCISSOR
Definition: imgui.h:71
void imguiEndScrollArea()
Definition: imgui.cpp:354
bool imguiBeginScrollArea(const char *name, int x, int y, int w, int h, int *scroll)
Definition: imgui.cpp:323
bool imguiSlider(const char *text, float *val, float vmin, float vmax, float vinc, bool enabled=true)
Definition: imgui.cpp:558
void imguiValue(const char *text)
Definition: imgui.cpp:548
void imguiSeparatorLine()
Definition: imgui.cpp:645
const imguiGfxCmd * imguiGetRenderQueue()
Definition: imgui.cpp:291
void imguiSeparator()
Definition: imgui.cpp:640
void imguiIndent()
Definition: imgui.cpp:628
void imguiEndFrame()
Definition: imgui.cpp:286
char type
Definition: imgui.h:92
unsigned int col
Definition: imgui.h:95
imguiGfxLine line
Definition: imgui.h:98
imguiGfxRect rect
Definition: imgui.h:99
char flags
Definition: imgui.h:93
imguiGfxText text
Definition: imgui.h:100
char pad[2]
Definition: imgui.h:94
short y0
Definition: imgui.h:87
short r
Definition: imgui.h:87
short x0
Definition: imgui.h:87
short y1
Definition: imgui.h:87
short x1
Definition: imgui.h:87
short h
Definition: imgui.h:76
short y
Definition: imgui.h:76
short x
Definition: imgui.h:76
short r
Definition: imgui.h:76
short w
Definition: imgui.h:76
const char * text
Definition: imgui.h:82
short y
Definition: imgui.h:81
short x
Definition: imgui.h:81
short align
Definition: imgui.h:81