diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2008-12-26 21:20:38 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2008-12-26 21:20:38 +0000 |
| commit | fad309329b0ad830f3e423eaa5844e61d75e9210 (patch) | |
| tree | 4e77f876791f203cfe93f262e41994e1ae192e51 /FL/Fl_Browser.H | |
| parent | 459cd78a947693d7fb99bf6ed0f497f2ae5cc1a5 (diff) | |
STR #2113: added sorting and a few other functions to Fl_Browser_.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6600 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Browser.H')
| -rw-r--r-- | FL/Fl_Browser.H | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/FL/Fl_Browser.H b/FL/Fl_Browser.H index e0fa132c2..428bd20d2 100644 --- a/FL/Fl_Browser.H +++ b/FL/Fl_Browser.H @@ -86,6 +86,7 @@ protected: void* item_first() const ; void* item_next(void*) const ; void* item_prev(void*) const ; + void* item_last()const ; int item_selected(void*) const ; void item_select(void*, int); int item_height(void*) const ; @@ -93,6 +94,9 @@ protected: void item_draw(void*, int, int, int, int) const ; int full_height() const ; int incr_height() const ; + const char *item_text(void *item) const; + void item_swap(void *a, void *b) { swap((FL_BLINE*)a, (FL_BLINE*)b); } + void *item_at(int ix) const { return (void*)find_line(ix); } FL_BLINE* find_line(int) const ; FL_BLINE* _remove(int) ; |
