enum UI_PanelType { UI_PANELTYPE_CANVAS, UI_PANELTYPE_PALETTE, UI_PANELTYPE_BUTTONS, UI_PANELTYPE_TIMELINE, UI_PANELTYPE_DIVIDER, }; struct UI; struct UIPanel; struct UIPanelCanvas; struct UIPanelPalette; struct UIPanelButtons; struct UIPanelTimeline; struct UIPanelDivider; typedef struct UI UI; typedef struct UIPanel UIPanel; typedef struct UIPanelCanvas UIPanelCanvas; typedef struct UIPanelPalette UIPanelPalette; typedef struct UIPanelButtons UIPanelButtons; typedef struct UIPanelTimeline UIPanelTimeline; typedef struct UIPanelDivider UIPanelDivider; extern UI *main_ui; void ui_create(const char *); void ui_destroy(); unsigned char ui_resize(); void ui_redraw(); void ui_redraw_panel(unsigned char); void ui_present(); void ui_mousel_up(int, int); void ui_mousel_down(int, int); void ui_mouse_move(int, int); unsigned char ui_theme_load(const char *);