27 #define FL_NORMAL_INPUT 0 28 #define FL_FLOAT_INPUT 1 29 #define FL_INT_INPUT 2 30 #define FL_HIDDEN_INPUT 3 31 #define FL_MULTILINE_INPUT 4 32 #define FL_SECRET_INPUT 5 33 #define FL_INPUT_TYPE 7 34 #define FL_INPUT_READONLY 8 35 #define FL_NORMAL_OUTPUT (FL_NORMAL_INPUT | FL_INPUT_READONLY) 36 #define FL_MULTILINE_OUTPUT (FL_MULTILINE_INPUT | FL_INPUT_READONLY) 37 #define FL_INPUT_WRAP 16 38 #define FL_MULTILINE_INPUT_WRAP (FL_MULTILINE_INPUT | FL_INPUT_WRAP) 39 #define FL_MULTILINE_OUTPUT_WRAP (FL_MULTILINE_INPUT | FL_INPUT_READONLY | FL_INPUT_WRAP) 120 int xscroll_, yscroll_;
133 uchar erase_cursor_only;
148 static double up_down_pos;
151 static int was_up_down;
154 const char* expand(
const char*,
char*)
const;
157 double expandpos(
const char*,
const char*,
const char*,
int*)
const;
160 void minimal_update(
int,
int);
163 void minimal_update(
int p);
166 void put_in_buffer(
int newsize);
169 void setfont()
const;
174 int word_start(
int i)
const;
177 int word_end(
int i)
const;
180 int line_start(
int i)
const;
183 int line_end(
int i)
const;
186 void drawtext(
int,
int,
int,
int);
189 int up_down_position(
int,
int keepmark=0);
192 void handle_mouse(
int,
int,
int,
int,
int keepmark=0);
195 int handletext(
int e,
int,
int,
int,
int);
198 void maybe_do_callback();
201 int xscroll()
const {
return xscroll_;}
204 int yscroll()
const {
return yscroll_;}
213 void resize(
int,
int,
int,
int);
216 Fl_Input_(
int,
int,
int,
int,
const char* = 0);
222 int value(
const char*);
225 int value(
const char*,
int);
228 int static_value(
const char*);
231 int static_value(
const char*,
int);
243 const char*
value()
const {
return value_;}
256 int size()
const {
return size_;}
286 int mark()
const {
return mark_;}
307 int replace(
int b,
int e,
const char *text,
int ilen=0);
346 int cut(
int a,
int b) {
return replace(a, b, 0);}
359 int insert(
const char* t,
int l=0){
return replace(position_, mark_, t, l);}
362 int append(
const char* t,
int l=0,
char keep_selection=0);
365 int copy(
int clipboard);
446 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:56
int Fl_Fontsize
Size of a font in pixels.
Definition: Enumerations.H:1014
unsigned int Fl_Color
An FLTK color value; see also Colors.
Definition: Enumerations.H:1042
int Fl_Font
A font number is an index into the internal font table.
Definition: Enumerations.H:985
The window was exposed.
Definition: Enumerations.H:1215
unsigned char uchar
unsigned char
Definition: fl_types.h:28