diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2006-11-16 23:17:13 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2006-11-16 23:17:13 +0000 |
| commit | 8ea3a457720b702acbdc5c5ea1c5001e525c99c1 (patch) | |
| tree | 967a1f13a2c3a9d7ab3d2efab47cf223e35a7c74 /documentation | |
| parent | 839ac664018d15b64a99a0acdd6abaa322b737f4 (diff) | |
Merge all of the scrollbar sizes into a single API call
(Fl::scrollbar_size()) rather than a bunch of separate APIs and
hardcoded values (STR #1800)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5547 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/Fl.html | 10 | ||||
| -rw-r--r-- | documentation/widgets.html | 3 |
2 files changed, 12 insertions, 1 deletions
diff --git a/documentation/Fl.html b/documentation/Fl.html index 69c19af61..8cd78507a 100644 --- a/documentation/Fl.html +++ b/documentation/Fl.html @@ -121,6 +121,7 @@ state information and global methods for the current application.</P> <LI><A HREF="#Fl.scheme">scheme</A></LI> <LI><A HREF="#Fl.screen_count">screen_count</A></LI> <LI><A HREF="#Fl.screen_xywh">screen_xywh</A></LI> + <LI><A HREF="#Fl.scrollbar_size">scrollbar_size</A></LI> <LI><A HREF="#Fl.selection">selection</A></LI> <LI><A HREF="#Fl.selection_owner">selection_owner</A></LI> <LI><A HREF="#Fl.set_abort">set_abort</A></LI> @@ -1128,6 +1129,15 @@ specified coordinates. The last form gets the bounding box for the numbered screen, where <tt>n</tt> is a number from 0 to the number of screens less 1.</P> +<H4><A NAME="Fl.scrollbar_size">void scrollbar_size(int W);<BR> +int scrollbar_size();</A></H4> + +<P>Sets or gets the default scrollbar size that is used by the +<A HREF="Fl_Browser_.html#Fl_Browser_"><TT>Fl_Browser_</TT></A>, +<A HREF="Fl_Help_View.html#Fl_Help_View"><TT>Fl_Help_View</TT></A>, +<A HREF="Fl_Scroll.html#Fl_Scroll"><TT>Fl_Scroll</TT></A>, and +<A HREF="Fl_Text_Display.html#Fl_Text_Display"><TT>Fl_Text_Display</TT></A> widgets.</P> + <H4><A NAME="Fl.selection">void selection(Fl_Widget &owner, const char* stuff, int len);</A></H4> <P>Changes the current selection. The block of text is diff --git a/documentation/widgets.html b/documentation/widgets.html index c5fc41b33..2778a65bb 100644 --- a/documentation/widgets.html +++ b/documentation/widgets.html @@ -681,7 +681,8 @@ For a description of the <TT>fl_</TT> functions, see <LI>scrollbar_align: <A HREF="Fl_Text_Display.html#Fl_Text_Display.scrollbar_align">Fl_Text_Display</A></LI> <LI>scrollbar_left: <A href="Fl_Browser_.html#Fl_Browser_.scrollbar_left">Fl_Browser_</A></LI> <LI>scrollbar_right: <A href="Fl_Browser_.html#Fl_Browser_.scrollbar_right">Fl_Browser_</A></LI> -<LI>scrollbar_width: <A HREF="Fl_Text_Display.html#Fl_Text_Display.scrollbar_width">Fl_Text_Display</A></LI> +<LI>scrollbar_size: <A HREF="Fl.html#Fl.scrollbar_size">Fl</A></LI> +<LI>scrollbar_width: <A HREF="Fl_Browser_.html#Fl_Browser_.scrollbar_width">Fl_Browser_</A>, <A HREF="Fl_Text_Display.html#Fl_Text_Display.scrollbar_width">Fl_Text_Display</A></LI> <LI>scrollvalue: <A href=Fl_Slider.html#Fl_Slider.scrollvalue>Fl_Slider</A></LI> <LI>search_backward: <A HREF="Fl_Text_Buffer.html#Fl_Text_Buffer.search_backward">Fl_Text_Buffer</A></LI> <LI>search_forward: <A HREF="Fl_Text_Buffer.html#Fl_Text_Buffer.search_forward">Fl_Text_Buffer</A></LI> |
