11#ifndef __MUTEKI_UI_TYPES_DESKBOX_H__
12#define __MUTEKI_UI_TYPES_DESKBOX_H__
#define UTF16
"Portable" Besta UTF-16 type used by other headers.
Definition common.h:54
UI framework type (component, group, event) definitions.
struct ui_group_s ui_group_t
ui_group_s
Definition framework.h:87
struct ui_event_std_s ui_event_t
ui_event_std_s
Definition framework.h:96
struct ui_component_s ui_component_t
ui_component_s
Definition framework.h:71
Image clip subwidget type definition.
struct ui_imageclip_s ui_imageclip_t
Image clip subwidget type.
Definition imageclip.h:24
struct loader_file_descriptor_s loader_file_descriptor_t
File descriptor specific to loader.
Deskbox container struct.
Definition deskbox.h:89
unsigned int cmdmenu_disable_mask
Disable mask of command menu entries.
Definition deskbox.h:160
short title_content_x1
Right boundary of the titlebar content.
Definition deskbox.h:172
const ui_menu_entry_t * menu_entries
Function menu entry array.
Definition deskbox.h:144
const UTF16 * menu_title_text
Function menu title text.
Definition deskbox.h:148
unsigned int user_data
Reserved for subtype use.
Definition deskbox.h:176
void * ime_control
IME control struct.
Definition deskbox.h:112
unsigned int deskbox_flags
Style flags.
Definition deskbox.h:156
void(*) on_close_help_files(ui_deskbox_t *self, loader_file_descriptor_t **content_file, loader_file_descriptor_t **index_file)
Close previously opened help content and index files.
Definition deskbox.h:132
unsigned int surface_color
Foreground color.
Definition deskbox.h:97
UTF16 * title
Title/caption text.
Definition deskbox.h:140
void(*) on_system_event(ui_component_t *self, ui_event_t *event)
System event callback.
Definition deskbox.h:128
ui_imageclip_t * background_image
background image wrapper.
Definition deskbox.h:107
void(*) on_open_help_files(ui_deskbox_t *self, loader_file_descriptor_t **out_content, loader_file_descriptor_t **out_index)
Open help content and index files.
Definition deskbox.h:120
unsigned int help_type
Help type index for this deskbox.
Definition deskbox.h:164
ui_group_t group
Parent group struct.
Definition deskbox.h:93
int unk_0x7c
Unknown. Probably padding bytes.
Definition deskbox.h:152
void(*) on_draw_title(ui_deskbox_t *self)
Draw title callback.
Definition deskbox.h:116
unsigned int background_color
Background color.
Definition deskbox.h:101
short title_content_x0
Left boundary of the titlebar content.
Definition deskbox.h:168
struct ui_deskbox_s ui_deskbox_t
Deskbox container type.
Definition deskbox.h:84
ui_deskbox_flag_e
Deskbox style flags.
Definition deskbox.h:26
@ UI_DESKBOX_FLAG_CLOSE_BUTTON
Add a close button to the title bar.
Definition deskbox.h:35
@ UI_DESKBOX_FLAG_DONE_BUTTON
Add a done button to the title bar.
Definition deskbox.h:39
@ UI_DESKBOX_FLAG_STYLE_SIMPLE
Draw a simple frame.
Definition deskbox.h:65
@ UI_DESKBOX_FLAG_STYLE_FLOAT
Create a floating window deskbox.
Definition deskbox.h:69
@ UI_DESKBOX_FLAG_NONE
No flag.
Definition deskbox.h:30
@ UI_DESKBOX_FLAG_STYLE_NONE
Do not draw title bar and frame.
Definition deskbox.h:60
@ UI_DESKBOX_FLAG_HELP_BUTTON
Handle help key presses.
Definition deskbox.h:48
@ UI_DESKBOX_FLAG_SAVE_BUTTON
Add a save button to the title bar.
Definition deskbox.h:43
@ UI_DESKBOX_FLAG_FUNCTION_MENU_BUTTON
Add a function button to the title bar.
Definition deskbox.h:52
@ UI_DESKBOX_FLAG_NO_CLOSE_BUTTON
Inhibit close button creation.
Definition deskbox.h:78
@ UI_DESKBOX_FLAG_STYLE_NORMAL
Normal style (with title bar).
Definition deskbox.h:56
@ UI_DESKBOX_FLAG_STYLE_POPUP
Create a popup deskbox.
Definition deskbox.h:73