summaryrefslogtreecommitdiff
path: root/FL/Fl_Browser.H
diff options
context:
space:
mode:
authorCarl E. Thompson <devel-fltk@carlthompson.net>1999-01-30 00:39:28 +0000
committerCarl E. Thompson <devel-fltk@carlthompson.net>1999-01-30 00:39:28 +0000
commit620d03ee7d51a9f9c6c53bce7d0b3636498702af (patch)
treeacdc7f2e9adcec578fbc313d9df4a352399fa2e2 /FL/Fl_Browser.H
parent03ad382705373405fc213c97a8282516f855730b (diff)
Adds Fl_Browser::middleline(int) and Fl_Browser::bottomline(int).
git-svn-id: file:///fltk/svn/fltk/trunk@257 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Browser.H')
-rw-r--r--FL/Fl_Browser.H11
1 files changed, 8 insertions, 3 deletions
diff --git a/FL/Fl_Browser.H b/FL/Fl_Browser.H
index 27ea6a84e..69156991c 100644
--- a/FL/Fl_Browser.H
+++ b/FL/Fl_Browser.H
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Browser.H,v 1.6 1999/01/07 19:16:51 mike Exp $"
+// "$Id: Fl_Browser.H,v 1.7 1999/01/30 00:39:26 carl Exp $"
//
// Browser header file for the Fast Light Tool Kit (FLTK).
//
@@ -72,8 +72,13 @@ public:
void clear();
int size() const {return lines;}
+
int topline() const ;
- void topline(int);
+ enum Fl_Line_Position { TOP, BOTTOM, MIDDLE };
+ void lineposition(int, Fl_Line_Position);
+ void topline(int l) { lineposition(l, TOP); }
+ void bottomline(int l) { lineposition(l, BOTTOM); }
+ void middleline(int l) { lineposition(l, MIDDLE); }
int select(int, int=1);
int selected(int) const ;
@@ -108,5 +113,5 @@ public:
#endif
//
-// End of "$Id: Fl_Browser.H,v 1.6 1999/01/07 19:16:51 mike Exp $".
+// End of "$Id: Fl_Browser.H,v 1.7 1999/01/30 00:39:26 carl Exp $".
//