diff options
| author | Bill Spitzak <spitzak@gmail.com> | 1999-11-16 07:39:59 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 1999-11-16 07:39:59 +0000 |
| commit | 9ce13e4fff5d16d2b838141184739caa08608210 (patch) | |
| tree | a9bfc272f0a5a5185bd644b7aeb86734e50a8bf2 /FL/Fl_Browser.H | |
| parent | d1f909be8a18885ef4a1a96836bf986a37fdc694 (diff) | |
Changes requested by Jeff Meininger
1. Browser responds to FL_KEYBOARD as well as FL_SHORTCUT. If you subclass
it to accept focus then keyboard navigation will work. I could not do his full
patch as it broke the file chooser's tab completion and perhaps other programs.
2. Fl_Tile and Fl_Tabs do their callback when the user changes their display.
3. Made some of the private methods of Fl_Browser protected.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@879 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Browser.H')
| -rw-r--r-- | FL/Fl_Browser.H | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/FL/Fl_Browser.H b/FL/Fl_Browser.H index b5e89fe50..733f3ae4b 100644 --- a/FL/Fl_Browser.H +++ b/FL/Fl_Browser.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Browser.H,v 1.8.2.2 1999/08/20 07:54:36 bill Exp $" +// "$Id: Fl_Browser.H,v 1.8.2.3 1999/11/16 07:39:56 bill Exp $" // // Browser header file for the Fast Light Tool Kit (FLTK). // @@ -36,6 +36,18 @@ struct FL_BLINE; class Fl_Browser : public Fl_Browser_ { + FL_BLINE *first; // the array of lines + FL_BLINE *last; + FL_BLINE *cache; + int cacheline; // line number of cache + int lines; // Number of lines + int full_height_; + const int* column_widths_; + char format_char_; // alternative to @-sign + char column_char_; // alternative to tab + +protected: + // required routines for Fl_Browser_ subclass: FL_EXPORT void* item_first() const ; FL_EXPORT void* item_next(void*) const ; @@ -48,15 +60,6 @@ class Fl_Browser : public Fl_Browser_ { FL_EXPORT int full_height() const ; FL_EXPORT int incr_height() const ; - FL_BLINE *first; // the array of lines - FL_BLINE *last; - FL_BLINE *cache; - int cacheline; // line number of cache - int lines; // Number of lines - int full_height_; - const int* column_widths_; - char format_char_; // alternative to @-sign - char column_char_; // alternative to tab FL_EXPORT FL_BLINE* find_line(int) const ; FL_EXPORT FL_BLINE* _remove(int) ; FL_EXPORT void insert(int, FL_BLINE*); @@ -115,5 +118,5 @@ public: #endif // -// End of "$Id: Fl_Browser.H,v 1.8.2.2 1999/08/20 07:54:36 bill Exp $". +// End of "$Id: Fl_Browser.H,v 1.8.2.3 1999/11/16 07:39:56 bill Exp $". // |
