11 void init_gui(struct gui_t
*gui
);
12 void clear_gui(struct gui_t
*gui
, enum panel_type_t panel
);
13 void clear_sel(struct widget_sel_t
*sel
);
14 void clear_active(struct widget_p_t
*wp
);
15 void clear_tab(struct widget_tab_t
*tab
, enum panel_type_t panel
);
16 void rescale_gui(struct smode_t
*smode
, struct font_t
*font
,
18 struct resource_list_t
*find_panel(struct resource_list_t
*list
,
20 void load_resource_widgets(struct smode_t
*smode
, struct font_t
*font
,
21 struct theme_t
*theme
, struct gui_t
*gui
, struct panel_t
**panel
,
22 struct widget_t
*base
, struct resource_list_t
*list
);
23 void clear_panel(struct panel_t
*panel
);
24 void add_widget(struct panel_t
*panel
, struct widget_t
*widget
);
25 void add_allocate_widget(struct panel_t
*panel
, char *name
,
26 struct widget_t
*base
);
27 void add_allocate_widget_compose(struct panel_t
**panel
, char *name
,
28 struct widget_t
*base
);
29 struct panel_t
*allocate_panel(struct widget_t
*base
);
30 int compare_widget_name(struct widget_t
*widget
, ...);
31 void paint_box_image(SDL_Surface
*screen
, SDL_Surface
*image
, SDL_Rect
*b
);
32 void paint_textbox_text(SDL_Surface
*screen
, struct font_t
*font
,
33 struct theme_t
*theme
, SDL_Surface
*text
, SDL_Rect
*b
, int cursor
);
34 void paint_widget(struct xuni_t
*xuni
, struct widget_t
*widget
);
35 void paint_image(struct xuni_t
*xuni
, struct widget_t
*widget
);
36 void paint_image_pointer(struct xuni_t
*xuni
, struct widget_t
*widget
);
37 void paint_label(struct xuni_t
*xuni
, struct widget_t
*widget
);
38 void paint_label_clip(struct xuni_t
*xuni
, struct widget_t
*widget
);
39 void paint_box(struct xuni_t
*xuni
, struct widget_t
*widget
);
40 void paint_button(struct xuni_t
*xuni
, struct widget_t
*widget
);
41 void paint_checkbox(struct xuni_t
*xuni
, struct widget_t
*widget
);
42 void paint_textbox(struct xuni_t
*xuni
, struct widget_t
*widget
);
43 void paint_scrollbar(struct xuni_t
*xuni
, struct widget_t
*widget
);
44 void paint_listbox(struct xuni_t
*xuni
, struct widget_t
*widget
);
45 void paint_textarea(struct xuni_t
*xuni
, struct widget_t
*widget
);
46 void paint_panel(struct xuni_t
*xuni
, struct widget_t
*widget
);
47 void free_widget(struct widget_t
*widget
, int all
);
48 void empty_listbox(struct widget_t
*widget
);
49 void free_surface(SDL_Surface
*surface
);
50 void free_scroll_string_t_array(struct scroll_string_t
*array
, size_t n
,
52 void free_scroll_string_t(struct scroll_string_t
*scroll
, int all
);
53 void free_panel(struct panel_t
*panel
, int all
);
54 void free_gui(struct gui_t
*gui
);