![]() |
dsekai
World engine for retrocomputers.
|
Struct representing an on-screen graphical window. More...
#include <window.h>
Data Fields | |
uint16_t | id |
Unique identifier used to find this window in the global stack. | |
uint16_t | parent_id |
Unique identifier of the parent window of this window. | |
uint8_t | type |
Type of window defined by a constant. | |
uint8_t | flags |
GUI Window Flags modifying window behavior. | |
uint8_t | render_flags |
Flags passed directly to rendering function, depending on GUI Window Types. | |
GRAPHICS_COLOR | fg |
Foreground Unilayer Graphics Colors with which to draw this window's text. | |
GRAPHICS_COLOR | bg |
Background Unilayer Graphics Colors with which to draw this window. | |
uint16_t | coords [4] |
Pixel coordinates for this window on-screen; a tuple indexed as GUI_X, GUI_Y, GUI_W, GUI_H. | |
union CONTROL_DATA | data |
Data specific to each GUI Window Types. | |
Struct representing an on-screen graphical window.
uint16_t WINDOW::coords[4] |
Pixel coordinates for this window on-screen; a tuple indexed as GUI_X, GUI_Y, GUI_W, GUI_H.
Please see GUI Window Placement for more information on window placement and sizing.