30 lines
496 B
C
30 lines
496 B
C
#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 */
|