"Fossies" - the Fresh Open Source Software Archive

Member "fltk-1.3.3/documentation/html/Fl__Input_8H_source.html" (3 Nov 2014, 15370 Bytes) of package /linux/misc/fltk-1.3.3-docs-html.tar.gz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. Alternatively you can here view or download the uninterpreted raw source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

FLTK 1.3.3
Fl_Input.H
1 //
2 // "$Id: Fl_Input.H 8864 2011-07-19 04:49:30Z greg.ercolano $"
3 //
4 // Input header file for the Fast Light Tool Kit (FLTK).
5 //
6 // Copyright 1998-2010 by Bill Spitzak and others.
7 //
8 // This library is free software. Distribution and use rights are outlined in
9 // the file "COPYING" which should have been included with this file. If this
10 // file is missing or damaged, see the license at:
11 //
12 // http://www.fltk.org/COPYING.php
13 //
14 // Please report all bugs and problems on the following page:
15 //
16 // http://www.fltk.org/str.php
17 //
18 
19 /* \file
20  Fl_Input widget . */
21 
22 #ifndef Fl_Input_H
23 #define Fl_Input_H
24 
25 #include "Fl_Input_.H"
26 
221 class FL_EXPORT Fl_Input : public Fl_Input_ {
222  int handle_key();
223  int shift_position(int p);
224  int shift_up_down_position(int p);
225  void handle_mouse(int keepmark=0);
226 
227  // Private keyboard functions
228  int kf_lines_up(int repeat_num);
229  int kf_lines_down(int repeat_num);
230  int kf_page_up();
231  int kf_page_down();
232  int kf_insert_toggle();
233  int kf_delete_word_right();
234  int kf_delete_word_left();
235  int kf_delete_sol();
236  int kf_delete_eol();
237  int kf_delete_char_right();
238  int kf_delete_char_left();
239  int kf_move_sol();
240  int kf_move_eol();
241  int kf_clear_eol();
242  int kf_move_char_left();
243  int kf_move_char_right();
244  int kf_move_word_left();
245  int kf_move_word_right();
246  int kf_move_up_and_sol();
247  int kf_move_down_and_eol();
248  int kf_top();
249  int kf_bottom();
250  int kf_select_all();
251  int kf_undo();
252  int kf_redo();
253  int kf_copy();
254  int kf_paste();
255  int kf_copy_cut();
256 
257 protected:
258  void draw();
259 public:
260  int handle(int);
261  Fl_Input(int,int,int,int,const char * = 0);
262 };
263 
264 #endif
265 
266 //
267 // End of "$Id: Fl_Input.H 8864 2011-07-19 04:49:30Z greg.ercolano $".
268 //
virtual int handle(int event)
Handles the specified event.
Definition: Fl_Widget.cxx:97
virtual void draw()=0
Draws the widget.
This is the FLTK text input widget.
Definition: Fl_Input.H:221
void handle_mouse(int, int, int, int, int keepmark=0)
Handles mouse clicks and mouse moves.
Definition: Fl_Input_.cxx:542
This class provides a low-overhead text input field.
Definition: Fl_Input_.H:94