Minor syntactical changes for readability.
[xuni.git] / src / widget / combobox.h
blobcea8f2d8e9ecd596bd3589c010ac3a7406487509
1 /*! \file combobox.h
3 */
5 #ifndef XUNI_GUARD_COMBOBOX_H
6 #define XUNI_GUARD_COMBOBOX_H
8 #include "widgets.h"
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
14 enum wid_combobox_t {
15 WID_COMBOBOX_TEXTBOX,
16 WID_COMBOBOX_BUTTON,
17 WID_COMBOBOX_DROPDOWN
20 struct combobox_t {
21 int unused;
24 void combobox_widget_event(struct xuni_t *xuni, struct widget_t *widget,
25 enum widget_event_t event);
27 void init_combobox(struct xuni_t *xuni, struct widget_t *widget,
28 size_t font);
29 void add_combobox_item(struct xuni_t *xuni, struct widget_t *widget,
30 size_t font, const char *data);
32 #ifdef __cplusplus
34 #endif
36 #endif