|
C-Menu 0.2.9
A User Interface Toolkit
|
Structure representing a rectangular area in the UI. More...
#include <ui_backend.h>
Data Fields | |
| int | cols |
| int | rows |
| int | x |
| int | y |
Structure representing a rectangular area in the UI.
The UiRect structure defines a rectangular area within the UI, specified by its top-left corner (y, x) and its dimensions (rows, cols). This structure is commonly used when creating new surfaces or defining areas for drawing operations. The y and x fields represent the position of the rectangle's top-left corner relative to its parent surface, while the rows and cols fields specify the height and width of the rectangle, respectively. By using UiRect, you can easily manage and manipulate different areas of the UI for various purposes such as layout management and drawing.
Definition at line 196 of file ui_backend.h.
| int UiRect::cols |
Definition at line 200 of file ui_backend.h.
Referenced by ui_rect_set(), and ui_surface_new().
| int UiRect::rows |
Definition at line 199 of file ui_backend.h.
Referenced by ui_rect_set(), and ui_surface_new().
| int UiRect::x |
Definition at line 198 of file ui_backend.h.
Referenced by ui_rect_set(), and ui_surface_new().
| int UiRect::y |
Definition at line 197 of file ui_backend.h.
Referenced by ui_rect_set(), and ui_surface_new().