Go to the source code of this file.
|
#define | RETROGUI_FLAGS_DIRTY 0x01 |
| RETROGUI::flags indicating controls should be redrawn.
|
|
#define | RETROGUI_TRACE_LVL 0 |
|
#define | RETROGUI_CTL_TEXT_SZ_MAX 128 |
|
#define | RETROGUI_CTL_SZ_MAX_INIT 20 |
|
#define | RETROGUI_PADDING 5 |
|
#define | RETROGUI_BTN_LBL_SZ_MAX 64 |
|
#define | RETROGUI_BTN_LBL_PADDED_X 8 |
|
#define | RETROGUI_BTN_LBL_PADDED_Y 8 |
|
#define | RETROGUI_CTL_TEXT_BLINK_FRAMES 15 |
|
#define | retrogui_lock(gui) |
|
#define | retrogui_unlock(gui) |
|
#define | retrogui_is_locked(gui) |
|
#define | _retrogui_copy_str(field, src_str, dest_ctl, str_tmp, str_sz) |
|
#define | RETROGUI_IDC_NONE 0 |
|
#define | RETROGUI_CTL_TABLE_BASE(f) |
| Table defining all control types and their specific fields in RETROGUI_CTL.
|
|
#define | RETROGUI_CTL_TABLE(f) |
|
#define | RETROGUI_CTL_TABLE_FIELDS(idx, c_name, c_fields) |
| Creates the corresponding RETROGUI_* structs from RETROGUI_CTL_TABLE that populate union RETROGUI_CTL.
|
|
#define | RETROGUI_CTL_TABLE_TYPES(idx, c_name, c_fields) |
| Adds the structs created by RETROGUI_CTL_TABLE_FIELDS to union RETROGUI_CTL.
|
|
#define | RETROGUI_CTL_TABLE_CONSTS(idx, c_name, c_fields) |
|
|
typedef size_t | retrogui_idc_t |
| Unique identifying constant number for controls.
|
|
typedef void(* | retrogui_xy_cb) (size_t *x, size_t *y, void *data) |
|
|
MERROR_RETVAL | retrogui_push_listbox_item (struct RETROGUI *gui, retrogui_idc_t idc, const char *item, size_t item_sz) |
|
retrogui_idc_t | retrogui_poll_ctls (struct RETROGUI *gui, RETROFLAT_IN_KEY *p_input, struct RETROFLAT_INPUT *input_evt) |
| Poll for the last clicked control and maintain listboxes and menus.
|
|
MERROR_RETVAL | retrogui_redraw_ctls (struct RETROGUI *gui) |
|
MERROR_RETVAL | retrogui_sz_ctl (struct RETROGUI *gui, retrogui_idc_t idc, size_t *p_w, size_t *p_h, size_t max_w, size_t max_h) |
|
MERROR_RETVAL | retrogui_pos_ctl (struct RETROGUI *gui, retrogui_idc_t idc, size_t x, size_t y, size_t w, size_t h) |
|
MERROR_RETVAL | retrogui_push_ctl (struct RETROGUI *gui, union RETROGUI_CTL *ctl) |
|
MERROR_RETVAL | retrogui_get_ctl_text (struct RETROGUI *gui, retrogui_idc_t idc, char *buffer, size_t buffer_sz) |
|
ssize_t | retrogui_get_ctl_sel_idx (struct RETROGUI *gui, size_t idc) |
|
MERROR_RETVAL | retrogui_set_ctl_text (struct RETROGUI *gui, retrogui_idc_t idc, size_t buffer_sz, const char *fmt,...) |
|
MERROR_RETVAL | retrogui_init_ctl (union RETROGUI_CTL *ctl, uint8_t type, size_t idc) |
|
MERROR_RETVAL | retrogui_init (struct RETROGUI *gui) |
|
MERROR_RETVAL | retrogui_remove_ctl (struct RETROGUI *gui, retrogui_idc_t idc) |
|
MERROR_RETVAL | retrogui_free (struct RETROGUI *gui) |
|
|
MAUG_CONST char * | gc_retrogui_ctl_names [] |
|