mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 23:42:15 +08:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user