3 * Copyright (C) 2007, Harbour, All rights reserved.
9 #include <F_Text_Display.H>
14 enum F_Input_State_t {
20 class F_Input : public F_Widget {
22 F_Input_State_t state;
25 bool handle(F_Event_t &ev);
28 F_Input(F_Box_Type_t btype, coord_t x, coord_t y, dim_t w, dim_t h,
29 const char *label = 0) : F_Widget(x, y, w, h, label) {
30 state = F_INPUT_NORMAL;
35 size_t size() { return text_.size(); }
36 const char *value() { return text_.c_str(); }
37 void value(const char *t) { if (t) text_ = t; else text_.clear(); }