mirror of
https://github.com/fltk/fltk.git
synced 2026-06-07 00:55:23 +08:00
Typos reported by Alexander Mai
Fl_Browser_ docos finished. Added Fl_Group::init_sizes() description. Added links for common widgets in chapter 3 (?) Fixed formatting problems in subclassing and FLUID chapters. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1100 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -4,13 +4,14 @@
|
||||
methods. For a description of the FLTK widgets, see <A href=widgets.html#widgets>
|
||||
Appendix A</A>.
|
||||
<H2>Functions</H2>
|
||||
<H3><A name=fl_color_chooser>int fl_color_chooser(const char*, double
|
||||
<H3><A name="fl_color_chooser_func">int fl_color_chooser(const char *title, double
|
||||
&r, double &g, double &b)
|
||||
<BR> int fl_color_chooser(const char *, uchar &r, uchar &g, uchar &b)</A>
|
||||
<BR> int fl_color_chooser(const char *title, uchar &r, uchar &g, uchar &b)</A>
|
||||
</H3>
|
||||
The double version takes RGB values in the range 0.0 to 1.0. The
|
||||
uchar version takes RGB values in the range 0 to 255.
|
||||
<P ALIGN=CENTER><IMG src=./fl_color_chooser.jpg></P>
|
||||
The double version takes RGB values in the range 0.0 to 1.0. The
|
||||
uchar version takes RGB values in the range 0 to 255. The <TT>title</TT>
|
||||
argument specifies the label (title) for the window.
|
||||
<P ALIGN=CENTER><IMG src="fl_color_chooser.jpg"></P>
|
||||
<P><TT>fl_color_chooser()</TT> pops up a window to let the user pick an
|
||||
arbitrary RGB color. They can pick the hue and saturation in the "hue
|
||||
box" on the left (hold down CTRL to just change the saturation), and
|
||||
|
||||
Reference in New Issue
Block a user