Freeciv-3.3
|
#include <SDL2/SDL.h>
#include "colors.h"
#include "graphics.h"
#include "mapview.h"
#include "themespec.h"
#include "widget.h"
#include "widget_p.h"
Go to the source code of this file.
void clear_wflag | ( | struct widget * | pwidget, |
enum widget_flag | flag | ||
) |
Clear flag from the widget.
Definition at line 62 of file widget_core.c.
enum widget_flag get_wflags | ( | const struct widget * | pwidget | ) |
Get all flags of the widget.
Definition at line 86 of file widget_core.c.
Referenced by widget_core_redraw(), widget_core_undraw(), widget_free(), and widget_free().
enum widget_state get_wstate | ( | const struct widget * | pwidget | ) |
Get state of the widget.
Definition at line 70 of file widget_core.c.
enum widget_type get_wtype | ( | const struct widget * | pwidget | ) |
Get type of the widget.
Definition at line 78 of file widget_core.c.
Referenced by widget_free(), and widget_free().
void set_wflag | ( | struct widget * | pwidget, |
enum widget_flag | flag | ||
) |
Set flags of the widget.
Definition at line 54 of file widget_core.c.
void set_wstate | ( | struct widget * | pwidget, |
enum widget_state | state | ||
) |
Set state of the widget.
Definition at line 36 of file widget_core.c.
void set_wtype | ( | struct widget * | pwidget, |
enum widget_type | type | ||
) |
Set type of the widget.
Definition at line 45 of file widget_core.c.
Flush part of the display covered by the widget.
Definition at line 203 of file widget_core.c.
Referenced by widget_new().
Mark part of the display covered by the widget dirty.
Definition at line 188 of file widget_core.c.
Referenced by widget_new().
Draw widget to the surface its on, if it's visible.
Definition at line 160 of file widget_core.c.
Referenced by widget_new().
Callback for when widget gets selected.
Definition at line 234 of file widget_core.c.
Referenced by widget_new().
Clear widget from the display.
Definition at line 218 of file widget_core.c.
Referenced by widget_new().
Callback for when widget gets unselected.
Definition at line 243 of file widget_core.c.
Referenced by widget_new().
Free resources allocated for the widget.
Definition at line 94 of file widget_core.c.
Create a new widget.
Definition at line 252 of file widget_core.c.
Referenced by combo_new(), create_checkbox(), create_edit(), create_horizontal(), create_icon2(), create_icon_button(), create_iconlabel(), create_textcheckbox(), create_themeicon(), create_themelabel(), create_themelabel2(), create_vertical(), and create_window_skeleton().