5 #include <F_Text_Display.H>
10 class F_Button : public F_Widget {
12 F_Button_State_t state_;
16 bool handle(F_Event_t &ev);
19 F_Button(F_Box_Type_t btype, coord_t x, coord_t y, dim_t w, dim_t h,
20 const char *label = 0) : F_Widget(x, y, w + 1, h + 1, label) {
21 state_ = F_BUTTON_NORMAL;
25 F_Button_State_t state() { return state_; }
26 void state(F_Button_State_t st) { state_ = st; }