mirror of https://github.com/fltk/fltk
Documentation fixes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5533 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
39cb1f8daf
commit
9e3f8a1db6
4
CHANGES
4
CHANGES
|
@ -1,11 +1,13 @@
|
|||
CHANGES IN FLTK 1.1.8
|
||||
|
||||
- Documentation fixes (STR #1454, STR #1455, STR #1456,
|
||||
STR #1457, STR #1458, STR #1460, STR #1481)
|
||||
- Shortcut events could be sent to the wrong window (STR
|
||||
#1451)
|
||||
- Fl_Spinner did not handle the arrow keys properly (STR
|
||||
#1476)
|
||||
- Fl_File_Browser did not calculate the width of
|
||||
directory items correctly (STR #1470)
|
||||
directory items correctly (STR #1469, STR #1470)
|
||||
- Fl_Pack incorrectly started widgets at an offset of 1/2
|
||||
the spacing value.
|
||||
- FLUID did not generate correct window class code if
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Adjuster</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Adjuster>class Fl_Adjuster</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_BMP_Image</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Bitmap</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Box</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Box>class Fl_Box</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Browser</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Browser>class Fl_Browser</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Browser_</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name="Fl_Browser_">class Fl_Browser_</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Button</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Button>class Fl_Button</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Chart</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Chart>class Fl_Chart</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Check_Browser</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Check_Browser>class Fl_Check_Browser</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Check_Button</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Check_Button>class Fl_Check_Button</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Choice</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Choice>class Fl_Choice</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Clock</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Clock>class Fl_Clock</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Clock_Output</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Clock>class Fl_Clock_Output</A></H2>
|
||||
<H2><A name=Fl_Clock_Output>class Fl_Clock_Output</A></H2>
|
||||
<HR>
|
||||
<H3>Class Hierarchy</H3>
|
||||
<UL>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Color_Chooser</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Color_Chooser>class Fl_Color_Chooser</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Counter</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Counter>class Fl_Counter</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Dial</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Dial>class Fl_Dial</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Double_Window</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Double_Window>class Fl_Double_Window</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_End</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_End>class Fl_End</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_File_Browser</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_File_Chooser</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_File_Icon</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_File_Input</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Float_Input</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Float_Input>class Fl_Float_Input</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Free</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Free>class Fl_Free</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_GIF_Image</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Gl_Window</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Group</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Group>class Fl_Group</A></H2>
|
||||
<HR>
|
||||
|
@ -9,7 +13,9 @@
|
|||
|
|
||||
+----<B>Fl_Group</B>
|
||||
|
|
||||
+----<A href=Fl_Pack.html#Fl_Pack>Fl_Pack</A>, <A href=Fl_Scroll.html#Fl_Scroll>Fl_Scroll</A>, <A href=Fl_Tabs.html#Fl_Tabs>Fl_Tabs</A>, <A href=Fl_Tile.html#Fl_Tile>Fl_Tile</A>, <A href=Fl_Window.html#Fl_Window>Fl_Window</A>
|
||||
+----<A href=Fl_Browser_.html#Fl_Browser_>Fl_Browser_</A>, <A href=Fl_Color_Chooser.html#Fl_Color_Chooser>Fl_Color_Chooser</A>, <A href=Fl_Help_View.html#Fl_Help_View>Fl_Help_View</A>, <A href=Fl_Input_Choice.html#Fl_Input_Choice>Fl_Input_Choice</A>, <A href=Fl_Pack.html#Fl_Pack>Fl_Pack</A>,
|
||||
<A href=Fl_Scroll.html#Fl_Scroll>Fl_Scroll</A>, <A href=Fl_Tabs.html#Fl_Tabs>Fl_Tabs</A>, <A href=Fl_Spinner.html#Fl_Spinner>Fl_Spinner</A>, <A href=Fl_Tabs.html#Fl_Tabs>Fl_Tabs</A>, <A href=Fl_Text_Display.html#Fl_Text_Display>Fl_Text_Display</A>, <A href=Fl_Tile.html#Fl_Tile>Fl_Tile</A>,
|
||||
<A href=Fl_Window.html#Fl_Window>Fl_Window</A>, <A href=Fl_Wizard.html#Fl_Wizard>Fl_Wizard</A>
|
||||
</PRE>
|
||||
</UL>
|
||||
<H3>Include Files</H3>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Help_Dialog</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Help_View</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name="Fl_Help_View">class Fl_Help_View</A></H2>
|
||||
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Hold_Browser</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Hold_Browser>class Fl_Hold_Browser</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Image</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Input</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Input_</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Input_Choice</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
@ -13,9 +16,6 @@
|
|||
<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>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Int_Input</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Int_Input>class Fl_Int_Input</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_JPEG_Image</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Light_Button</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Light_Button>class Fl_Light_Button</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Menu_</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Menu_>class Fl_Menu_</A></H2>
|
||||
<HR>
|
||||
|
@ -80,47 +84,11 @@ int h, const char *label = 0)</A></H4>
|
|||
Creates a new <TT>Fl_Menu_</TT> widget using the given position, size,
|
||||
and label string.<tt> menu()</tt> is initialized to null.
|
||||
|
||||
|
||||
<H4><A name=Fl_Menu_.~Fl_Menu_>virtual Fl_Menu_::~Fl_Menu_()</A></H4>
|
||||
|
||||
If the menu array is private the memory it uses is freed.
|
||||
|
||||
<H4><A name=Fl_Menu_.menu>const Fl_Menu_Item* Fl_Menu_::menu()
|
||||
const</a></h4>
|
||||
|
||||
Returns a pointer to the array of Fl_Menu_Items. This will either be
|
||||
the value passed to <tt>menu(value)</tt> or the private copy.
|
||||
|
||||
<h4>void Fl_Menu_::menu(const Fl_Menu_Item*)</H4>
|
||||
Set the menu array pointer directly. If the old menu is private it is
|
||||
deleted. <tt>NULL</tt> is allowed and acts the same as a zero-length
|
||||
menu. If you try to modify the array (with add(), replace(), or
|
||||
delete()) a private copy is automatically done.
|
||||
|
||||
<H4><A name=Fl_Menu_.mvalue>const Fl_Menu_Item* Fl_Menu_::mvalue()
|
||||
const</a></h4>
|
||||
|
||||
<P>Returns a pointer to the last menu item that was picked.
|
||||
|
||||
<H4><A name=Fl_Menu_.copy>void Fl_Menu_::copy(const
|
||||
Fl_Menu_Item*, void* user_data = 0)</A></H4>
|
||||
|
||||
<P>The menu is set to a private copy of the passed Fl_Menu_Item
|
||||
array. This is useful if you want to modify the flags of the
|
||||
menu items. If the <tt>user_data</tt> argument is non-NULL, then
|
||||
the <tt>user_data</tt> members of the menu items are set to the
|
||||
given value.
|
||||
|
||||
<H4><A name=Fl_Menu_.clear>void Fl_Menu_::clear()</A></H4>
|
||||
Same as <tt>menu(NULL)</tt>, set the array pointer to null, indicating
|
||||
a zero-length menu.
|
||||
|
||||
<H4><A name=Fl_Menu_.size>int Fl_Menu_::size() const</A></H4>
|
||||
|
||||
This returns the number of Fl_Menu_Item structures that make up the
|
||||
menu, correctly counting submenus. This includes the "terminator"
|
||||
item at the end. To copy a menu array you need to copy
|
||||
<tt>size()*sizeof(Fl_Menu_Item)</tt> bytes. If the menu is
|
||||
<TT>NULL</TT> this returns zero (an empty menu will return 1).
|
||||
|
||||
<H4><A name=Fl_Menu_.add>int Fl_Menu_::add(const char* label, const
|
||||
char* shortcut, Fl_Callback*, void *user_data=0, int flags=0)</a><br>
|
||||
|
@ -138,7 +106,7 @@ special characters in the label string. The "&" character
|
|||
specifies that the following character is an accelerator and
|
||||
will be underlined. The "\" character is used to escape the next
|
||||
character in the string. Labels starting with the "_" character
|
||||
cause a divider to be placed before that menu item.</p>
|
||||
cause a divider to be placed after that menu item.</p>
|
||||
|
||||
<p>A label of the form "foo/bar/baz" will create a
|
||||
submenus called "foo" and "bar" with an
|
||||
|
@ -185,51 +153,29 @@ with Forms and other GL programs. The section strings use the
|
|||
same special characters as described for the long version of <a
|
||||
href='#Fl_Menu_.add'><tt>add()</tt></a></p>
|
||||
|
||||
<H4><A name=Fl_Menu_.replace>void Fl_Menu_::replace(int n, const char *)</A>
|
||||
</H4>
|
||||
|
||||
Changes the text of item <TT>n</TT>. This is the only way to get
|
||||
slash into an add()'ed menu item. If the menu array was directly set
|
||||
with menu(x) then copy() is done to make a private array.
|
||||
<H4><A name=Fl_Menu_.clear>void Fl_Menu_::clear()</A></H4>
|
||||
Same as <tt>menu(NULL)</tt>, set the array pointer to null, indicating
|
||||
a zero-length menu.
|
||||
|
||||
<H4><A name=Fl_Menu_.remove>void Fl_Menu_::remove(int n)</A></H4>
|
||||
|
||||
Deletes item <TT>n</TT> from the menu. If the menu array was directly
|
||||
set with menu(x) then copy() is done to make a private array.
|
||||
<H4><A name=Fl_Menu_.copy>void Fl_Menu_::copy(const
|
||||
Fl_Menu_Item*, void* user_data = 0)</A></H4>
|
||||
|
||||
<H4><A name=Fl_Menu_.shortcut>void Fl_Menu_::shortcut(int i, int n);</A></H4>
|
||||
<P>The menu is set to a private copy of the passed Fl_Menu_Item
|
||||
array. This is useful if you want to modify the flags of the
|
||||
menu items. If the <tt>user_data</tt> argument is non-NULL, then
|
||||
the <tt>user_data</tt> members of the menu items are set to the
|
||||
given value.
|
||||
|
||||
Changes the shortcut of item <TT>i</TT> to <TT>n</TT>.
|
||||
|
||||
<H4><A name=Fl_Menu_.mode>void Fl_Menu_::mode(int i, int x);</A></H4>
|
||||
<H4><A name=Fl_Menu_.down_box>Fl_Boxtype Fl_Menu_::down_box() const
|
||||
<BR> void Fl_Menu_::down_box(Fl_Boxtype)</A></H4>
|
||||
This box type is used to surround the currently-selected items in the
|
||||
menus. If this is <TT>FL_NO_BOX</TT> then it acts like <TT>
|
||||
FL_THIN_UP_BOX</TT> and <TT>selection_color()</TT> acts like <TT>
|
||||
FL_WHITE</TT>, for back compatability. </BODY></HTML>
|
||||
|
||||
Changes the flags of item <TT>i</TT>. For a list of the flags, see <a
|
||||
href=Fl_Menu_Item.html>Fl_Menu_Item</a>.
|
||||
|
||||
<H4><A name=Fl_Menu_.value>int Fl_Menu_::value() const
|
||||
<BR> int Fl_Menu_::value(int)
|
||||
<BR> const Fl_Menu_Item* mvalue() const
|
||||
<BR> int Fl_Menu_::value(const Fl_Menu_Item*)</A></H4>
|
||||
The value is the index into <TT>menu()</TT> of the last item chosen by
|
||||
the user. It is zero initially. You can set it as an integer, or set
|
||||
it with a pointer to a menu item. The set routines return non-zero if
|
||||
the new value is different than the old one.
|
||||
|
||||
<H4><A name=Fl_Menu_.test_shortcut>const Fl_Menu_Item*
|
||||
Fl_Menu_::test_shortcut()</A></H4>
|
||||
Only call this in response to <TT>FL_SHORTCUT events</TT>. If the
|
||||
event matches an entry in the menu that entry is selected and the
|
||||
callback will be done (or <TT>changed()</TT> will be set). This allows
|
||||
shortcuts directed at one window to call menus in another.
|
||||
<H4><A name=Fl_Menu_.global>void Fl_Menu_::global()</A></H4>
|
||||
Make the shortcuts for this menu work no matter what window has the
|
||||
focus when you type it. This is done by using <A href=osissues.html#add_handler>
|
||||
<TT>Fl::add_handler()</TT></A>. This <TT>Fl_Menu_</TT> widget does not
|
||||
have to be visible (ie the window it is in can be hidden, or it does
|
||||
not have to be put in a window at all).
|
||||
<P>Currently there can be only one <TT>global()</TT>menu. Setting a new
|
||||
one will replace the old one. There is no way to remove the <TT>
|
||||
global()</TT> setting (so don't destroy the widget!)</P>
|
||||
|
||||
<h4><a name="Fl_Menu_.find_item">const Fl_Menu_Item *Fl_Menu_::find_item(const char *name);</a></h4>
|
||||
|
||||
|
@ -238,6 +184,7 @@ pathname. If no matching menu item can be found, a NULL pointer
|
|||
is returned. This function does not search submenus that are linked
|
||||
via FL_SUBMENU_POINTER.</p>
|
||||
|
||||
|
||||
<h4><a name=Fl_Menu_.item_pathname>int Fl_Menu_::item_pathname(char *name, int namelen ) const;</a><br>
|
||||
int Fl_Menu_::item_pathname(char *name, int namelen,
|
||||
const Fl_Menu_Item *finditem) const;</h4>
|
||||
|
@ -256,22 +203,106 @@ int Fl_Menu_::item_pathname(char *name, int namelen,
|
|||
|
||||
<p>In the case of errors (-1 or -2), 'name' will be an empty string.
|
||||
|
||||
|
||||
<H4><A name=Fl_Menu_.menu>const Fl_Menu_Item* Fl_Menu_::menu()
|
||||
const</a></h4>
|
||||
|
||||
Returns a pointer to the array of Fl_Menu_Items. This will either be
|
||||
the value passed to <tt>menu(value)</tt> or the private copy.
|
||||
|
||||
<h4>void Fl_Menu_::menu(const Fl_Menu_Item*)</H4>
|
||||
Set the menu array pointer directly. If the old menu is private it is
|
||||
deleted. <tt>NULL</tt> is allowed and acts the same as a zero-length
|
||||
menu. If you try to modify the array (with add(), replace(), or
|
||||
delete()) a private copy is automatically done.
|
||||
|
||||
|
||||
<H4><A name=Fl_Menu_.mode>void Fl_Menu_::mode(int i, int x);</A></H4>
|
||||
|
||||
Changes the flags of item <TT>i</TT>. For a list of the flags, see <a
|
||||
href=Fl_Menu_Item.html>Fl_Menu_Item</a>.
|
||||
|
||||
|
||||
<H4><A name=Fl_Menu_.mvalue>const Fl_Menu_Item* Fl_Menu_::mvalue()
|
||||
const</a></h4>
|
||||
|
||||
<P>Returns a pointer to the last menu item that was picked.
|
||||
|
||||
|
||||
<H4><A name=Fl_Menu_.remove>void Fl_Menu_::remove(int n)</A></H4>
|
||||
|
||||
Deletes item <TT>n</TT> from the menu. If the menu array was directly
|
||||
set with menu(x) then copy() is done to make a private array.
|
||||
|
||||
|
||||
<H4><A name=Fl_Menu_.replace>void Fl_Menu_::replace(int n, const char *)</A>
|
||||
</H4>
|
||||
|
||||
Changes the text of item <TT>n</TT>. This is the only way to get
|
||||
slash into an add()'ed menu item. If the menu array was directly set
|
||||
with menu(x) then copy() is done to make a private array.
|
||||
|
||||
|
||||
<H4><A name=Fl_Menu_.shortcut>void Fl_Menu_::shortcut(int i, int n);</A></H4>
|
||||
|
||||
Changes the shortcut of item <TT>i</TT> to <TT>n</TT>.
|
||||
|
||||
|
||||
<H4><A name=Fl_Menu_.size>int Fl_Menu_::size() const</A></H4>
|
||||
|
||||
This returns the number of Fl_Menu_Item structures that make up the
|
||||
menu, correctly counting submenus. This includes the "terminator"
|
||||
item at the end. To copy a menu array you need to copy
|
||||
<tt>size()*sizeof(Fl_Menu_Item)</tt> bytes. If the menu is
|
||||
<TT>NULL</TT> this returns zero (an empty menu will return 1).
|
||||
|
||||
|
||||
<H4><A name=Fl_Menu_.test_shortcut>const Fl_Menu_Item*
|
||||
Fl_Menu_::test_shortcut()</A></H4>
|
||||
Only call this in response to <TT>FL_SHORTCUT events</TT>. If the
|
||||
event matches an entry in the menu that entry is selected and the
|
||||
callback will be done (or <TT>changed()</TT> will be set). This allows
|
||||
shortcuts directed at one window to call menus in another.
|
||||
<H4><A name=Fl_Menu_.global>void Fl_Menu_::global()</A></H4>
|
||||
Make the shortcuts for this menu work no matter what window has the
|
||||
focus when you type it. This is done by using <A href=osissues.html#add_handler>
|
||||
<TT>Fl::add_handler()</TT></A>. This <TT>Fl_Menu_</TT> widget does not
|
||||
have to be visible (ie the window it is in can be hidden, or it does
|
||||
not have to be put in a window at all).
|
||||
<P>Currently there can be only one <TT>global()</TT>menu. Setting a new
|
||||
one will replace the old one. There is no way to remove the <TT>
|
||||
global()</TT> setting (so don't destroy the widget!)</P>
|
||||
|
||||
|
||||
<H4><A name=Fl_Menu_.text>const char* Fl_Menu_::text() const
|
||||
<BR> const char* Fl_Menu_::text(int i) const</A></H4>
|
||||
Returns the title of the last item chosen, or of item <TT>i</TT>.
|
||||
|
||||
|
||||
<H4><A name=Fl_Menu_.textcolor>Fl_Color Fl_Menu_::textcolor() const
|
||||
<BR> void Fl_Menu_::textcolor(Fl_Color)</A></H4>
|
||||
Get or set the current color of menu item labels.
|
||||
|
||||
|
||||
<H4><A name=Fl_Menu_.textfont>Fl_Font Fl_Menu_::textfont() const
|
||||
<BR> void Fl_Menu_::textfont(Fl_Font)</A></H4>
|
||||
Get or set the current font of menu item labels.
|
||||
|
||||
|
||||
<H4><A name=Fl_Menu_.textsize>uchar Fl_Menu_::textsize() const
|
||||
<BR> void Fl_Menu_::textsize(uchar)</A></H4>
|
||||
Get or set the font size of menu item labels.
|
||||
<H4><A name=Fl_Menu_.down_box>Fl_Boxtype Fl_Menu_::down_box() const
|
||||
<BR> void Fl_Menu_::down_box(Fl_Boxtype)</A></H4>
|
||||
This box type is used to surround the currently-selected items in the
|
||||
menus. If this is <TT>FL_NO_BOX</TT> then it acts like <TT>
|
||||
FL_THIN_UP_BOX</TT> and <TT>selection_color()</TT> acts like <TT>
|
||||
FL_WHITE</TT>, for back compatability. </BODY></HTML>
|
||||
|
||||
|
||||
<H4><A name=Fl_Menu_.value>int Fl_Menu_::value() const
|
||||
<BR> int Fl_Menu_::value(int)
|
||||
<BR> const Fl_Menu_Item* mvalue() const
|
||||
<BR> int Fl_Menu_::value(const Fl_Menu_Item*)</A></H4>
|
||||
The value is the index into <TT>menu()</TT> of the last item chosen by
|
||||
the user. It is zero initially. You can set it as an integer, or set
|
||||
it with a pointer to a menu item. The set routines return non-zero if
|
||||
the new value is different than the old one.
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Menu_Bar</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Menu_Bar>class Fl_Menu_Bar</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Menu_Button</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Menu_Button>class Fl_Menu_Button</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Menu_Item</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Menu_Item>struct Fl_Menu_Item</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Menu_Window</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Menu_Window>class Fl_Menu_Window</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Multi_Browser</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Multi_Browser>class Fl_Multi_Browser</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Multiline_Input</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Multiline_Input>class Fl_Multiline_Input</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Multiline_Output</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Multiline_Output>class Fl_Multiline_Output</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Output</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name="Fl_Output">class Fl_Output</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Overlay_Window</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Overlay_Window>class Fl_Overlay_Window</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_PNG_Image</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_PNM_Image</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Pack</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Pack>class Fl_Pack</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Pixmap</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Positioner</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Positioner>class Fl_Positioner</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
<html>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Preferences</TITLE>
|
||||
</HEAD>
|
||||
<body>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
||||
<h2>class Fl_Preferences</h2>
|
||||
<h2><a name="Fl_Preferences">class Fl_Preferences</a></h2>
|
||||
|
||||
<hr>
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Progress</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_RGB_Image</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Repeat_Button</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Repeat_Button>class Fl_Repeat_Button</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Return_Button</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Return_Button>class Fl_Return_Button</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Roller</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Roller>class Fl_Roller</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Round_Button</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Round_Button>class Fl_Round_Button</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Scroll</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Scroll>class Fl_Scroll</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Scrollbar</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Scrollbar>class Fl_Scrollbar</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Secret_Input</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Secret_Input>class Fl_Secret_Input</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Select_Browser</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Select_Browser>class Fl_Select_Browser</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Shared_Image</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Single_Window</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Single_Window>class Fl_Single_Window</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Slider</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Slider>class Fl_Slider</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<html>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Spinner</TITLE>
|
||||
</HEAD>
|
||||
<body>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
@ -13,9 +16,6 @@
|
|||
<a href=Fl_Group.html#Fl_Group>Fl_Group</a>
|
||||
|
|
||||
+----<b>Fl_Spinner</b>
|
||||
|
|
||||
+----<a href=Fl_Input.html#Fl_Input>Fl_Input</a>
|
||||
<a href=Fl_Repeat_Button.html#Fl_Repeat_Button>Fl_Repeat_Button</a>
|
||||
</pre></ul>
|
||||
|
||||
<h3>Include Files</h3>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Tabs</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Text_Buffer</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Text_Display</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Text_Editor</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Tile</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Tiled_Image</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Timer</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Timer>class Fl_Timer</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Toggle_Button</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Toggle_Button>class Fl_Toggle_Button</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Tooltip</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Valuator</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Valuator>class Fl_Valuator</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Value_Input</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Value_Output</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Value_Output>class Fl_Value_Output</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Value_Slider</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Value_Slider>class Fl_Value_Slider</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Widget</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Widget>class Fl_Widget</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Window</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Window>class Fl_Window</A></H2>
|
||||
<HR>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_Wizard</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_XBM_Image</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Fl_XPM_Image</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>2 - FLTK Basics</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<H1 ALIGN="RIGHT"><A NAME="basics">2 - FLTK Basics</A></H1>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>3 - Common Widgets and Attributes</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<H1 ALIGN="RIGHT"><A NAME="common">3 - Common Widgets and Attributes</A></H1>
|
||||
|
@ -608,15 +611,15 @@ button->when(FL_WHEN_CHANGED | FL_WHEN_NOT_CHANGED);
|
|||
pointer to the instance of your class.</P>
|
||||
|
||||
<PRE>
|
||||
class foo {
|
||||
void my_callback(Widget *);
|
||||
static void my_static_callback(Widget *w, foo *f) { f->my_callback(w); }
|
||||
class Foo {
|
||||
void my_callback(Fl_Widget *w);
|
||||
static void my_static_callback(Fl_Widget *w, void *f) { ((Foo *)f)->my_callback(w); }
|
||||
...
|
||||
}
|
||||
|
||||
...
|
||||
|
||||
w->callback(my_static_callback, this);
|
||||
w->callback(my_static_callback, (void *)this);
|
||||
</PRE>
|
||||
</TD>
|
||||
</TR>
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>5 - Drawing Things in FLTK</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<H1><A NAME="drawing">5 - Drawing Things in FLTK</A></H1>
|
||||
<H1 ALIGN="RIGHT"><A NAME="drawing">5 - Drawing Things in FLTK</A></H1>
|
||||
|
||||
<P>This chapter covers the drawing functions that are provided with FLTK.
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>4 - Designing a Simple Text Editor</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<H1 ALIGN="RIGHT"><A NAME="editor">4 - Designing a Simple Text Editor</A></H1>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>C - FLTK Enumerations</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<H1 ALIGN=RIGHT><A NAME=Enumerations>C - FLTK Enumerations</A></H1>
|
||||
|
||||
<P>This appendix lists the enumerations provided in the
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>6 - Handling Events</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<H1 ALIGN="RIGHT"><A NAME="events">6 - Handling Events</A></H1>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>I - Tests and Demo Source Code</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<H1 ALIGN="RIGHT"><A NAME="tests">I - Tests and Demo Source Code</A></H1>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>9 - Programming with FLUID</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<H1 ALIGN="RIGHT"><A NAME="FLUID">9 - Programming with FLUID</A></H1>
|
||||
|
||||
This chapter shows how to use the Fast Light User-Interface Designer
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>E - Forms Compatibility</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<H1 ALIGN=RIGHT><A NAME=forms>E - Forms Compatibility</A></H1>
|
||||
This appendix describes the Forms compatibility included with FLTK.
|
||||
<H2>Importing Forms Layout Files</H2>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>B - Function Reference</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<H1 ALIGN="RIGHT"><A NAME="functions">B - Function Reference</A></H1>
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<HTML><BODY>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>D - GLUT Compatibility</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<H1 ALIGN=RIGHT><A NAME=glut>D - GLUT Compatibility</A></H1>
|
||||
This appendix describes the GLUT compatibility header file supplied
|
||||
with FLTK.
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>1 - Introduction to FLTK</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<H1 ALIGN="RIGHT"><A NAME="intro">1 - Introduction to FLTK</A></H1>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>H - FLTK License</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<H1 ALIGN="RIGHT"><A NAME="license">H - FLTK License</A></H1>
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue