|
maug
Quick and dirty C mini-augmentation library.
|
Go to the source code of this file.
Data Structures | |
| struct | RETROWIN |
Macros | |
| #define | RETROWIN_TRACE_LVL 0 |
| #define | RETROWIN_FLAG_INIT_BMP 0x20 |
| #define | RETROWIN_FLAG_GUI_LOCKED 0x04 |
| #define | RETROWIN_FLAG_BORDER_NONE 0x00 |
| #define | RETROWIN_FLAG_BORDER_GRAY 0x01 |
| #define | RETROWIN_FLAG_BORDER_BLUE 0x02 |
| #define | retrowin_win_is_active(win) |
| #define | RETROWIN_FLAG_BORDER_MASK 0x03 |
| #define | retrowin_lock_gui(win) |
| #define | retrowin_unlock_gui(win) |
| #define | retrowin_gui_is_locked(win) |
Functions | |
| MERROR_RETVAL | retrowin_redraw_win_stack (struct MDATA_VECTOR *win_stack) |
| MERROR_RETVAL | retrowin_refresh_win_stack (struct MDATA_VECTOR *win_stack) |
| Force all windows on the stack to redraw. | |
| retrogui_idc_t | retrowin_poll_win_stack (struct MDATA_VECTOR *win_stack, retrogui_idc_t idc_active, RETROFLAT_IN_KEY *p_input, struct RETROFLAT_INPUT *input_evt) |
| Given the outputs of the input poller, check the controls on the active window to see if the inputs trigger any of them. | |
| ssize_t | retrowin_get_win_stack_sel_idx (struct MDATA_VECTOR *win_stack, retrogui_idc_t idc_win, retrogui_idc_t idc_ctl) |
| Get the selected index of the given control in the given window from the window stack. | |
| void | retrowin_free_win (struct RETROWIN *win) |
| MERROR_RETVAL | retrowin_free_all_win (struct MDATA_VECTOR *win_stack) |
| ssize_t | retrowin_get_by_idc (retrogui_idc_t idc, struct MDATA_VECTOR *win_stack) |
| ssize_t | retrowin_push_win (struct RETROGUI *gui, struct MDATA_VECTOR *win_stack, retrogui_idc_t idc, const maug_path font_filename, retroflat_pxxy_t x, retroflat_pxxy_t y, retroflat_pxxy_t w, retroflat_pxxy_t h, uint8_t flags) |
| Create a new window on the given win_stack. | |
| MERROR_RETVAL | retrowin_destroy_win (struct MDATA_VECTOR *win_stack, retrogui_idc_t idc) |
| Destroy the given window's resources and remove it from the window stack. | |