Github #237: scrollbar.align documentation.

This commit is contained in:
Matthias Melcher
2021-12-17 20:06:25 +01:00
committed by GitHub
parent 6d9df0763f
commit bd7011a1d3
+12
View File
@@ -205,6 +205,18 @@ public:
/**
Vertical scrollbar. Public, so that it can be accessed directly.
Use `scrollbar_left()` or `scrollbar_right()` to change what side
the vertical scrollbar is drawn on.
Use `scrollbar.align(int)` (see `Fl_Widget::align(Fl_Align)`)
to change what side either of the scrollbars is drawn on.
If the `FL_ALIGN_LEFT` bit is on, the vertical scrollbar is on
the left. If the `FL_ALIGN_TOP` bit is on, the horizontal
scrollbar is on the top. Note that only the alignment flags in
scrollbar are considered. The flags in hscrollbar however
are ignored.
*/
Fl_Scrollbar scrollbar;
/**