#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:
parent
2b815a0335
commit
d3dca07339
@ -181,6 +181,11 @@ public:
|
|||||||
|
|
||||||
int scrollbar_size() const;
|
int scrollbar_size() const;
|
||||||
void scrollbar_size(int newSize);
|
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
|
#endif // !Fl_Help_View_H
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user