diff options
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/Fl_Input_Choice.html | 100 | ||||
| -rw-r--r-- | documentation/fltk.book | 3 | ||||
| -rw-r--r-- | documentation/index.html | 6 | ||||
| -rw-r--r-- | documentation/input_choice.jpg | bin | 0 -> 5320 bytes | |||
| -rw-r--r-- | documentation/preface.html | 4 | ||||
| -rw-r--r-- | documentation/widgets.html | 2 |
6 files changed, 109 insertions, 6 deletions
diff --git a/documentation/Fl_Input_Choice.html b/documentation/Fl_Input_Choice.html new file mode 100644 index 000000000..b941e3447 --- /dev/null +++ b/documentation/Fl_Input_Choice.html @@ -0,0 +1,100 @@ +<HTML> +<BODY> + +<!-- NEW PAGE --> + +<H2><A name=Fl_Input_Choice>class Fl_Input_Choice</A></H2> + +<HR> + +<H3>Class Hierarchy</H3> + +<UL><PRE> +<A href=Fl_Group.html#Fl_Group>Fl_Group</A> + | + +----<B>Fl_Input_Choice</B> + | + +----<A href=Fl_Input.html#Fl_Input>Fl_Input</A> + <A href=Fl_Menu_Button.html#Fl_Menu_Button>Fl_Menu_Button</A> +</PRE></UL> + +<H3>Include Files</H3> + +<UL><PRE> +#include <FL/Fl_Input_Choice.H> +</PRE></UL> + +<P align='center'> +<IMG SRC='input_choice.jpg'><BR> +<I>Plastic and normal Fl::scheme()s.</I> +</P> + +<H3>Description</H3> +<P>A combination of the input widget and a menu button. +The user can either type into the input area, or use the +menu button chooser on the right, which loads the input area +with predefined text. Normally it is drawn with an inset box +and a white background. +<P> +The application can directly access both the input and menu +widgets directly, using the <A HREF=#Fl_Input_Choice.menubutton>menubutton()</A> +and <A HREF=#Fl_Input_Choice.input>input()</A> accessor methods. + +<H3>Methods</H3> +<CENTER> +<TABLE width=90% summary="Fl_Input_Choice methods."><TR><TD align=left valign=top> +<UL TYPE=DISC> + <LI><A href='#Fl_Input_Choice.Fl_Input_Choice'>Fl_Input_Choice</A></LI> + <LI><A href='#Fl_Input_Choice.~Fl_Input_Choice'>~Fl_Input_Choice</A></LI> + <LI><A href='#Fl_Input_Choice.add'>add</A></LI> + <LI><A href='#Fl_Input_Choice.clear'>clear</A></LI> + <LI><A href='#Fl_Input_Choice.input'>input</A></LI> + <LI><A href='#Fl_Input_Choice.menu'>menu</A></LI> + <LI><A href='#Fl_Input_Choice.menubutton'>menubutton</A></LI> + <LI><A href='#Fl_Input_Choice.value'>value</A></LI> +</TD></TR></TABLE> +</CENTER> + +<H4><A name="Fl_Input_Choice.Fl_Input_Choice">Fl_Input_Choice::Fl_Input_Choice(int x, int y, int w, +int h, const char *label = 0)</A></H4> + +<P>Creates a new <TT>Fl_Input_Choice</TT> widget using the given position, size, +and label string. + +<H4><A name="Fl_Input_Choice.~Fl_Input_Choice">virtual Fl_Input_Choice::~Fl_Input_Choice()</A></H4> + +<P>Destroys the widget and any value associated with it. + +<h4><a name='#Fl_Input_Choice.add'>void Fl_Input_Choice::add(const char *s)</a></h4> + +<p>Adds an item to the menu.</p> + +<h4><a name='#Fl_Input_Choice.clear'>void Fl_Input_Choice::clear()</a></h4> + +<p>Removes all items from the menu.</p> + +<H4><A name="Fl_Input_Choice.input">Fl_Input *Fl_Input_Choice::input()</A></H4> + +<p>Returns a reference to the internal <tt>Fl_Input</tt> widget.</p> + +<h4><a name='#Fl_Input_Choice.menu'>void Fl_Input_Choice::menu(const Fl_Menu_Item *m)<br> +const Fl_Menu_Item *menu()</A></h4> + +<p>Gets or sets the <tt>Fl_Menu_Item</tt> array used for the menu.</p> + +<H4><A name="Fl_Input_Choice.menubutton">Fl_Menu_Button *Fl_Input_Choice::menubutton()</A></H4> + +<P>Returns a reference to the internal <tt>Fl_Menu_Button</tt> widget. + +<H4><A name="Fl_Input_Choice.value">void Fl_Input_Choice::value(const char *s)<br> +void Fl_Input_Choice::value(int v)<br> +const char *Fl_Input_Choice::value() const</A></H4> + +<P>Sets or returns the input widget's current contents. The +second form sets the contents using the index into the menu +which you can set as an integer. Setting the value effectively +'chooses' this menu item, and sets it as the new input text, +deleting the previous text.</p> + +</BODY> +</HTML> diff --git a/documentation/fltk.book b/documentation/fltk.book index 50915a6b9..2dd70f748 100644 --- a/documentation/fltk.book +++ b/documentation/fltk.book @@ -1,5 +1,5 @@ #HTMLDOC 1.8.20 --t pdf13 -f fltk.pdf --book --toclevels 2 --no-numbered --toctitle "Table of Contents" --title --titleimage FL.gif --linkstyle underline --size Universal --left 1.00in --right 0.50in --top 0.50in --bottom 0.50in --header .t. --footer h.1 --tocheader .t. --tocfooter ..i --duplex --portrait --color --no-pscommands --no-xrxcomments --compression=9 --jpeg=50 --fontsize 11.0 --fontspacing 1.2 --headingfont Helvetica --bodyfont Times --headfootsize 11.0 --headfootfont Helvetica --charset 8859-1 --links --no-truetype --pagemode outline --pagelayout single --firstpage c1 --pageeffect none --pageduration 10 --effectduration 1.0 --no-encryption --permissions all --owner-password "" --user-password "" --browserwidth 680 +-t pdf13 -f fltk.pdf --book --toclevels 2 --no-numbered --toctitle "Table of Contents" --title --titleimage FL.gif --linkstyle underline --size Universal --left 1.00in --right 0.50in --top 0.50in --bottom 0.50in --header .t. --footer h.1 --tocheader .t. --tocfooter ..i --duplex --portrait --color --no-pscommands --no-xrxcomments --compression=9 --jpeg=50 --no-embedfonts --fontsize 11.0 --fontspacing 1.2 --headingfont Helvetica --bodyfont Times --headfootsize 11.0 --headfootfont Helvetica --charset 8859-1 --links --no-truetype --pagemode outline --pagelayout single --firstpage c1 --pageeffect none --pageduration 10 --effectduration 1.0 --no-encryption --permissions all --owner-password "" --user-password "" --browserwidth 680 preface.html intro.html basics.html @@ -44,6 +44,7 @@ Fl_Hold_Browser.html Fl_Image.html Fl_Input.html Fl_Input_.html +Fl_Input_Choice.html Fl_Int_Input.html Fl_JPEG_Image.html Fl_Light_Button.html diff --git a/documentation/index.html b/documentation/index.html index 2853526ba..489623036 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -1,7 +1,7 @@ <HTML> <HEAD> <META NAME="robots" CONTENT="noindex"> - <TITLE>FLTK 1.1.6 Programming Manual</TITLE> + <TITLE>FLTK 1.1.7 Programming Manual</TITLE> </HEAD> <BODY> @@ -10,8 +10,8 @@ <TD VALIGN="MIDDLE"> <IMG SRC="FL.gif" WIDTH="200" HEIGHT="100" ALIGN="ABSMIDDLE" ALT="FL"></TD> <TD ALIGN="CENTER" VALIGN="MIDDLE"> - <H1>FLTK 1.1.6 Programming Manual</H1> - <P>Revision 6 by Michael Sweet, Craig P. Earls, and Bill Spitzak<BR> + <H1>FLTK 1.1.7 Programming Manual</H1> + <P>Revision 7 by Michael Sweet, Craig P. Earls, and Bill Spitzak<BR> Copyright 1998-2004 by Bill Spitzak and others.</P> </TD> </TR> diff --git a/documentation/input_choice.jpg b/documentation/input_choice.jpg Binary files differnew file mode 100644 index 000000000..7f7b93f85 --- /dev/null +++ b/documentation/input_choice.jpg diff --git a/documentation/preface.html b/documentation/preface.html index a53e8899d..42ec42b52 100644 --- a/documentation/preface.html +++ b/documentation/preface.html @@ -3,14 +3,14 @@ <META CONTENT="Written by Michael Sweet, Craig P. Earls, and Bill Spitzak" NAME="Author"> <META CONTENT="Copyright 1998-2004 by Bill Spitzak and Others." NAME="Copyright"> <META CONTENT="Revision 6" NAME="DocNumber"> - <TITLE>FLTK 1.1.6 Programming Manual</TITLE> + <TITLE>FLTK 1.1.7 Programming Manual</TITLE> </HEAD> <BODY> <H1 ALIGN="RIGHT"><A NAME="preface">Preface</A></H1> <P>This manual describes the Fast Light Tool Kit ("FLTK") -version 1.1.6, a C++ Graphical User Interface +version 1.1.7, a C++ Graphical User Interface ("GUI") toolkit for UNIX, Microsoft Windows and MacOS. Each of the chapters in this manual is designed as a tutorial for using FLTK, while the appendices provide a convenient reference diff --git a/documentation/widgets.html b/documentation/widgets.html index d0c1967e4..d101330c6 100644 --- a/documentation/widgets.html +++ b/documentation/widgets.html @@ -45,6 +45,7 @@ description of the <TT>fl_</TT> functions, see <A HREF="Fl_Image.html">Fl_Image</A><BR> <A HREF="Fl_Input_.html">Fl_Input_</A><BR> <A HREF="Fl_Input.html">Fl_Input</A><BR> +<A HREF="Fl_Input_Choice.html">Fl_Input_Choice</A><BR> <A HREF="Fl_Int_Input.html">Fl_Int_Input</A><BR> <A HREF="Fl_JPEG_Image.html">Fl_JPEG_Image</A><BR> <A HREF="Fl_Light_Button.html">Fl_Light_Button</A><BR> @@ -161,6 +162,7 @@ description of the <TT>fl_</TT> functions, see <LI><A HREF="Fl_File_Chooser.html#Fl_File_Chooser">Fl_File_Chooser</A> <LI><A HREF="Fl_Help_Dialog.html#Fl_Help_Dialog">Fl_Help_Dialog</A> <LI><A HREF="Fl_Help_View.html#Fl_Help_View">Fl_Help_View</A> + <LI><A HREF="Fl_Input_Choice.html">Fl_Input_Choice</A> <LI><A HREF="Fl_Pack.html#Fl_Pack">Fl_Pack</A> <LI><A HREF="Fl_Scroll.html#Fl_Scroll">Fl_Scroll</A> <LI><A HREF="Fl_Tabs.html#Fl_Tabs">Fl_Tabs</A> |
