diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-12-08 16:31:24 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-12-08 17:00:23 +0100 |
| commit | 4da7a3e44d2bbd7b21ae05c7b6604748e7227227 (patch) | |
| tree | cbb81eed24dd2bed75998e4f8ffb803dd479a6df /src/gui/inc | |
| parent | de3532bd6b685c66015202a48d53e1b8fa4900f5 (diff) | |
| download | jancity-4da7a3e44d2bbd7b21ae05c7b6604748e7227227.tar.gz | |
wip2
Diffstat (limited to 'src/gui/inc')
| -rw-r--r-- | src/gui/inc/gui/combo_box.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/gui/inc/gui/combo_box.h b/src/gui/inc/gui/combo_box.h new file mode 100644 index 0000000..dd2fdea --- /dev/null +++ b/src/gui/inc/gui/combo_box.h @@ -0,0 +1,29 @@ +#ifndef GUI_COMBO_BOX_H +#define GUI_COMBO_BOX_H + +#include <gui.h> +#include <gui/button.h> +#include <util.h> +#include <stddef.h> + +#ifdef __cplusplus +extern "C" +{ +#endif + +struct gui_combo_box +{ + struct gui_common common; + struct gui_button b; +}; + +UTIL_STATIC_ASSERT(!offsetof(struct gui_combo_box, common), + "unexpected offset for struct gui_combo_box"); + +void gui_combo_box_init(struct gui_combo_box *c, enum gui_button_type t); + +#ifdef __cplusplus +} +#endif + +#endif /* GUI_COMBO_BOX_H */ |
