3 * Copyright (C) 2007, Harbour, All rights reserved.
9 #include <F_Text_Display.H>
14 class F_Button : public F_Widget {
16 F_Button_State_t state_;
20 bool handle(F_Event_t &ev);
23 F_Button(F_Box_Type_t btype, coord_t x, coord_t y, dim_t w, dim_t h,
24 const char *label = 0) : F_Widget(x, y, w + 1, h + 1, label) {
25 state_ = F_BUTTON_NORMAL;
29 F_Button_State_t state() { return state_; }
30 void state(F_Button_State_t st) { state_ = st; }