diff options
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/Fl_Check_Browser.html | 95 | ||||
| -rw-r--r-- | documentation/index.html | 11 | ||||
| -rw-r--r-- | documentation/preface.html | 10 | ||||
| -rw-r--r-- | documentation/widgets.html | 2 |
4 files changed, 110 insertions, 8 deletions
diff --git a/documentation/Fl_Check_Browser.html b/documentation/Fl_Check_Browser.html new file mode 100644 index 000000000..022600bbc --- /dev/null +++ b/documentation/Fl_Check_Browser.html @@ -0,0 +1,95 @@ +<HTML><BODY> +<!-- NEW PAGE --> +<H2><A name=Fl_Check_Browser>class Fl_Check_Browser</A></H2> +<HR> +<H3>Class Hierarchy</H3> +<UL> +<PRE> +<A href=Fl_Browser_.html#Fl_Browser_>Fl_Browser_</A> + | + +----<B>Fl_Check_Browser</B> +</PRE> +</UL> +<H3>Include Files</H3> +<UL> +<PRE> +#include <FL/Fl_Check_Browser.H> +</PRE> +</UL> +<H3>Description</H3> + +The <TT>Fl_Check_Browser</TT> widget displays a scrolling list of text +lines that may be selected and/or checked by the user. + +<H3>Methods</H3> +<CENTER> +<TABLE width=90% summary="Fl_Check_Browser methods"> +<TR><TD align=left valign=top> +<UL> +<LI><A href=#Fl_Check_Browser.Fl_Check_Browser>Fl_Check_Browser</A></LI> +<!-- <LI><A href=#Fl_Check_Browser.~Fl_Check_Browser>~Fl_Check_Browser</A></LI>--> +<LI><A href=#Fl_Check_Browser.add>add</A></LI> +<LI><A href=#Fl_Check_Browser.check_all>check_all</A></LI> +<LI><A href=#Fl_Check_Browser.check_none>check_none</A></LI> +</UL> +</TD><TD align=left valign=top> +<UL> +<LI><A href=#Fl_Check_Browser.checked>checked</A></LI> +<LI><A href=#Fl_Check_Browser.clear>clear</A></LI> +<LI><A href=#Fl_Check_Browser.nchecked>nchecked</A></LI> +<LI><A href=#Fl_Check_Browser.nitems>nitems</A></LI> +</UL> +</TD><TD align=left valign=top> +<UL> +<LI><A href=#Fl_Check_Browser.set_checked>set_checked</A></LI> +<LI><A href=#Fl_Check_Browser.text>text</A></LI> +<LI><A href=#Fl_Check_Browser.value>value</A></LI> +</UL> +</TD></TR> +</TABLE> +</CENTER> + +<H4><A name=Fl_Check_Browser.Fl_Check_Browser>Fl_Check_Browser::Fl_Check_Browser(int, int, int, int, const char * = 0)</A></H4> +The constructor makes an empty browser. +<!-- +<H4><A name=Fl_Check_Browser.~Fl_Check_Browser>Fl_Check_Browser::~Fl_Check_Browser(void)</A></H4> + The destructor deletes all list items and destroys the browser. +--> +<H4><A name=Fl_Check_Browser.add>int Fl_Check_Browser::add(const char *)<BR> +int Fl_Check_Browser::add(const char *, int)</A></H4> +Add a new unchecked line to the end of the browser. The text is copied +using the <TT>strdup()</TT> function. It may also be <TT>NULL</TT> to make +a blank line. The second form can set the item checked. + +<H4><A name=Fl_Check_Browser.check_all>void Fl_Check_Browser::check_all()</A></H4> +Sets all the items checked. + +<H4><A name=Fl_Check_Browser.check_none>void Fl_Check_Browser::check_none()</A></H4> +Sets all the items unchecked. + +<H4><A name=Fl_Check_Browser.checked>int Fl_Check_Browser::checked(int item) const<BR> +void Fl_Check_Browser::checked(int item, int b)</A></H4> +The first form gets the current status of item <TT>item</TT>. The second form +sets the check status of item <TT>item</TT> to <TT>b</TT>. + +<H4><A name=Fl_Check_Browser.clear>void Fl_Check_Browser::clear()</A></H4> +Remove every item from the browser. + +<H4><A name=Fl_Check_Browser.nchecked>int Fl_Check_Browser::nchecked() const</A></H4> +Returns how many items are currently checked. + +<H4><A name=Fl_Check_Browser.nitems>int Fl_Check_Browser::nitems() const</A></H4> +Returns how many lines are in the browser. The last line number is equal to +this. + +<H4><A name=Fl_Check_Browser.set_checked>void Fl_Check_Browser::set_checked(int item)</A></H4> +Equivalent to <TT>Fl_Check_Browser::checked(item, 1)</TT>. + +<H4><A name=Fl_Check_Browser.text>char *Fl_Check_Browser::text(int item) const</A></H4> +Return a pointer to an internal buffer holding item <TT>item</TT>'s text. + +<H4><A name=Fl_Check_Browser.value>int Fl_Check_Browser::value() const</A></H4> +Returns the index of the currently selected item. + +</BODY> +</HTML> diff --git a/documentation/index.html b/documentation/index.html index 7f4c1ab86..f02e0d710 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -1,7 +1,7 @@ <HTML> <HEAD> <META NAME="robots" CONTENT="noindex"> - <TITLE>FLTK 1.1.0 Programming Manual</TITLE> + <TITLE>FLTK 1.1.1 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.0 Programming Manual</H1> - <P>Revision 1 by Michael Sweet, Craig P. Earls, and Bill Spitzak<BR> + <H1>FLTK 1.1.1 Programming Manual</H1> + <P>Revision 2 by Michael Sweet, Craig P. Earls, and Bill Spitzak<BR> Copyright 1998-2002 by Bill Spitzak and others.</P> </TD> </TR> @@ -19,8 +19,9 @@ <TABLE BGCOLOR="#9f9f9f" CELLPADDING="8" CELLSPACING="0" SUMMARY="TITLE BAR" WIDTH="700"> <TR> - <TD ALIGN="CENTER">This software is provided under the terms of the GNU Library General - Public License.</TD> + <TD ALIGN="CENTER"><B>This software and manual are + provided under the terms of the GNU Library General + Public License.</B></TD> </TR> </TABLE> diff --git a/documentation/preface.html b/documentation/preface.html index ae28c4bf5..78f659daf 100644 --- a/documentation/preface.html +++ b/documentation/preface.html @@ -2,21 +2,25 @@ <HEAD> <META CONTENT="Written by Michael Sweet, Craig P. Earls, and Bill Spitzak" NAME="Author"> <META CONTENT="Copyright 1998-2002 by Bill Spitzak and Others." NAME="Copyright"> - <META CONTENT="Revision 1" NAME="DocNumber"> - <TITLE>FLTK 1.1.0 Programming Manual</TITLE> + <META CONTENT="Revision 2" NAME="DocNumber"> + <TITLE>FLTK 1.1.1 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.0, a C++ Graphical User Interface +version 1.1.1, 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 for all FLTK widgets, functions, and operating system interfaces.</P> +<P><B>This manual may be printed, modified, and/or used under +the terms of the FLTK license provided in <A +HREF="license.html">Appendix A</A>.</B> + <H2>Organization</H2> <P>This manual is organized into the following chapters and appendices:</P> diff --git a/documentation/widgets.html b/documentation/widgets.html index 8706febf5..07b4e4553 100644 --- a/documentation/widgets.html +++ b/documentation/widgets.html @@ -21,6 +21,7 @@ description of the <TT>fl_</TT> functions, see <A HREF="Fl_Browser.html">Fl_Browser</A><BR> <A HREF="Fl_Button.html">Fl_Button</A><BR> <A HREF="Fl_Chart.html">Fl_Chart</A><BR> +<A HREF="Fl_Check_Browser.html">Fl_Check_Browser</A><BR> <A HREF="Fl_Check_Button.html">Fl_Check_Button</A><BR> <A HREF="Fl_Choice.html">Fl_Choice</A><BR> <A HREF="Fl_Clock.html">Fl_Clock</A><BR> @@ -141,6 +142,7 @@ description of the <TT>fl_</TT> functions, see <LI><A HREF="Fl_Multi_Browser.html#Fl_Multi_Browser">Fl_Multi_Browser</A> <LI><A HREF="Fl_Select_Browser.html#Fl_Select_Browser">Fl_Select_Browser</A> </UL> + <LI><A HREF="Fl_Check_Browser.html">Fl_Check_Browser</A> </UL> <LI><A HREF="Fl_Button.html#Fl_Button">Fl_Button</A> <UL> |
