![]() |
GFXprim
2D bitmap graphics library with emphasis on speed and correctness
|
A bollean widget class. More...
Go to the source code of this file.
Macros | |
| #define | GP_WIDGET_CLASS_BOOL(widget) |
| A macro to get a bool class widget. | |
| #define | GP_WIDGET_CLASS_BOOL_PAYLOAD(widget) |
| A macro to get a bool class widget payload. | |
Functions | |
| bool | gp_widget_bool_get (gp_widget *self) |
| Returns a class bool widget value. | |
| void | gp_widget_bool_set (gp_widget *self, bool val) |
| Sets a class bool widget value. | |
| static void | gp_widget_bool_toggle (gp_widget *self) |
| Toggles a class bool widget value. | |
A bollean widget class.
Functions to change the value of a boolean class widget.
Definition in file gp_widget_class_bool.h.
| #define GP_WIDGET_CLASS_BOOL | ( | widget | ) |
A macro to get a bool class widget.
Definition at line 33 of file gp_widget_class_bool.h.
| #define GP_WIDGET_CLASS_BOOL_PAYLOAD | ( | widget | ) |
A macro to get a bool class widget payload.
Definition at line 42 of file gp_widget_class_bool.h.
| bool gp_widget_bool_get | ( | gp_widget * | self | ) |
Returns a class bool widget value.
| self | A bool class widget. |
Referenced by gp_widget_bool_toggle().
| void gp_widget_bool_set | ( | gp_widget * | self, |
| bool | val ) |
Sets a class bool widget value.
| self | A bool class widget. |
| val | A boolean value. |
Referenced by gp_widget_bool_toggle().
|
inlinestatic |
Toggles a class bool widget value.
| self | A bool class widget. |
Definition at line 66 of file gp_widget_class_bool.h.
References gp_widget_bool_get(), and gp_widget_bool_set().