Adds Fl_Browser::middleline(int) and Fl_Browser::bottomline(int).

git-svn-id: file:///fltk/svn/fltk/trunk@257 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Carl E. Thompson
1999-01-30 00:39:28 +00:00
parent 03ad382705
commit 620d03ee7d
2 changed files with 23 additions and 7 deletions
+8 -3
View File
@@ -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 $".
//