mirror of
https://github.com/fltk/fltk.git
synced 2026-05-11 15:07:58 +08:00
#146: Add access to scrollbars widget in Fl_Help_View
- new methods are Fl_Help_View::scrollbar() and Fl_Help_View::hscrollbar(), taking inspiration from Fl_Browser.
This commit is contained in:
@@ -181,6 +181,11 @@ public:
|
||||
|
||||
int scrollbar_size() const;
|
||||
void scrollbar_size(int newSize);
|
||||
/// Return pointer to vertical scrollbar
|
||||
Fl_Scrollbar *scrollbar() { return &scrollbar_; }
|
||||
/// Return pointer to horizontal scrollbar
|
||||
Fl_Scrollbar *hscrollbar() { return &hscrollbar_; }
|
||||
|
||||
};
|
||||
|
||||
#endif // !Fl_Help_View_H
|
||||
|
||||
Reference in New Issue
Block a user