5 #include "wellobject.h"
6 #include "wellimagefont.h"
8 class WellInput
: public WellObject
11 ObjectCaller object_on_enter
;
13 int buflen
,pos
,maxlen
;
16 virtual void draw_text();
19 WellInput(char* keyname
);
20 void set_object_on_enter(ObjectCaller o
) { object_on_enter
=o
;};
21 virtual bool process_event(wEvent
);
24 virtual void redraw();
25 void set_text(char* txt
);
26 void set_max_len(int ml
) { maxlen
=ml
;};
27 virtual char* get_text() { return buf
;};