diff options
| author | Matthias Melcher <github@matthiasm.com> | 2025-07-08 14:35:45 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2025-07-08 14:36:24 +0200 |
| commit | d3dca073394196ae52f3cb8b42fde86f50c81ce5 (patch) | |
| tree | 1b40591c2552c11df3ec986debf4ef1e7338131b /FL | |
| parent | 2b815a0335829a68c6a28864ae9cf129b3bbf24e (diff) | |
#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.
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Help_View.H | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/FL/Fl_Help_View.H b/FL/Fl_Help_View.H index ad5ba9f72..f671c11db 100644 --- a/FL/Fl_Help_View.H +++ b/FL/Fl_Help_View.H @@ -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 |
