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:
+23
-23
@@ -5,13 +5,13 @@ and covers how to query and set the standard attributes.
|
||||
<H2>Buttons</H2>
|
||||
FLTK provides many types of buttons:
|
||||
<UL>
|
||||
<LI><TT>Fl_Button</TT> - A standard push button. </LI>
|
||||
<LI><TT>Fl_Check_Button</TT> - A button with a check box. </LI>
|
||||
<LI><TT>Fl_Light_Button</TT> - A push button with a light. </LI>
|
||||
<LI><TT>Fl_Repeat_Button</TT> - A push button that repeats when held. </LI>
|
||||
<LI><TT>Fl_Return_Button</TT> - A push button that is activated by the
|
||||
<LI><A HREF="Fl_Button.html"><TT>Fl_Button</TT></A> - A standard push button. </LI>
|
||||
<LI><A HREF="Fl_Check_Button.html"><TT>Fl_Check_Button</TT></A> - A button with a check box. </LI>
|
||||
<LI><A HREF="Fl_Light_Button.html"><TT>Fl_Light_Button</TT></A> - A push button with a light. </LI>
|
||||
<LI><A HREF="Fl_Repeat_Button.html"><TT>Fl_Repeat_Button</TT></A> - A push button that repeats when held. </LI>
|
||||
<LI><A HREF="Fl_Return_Button.html"><TT>Fl_Return_Button</TT></A> - A push button that is activated by the
|
||||
Enter key. </LI>
|
||||
<LI><TT>Fl_Round_Button</TT> - A button with a check circle. </LI>
|
||||
<LI><A HREF="Fl_Round_Button.html"><TT>Fl_Round_Button</TT></A> - A button with a check circle. </LI>
|
||||
</UL>
|
||||
<P ALIGN=CENTER><IMG SRC="buttons.gif">
|
||||
<P>For all of these buttons you just need to include the corresponding <TT>
|
||||
@@ -44,11 +44,11 @@ will also turn off other radio buttons in the same group.
|
||||
<H2>Text</H2>
|
||||
FLTK provides several text widgets for displaying and receiving text:
|
||||
<UL>
|
||||
<LI><TT>Fl_Input</TT> - A standard one-line text input field. </LI>
|
||||
<LI><TT>Fl_Output</TT> - A standard one-line text output field. </LI>
|
||||
<LI><TT>Fl_Multiline_Input</TT> - A standard multi-line text input
|
||||
<LI><A HREF="Fl_Input.html"><TT>Fl_Input</TT></A> - A standard one-line text input field. </LI>
|
||||
<LI><A HREF="Fl_Output.html"><TT>Fl_Output</TT></A> - A standard one-line text output field. </LI>
|
||||
<LI><A HREF="Fl_Multiline_Input.html"><TT>Fl_Multiline_Input</TT></A> - A standard multi-line text input
|
||||
field. </LI>
|
||||
<LI><TT>Fl_Multiline_Output</TT> - A standard multi-line text output
|
||||
<LI><A HREF="Fl_Multiline_Output.html"><TT>Fl_Multiline_Output</TT></A> - A standard multi-line text output
|
||||
field. </LI>
|
||||
</UL>
|
||||
The <TT>Fl_Output</TT> and <TT>Fl_Multiline_Output</TT> widgets allow
|
||||
@@ -67,13 +67,13 @@ input->value("Now is the time for all good men...");
|
||||
Unlike text widgets, valuators keep track of numbers instead of
|
||||
strings. FLTK provides the following valuators:
|
||||
<UL>
|
||||
<LI><TT>Fl_Counter</TT> - A widget with arrow buttons that shows the
|
||||
<LI><A HREF="Fl_Counter.html"><TT>Fl_Counter</TT></A> - A widget with arrow buttons that shows the
|
||||
current value. </LI>
|
||||
<LI><TT>Fl_Dial</TT> - A round knob. </LI>
|
||||
<LI><TT>Fl_Roller</TT> - An SGI-like dolly widget. </LI>
|
||||
<LI><TT>Fl_Scrollbar</TT> - A standard scrollbar widget. </LI>
|
||||
<LI><TT>Fl_Slider</TT> - A scrollbar with a knob. </LI>
|
||||
<LI><TT>Fl_Value_Slider</TT> - A slider that shows the current value. </LI>
|
||||
<LI><A HREF="Fl_Dial.html"><TT>Fl_Dial</TT></A> - A round knob. </LI>
|
||||
<LI><A HREF="Fl_Roller.html"><TT>Fl_Roller</TT></A> - An SGI-like dolly widget. </LI>
|
||||
<LI><A HREF="Fl_Scrollbar.html"><TT>Fl_Scrollbar</TT></A> - A standard scrollbar widget. </LI>
|
||||
<LI><A HREF="Fl_Slider.html"><TT>Fl_Slider</TT></A> - A scrollbar with a knob. </LI>
|
||||
<LI><A HREF="Fl_Value_Slider.html"><TT>Fl_Value_Slider</TT></A> - A slider that shows the current value. </LI>
|
||||
</UL>
|
||||
<P ALIGN=CENTER><IMG SRC="valuators.gif"></P>
|
||||
The <A href=Fl_Valuator.html#Fl_Valuator.value><TT>value()</TT></A>
|
||||
@@ -87,13 +87,13 @@ the widget.
|
||||
used to encapsulate windows, tabs, and scrolled windows. The following
|
||||
group classes are available with FLTK:
|
||||
<UL>
|
||||
<LI><TT>Fl_Double_Window</TT> - A double-buffered window on the screen. </LI>
|
||||
<LI><TT>Fl_Gl_Window</TT> - An OpenGL window on the screen. </LI>
|
||||
<LI><TT>Fl_Group</TT> - The base container class; can be used to group
|
||||
<LI><A HREF="Fl_Double_Window.html"><TT>Fl_Double_Window</TT></A> - A double-buffered window on the screen. </LI>
|
||||
<LI><A HREF="Fl_Gl_Window.html"><TT>Fl_Gl_Window</TT></A> - An OpenGL window on the screen. </LI>
|
||||
<LI><A HREF="Fl_Group.html"><TT>Fl_Group</TT></A> - The base container class; can be used to group
|
||||
any widgets together. </LI>
|
||||
<LI><TT>Fl_Scroll</TT> - A scrolled window area. </LI>
|
||||
<LI><TT>Fl_Tabs</TT> - Displays child widgets as tabs. </LI>
|
||||
<LI><TT>Fl_Window</TT> - A window on the screen. </LI>
|
||||
<LI><A HREF="Fl_Scroll.html"><TT>Fl_Scroll</TT></A> - A scrolled window area. </LI>
|
||||
<LI><A HREF="Fl_Tabs.html"><TT>Fl_Tabs</TT></A> - Displays child widgets as tabs. </LI>
|
||||
<LI><A HREF="Fl_Window.html"><TT>Fl_Window</TT></A> - A window on the screen. </LI>
|
||||
</UL>
|
||||
<H2>Setting the Size and Position of Widgets</H2>
|
||||
The size and position of widgets is usually set when you create them.
|
||||
@@ -229,7 +229,7 @@ raised </LI>
|
||||
<TT>Fl_Bitmap</TT></A> or <A href=drawing.html#Fl_Pixmap><TT>Fl_Pixmap</TT>
|
||||
</A> objects.
|
||||
<H4>Making Your Own Label Types</H4>
|
||||
<i>Warning: this interface may change in future versions of fltk!</i>
|
||||
<i>Warning: this interface is changing in FLTK 2.0!</i>
|
||||
<p>Label types are actually indexes into a table of functions that draw
|
||||
them. The primary purpose of this is to let you reuse the <TT>label()</TT>
|
||||
pointer as a pointer to arbitrary data such as a bitmap or pixmap. You
|
||||
|
||||
Reference in New Issue
Block a user