5 #ifndef XUNI_GUARD_BOX_H
6 #define XUNI_GUARD_BOX_H
15 BOX_STATE_HOVER
= 1 << 0,
16 BOX_STATE_ACTIVE
= 1 << 1
27 enum box_style_t style
;
28 enum box_state_t state
, allowstate
;
31 void box_widget_event(struct xuni_t
*xuni
, struct widget_t
*widget
,
32 enum widget_event_t event
);
34 void init_box(struct widget_t
*widget
, enum box_style_t style
,
35 struct widget_t
*selwidget
);
36 void set_box_type(struct gui_t
*gui
, struct widget_t
*widget
,
37 struct widget_t
*box
);
38 void paint_box_previous_state(struct xuni_t
*xuni
, struct widget_t
*widget
);