29#define FL_NORMAL_INPUT 0
30#define FL_FLOAT_INPUT 1
32#define FL_HIDDEN_INPUT 3
33#define FL_MULTILINE_INPUT 4
34#define FL_SECRET_INPUT 5
35#define FL_INPUT_TYPE 7
36#define FL_INPUT_READONLY 8
37#define FL_NORMAL_OUTPUT (FL_NORMAL_INPUT | FL_INPUT_READONLY)
38#define FL_MULTILINE_OUTPUT (FL_MULTILINE_INPUT | FL_INPUT_READONLY)
39#define FL_INPUT_WRAP 16
40#define FL_MULTILINE_INPUT_WRAP (FL_MULTILINE_INPUT | FL_INPUT_WRAP)
41#define FL_MULTILINE_OUTPUT_WRAP (FL_MULTILINE_INPUT | FL_INPUT_READONLY | FL_INPUT_WRAP)
121 int xscroll_, yscroll_;
134 uchar erase_cursor_only;
149 static double up_down_pos;
152 static int was_up_down;
155 const char* expand(
const char*,
char*)
const;
158 double expandpos(
const char*,
const char*,
const char*,
int*)
const;
161 void minimal_update(
int,
int);
164 void minimal_update(
int p);
167 void put_in_buffer(
int newsize);
170 void setfont()
const;
175 int word_start(
int i)
const;
178 int word_end(
int i)
const;
181 int line_start(
int i)
const;
184 int line_end(
int i)
const;
187 void drawtext(
int,
int,
int,
int);
190 int up_down_position(
int,
int keepmark=0);
193 void handle_mouse(
int,
int,
int,
int,
int keepmark=0);
196 int handletext(
int e,
int,
int,
int,
int);
199 void maybe_do_callback();
202 int xscroll()
const {
return xscroll_;}
205 int yscroll()
const {
return yscroll_;}
214 void resize(
int,
int,
int,
int);
217 Fl_Input_(
int,
int,
int,
int,
const char* = 0);
223 int value(
const char*);
226 int value(
const char*,
int);
229 int static_value(
const char*);
232 int static_value(
const char*,
int);
244 const char*
value()
const {
return value_;}
257 int size()
const {
return size_;}
287 int mark()
const {
return mark_;}
308 int replace(
int b,
int e,
const char *text,
int ilen=0);
347 int cut(
int a,
int b) {
return replace(a, b, 0);}
360 int insert(
const char* t,
int l=0){
return replace(position_, mark_, t, l);}
363 int copy(
int clipboard);
444 int wrap()
const {
return type() & FL_INPUT_WRAP; }
int Fl_Font
A font number is an index into the internal font table.
Definition: Enumerations.H:875
unsigned int Fl_Color
An FLTK color value; see also Colors
Definition: Enumerations.H:932
@ FL_DAMAGE_EXPOSE
The window was exposed.
Definition: Enumerations.H:1105
int Fl_Fontsize
Size of a font in pixels.
Definition: Enumerations.H:904
unsigned int Fl_Char
24-bit Unicode character - upper 8 bits are unused
Definition: fl_types.h:49
unsigned char uchar
unsigned char
Definition: fl_types.h:30