#include <dr_gui.h>
Public Attributes | |
drgui_color | backgroundColor |
The backgorund color of the text. More... | |
float | height |
The height of the run. More... | |
size_t | iChar |
Index in the main text string of the first character of the run. More... | |
size_t | iCharEnd |
Index in the main text string of the character just past the last character in the run. More... | |
size_t | iLine |
drgui_font * | pFont |
The font. More... | |
float | posX |
The position to draw the text on the x axis. More... | |
float | posY |
The position to draw the text on the y axis. More... | |
const char * | text |
A pointer to the start of the string. This is NOT null terminated. More... | |
drgui_color | textColor |
The foreground color of the text. More... | |
size_t | textLength |
The length of the string, in bytes. More... | |
float | width |
The width of the run. More... | |
Definition at line 5267 of file porcupine/demo/c/dr_libs/old/dr_gui.h.
drgui_color drgui_text_run::backgroundColor |
The backgorund color of the text.
Definition at line 5283 of file porcupine/demo/c/dr_libs/old/dr_gui.h.
float drgui_text_run::height |
The height of the run.
Definition at line 5296 of file porcupine/demo/c/dr_libs/old/dr_gui.h.
size_t drgui_text_run::iChar |
Index in the main text string of the first character of the run.
Definition at line 5306 of file porcupine/demo/c/dr_libs/old/dr_gui.h.
size_t drgui_text_run::iCharEnd |
Index in the main text string of the character just past the last character in the run.
Definition at line 5309 of file porcupine/demo/c/dr_libs/old/dr_gui.h.
size_t drgui_text_run::iLine |
Index of the line the run is placed on. For runs that are new line characters, this will represent the number of lines that came before it. For example, if this run represents the new-line character for the first line, this will be 0 and so on.
Definition at line 5303 of file porcupine/demo/c/dr_libs/old/dr_gui.h.
drgui_font * drgui_text_run::pFont |
The font.
Definition at line 5277 of file porcupine/demo/c/dr_libs/old/dr_gui.h.
float drgui_text_run::posX |
The position to draw the text on the x axis.
Definition at line 5287 of file porcupine/demo/c/dr_libs/old/dr_gui.h.
float drgui_text_run::posY |
The position to draw the text on the y axis.
Definition at line 5290 of file porcupine/demo/c/dr_libs/old/dr_gui.h.
const char * drgui_text_run::text |
A pointer to the start of the string. This is NOT null terminated.
Definition at line 5270 of file porcupine/demo/c/dr_libs/old/dr_gui.h.
drgui_color drgui_text_run::textColor |
The foreground color of the text.
Definition at line 5280 of file porcupine/demo/c/dr_libs/old/dr_gui.h.
size_t drgui_text_run::textLength |
The length of the string, in bytes.
Definition at line 5273 of file porcupine/demo/c/dr_libs/old/dr_gui.h.
float drgui_text_run::width |
The width of the run.
Definition at line 5293 of file porcupine/demo/c/dr_libs/old/dr_gui.h.