38 #define FL_NORMAL_INPUT 0
39 #define FL_FLOAT_INPUT 1
40 #define FL_INT_INPUT 2
41 #define FL_HIDDEN_INPUT 3
42 #define FL_MULTILINE_INPUT 4
43 #define FL_SECRET_INPUT 5
44 #define FL_INPUT_TYPE 7
45 #define FL_INPUT_READONLY 8
46 #define FL_NORMAL_OUTPUT (FL_NORMAL_INPUT | FL_INPUT_READONLY)
47 #define FL_MULTILINE_OUTPUT (FL_MULTILINE_INPUT | FL_INPUT_READONLY)
48 #define FL_INPUT_WRAP 16
49 #define FL_MULTILINE_INPUT_WRAP (FL_MULTILINE_INPUT | FL_INPUT_WRAP)
50 #define FL_MULTILINE_OUTPUT_WRAP (FL_MULTILINE_INPUT | FL_INPUT_READONLY | FL_INPUT_WRAP)
129 int xscroll_, yscroll_;
142 uchar erase_cursor_only;
157 static double up_down_pos;
160 static int was_up_down;
163 const char* expand(
const char*,
char*)
const;
166 double expandpos(
const char*,
const char*,
const char*,
int*)
const;
169 void minimal_update(
int,
int);
172 void minimal_update(
int p);
175 void put_in_buffer(
int newsize);
178 void setfont()
const;
183 int word_start(
int i)
const;
186 int word_end(
int i)
const;
189 int line_start(
int i)
const;
192 int line_end(
int i)
const;
195 void drawtext(
int,
int,
int,
int);
198 int up_down_position(
int,
int keepmark=0);
201 void handle_mouse(
int,
int,
int,
int,
int keepmark=0);
204 int handletext(
int e,
int,
int,
int,
int);
207 void maybe_do_callback();
210 int xscroll()
const {
return xscroll_;}
213 int yscroll()
const {
return yscroll_;}
222 void resize(
int,
int,
int,
int);
225 Fl_Input_(
int,
int,
int,
int,
const char* = 0);
231 int value(
const char*);
234 int value(
const char*,
int);
237 int static_value(
const char*);
240 int static_value(
const char*,
int);
252 const char*
value()
const {
return value_;}
265 int size()
const {
return size_;}
288 int mark()
const {
return mark_;}
309 int replace(
int,
int,
const char*,
int=0);
348 int cut(
int a,
int b) {
return replace(a, b, 0);}
361 int insert(
const char* t,
int l=0){
return replace(position_, mark_, t, l);}
364 int copy(
int clipboard);
445 int wrap()
const {
return type() & FL_INPUT_WRAP; }
unsigned int Fl_Char
24-bit Unicode character - upper 8-bits are unused
Definition: fl_types.h:58
int Fl_Fontsize
Size of a font in pixels.
Definition: Enumerations.H:741
unsigned int Fl_Color
an FLTK color value
Definition: Enumerations.H:769
int Fl_Font
A font number is an index into the internal font table.
Definition: Enumerations.H:712
The window was exposed.
Definition: Enumerations.H:939
unsigned char uchar
unsigned char
Definition: fl_types.h:39