diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2000-03-15 18:57:07 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2000-03-15 18:57:07 +0000 |
| commit | a73c7f58e6a0bb4b4eab922396500c25c118a18b (patch) | |
| tree | 7b846ad94ede2aa3e46c1401dd6758562add7e00 /documentation/glut.html | |
| parent | af5190b95f6b4eb16c028aeb9620f5ebcfe4a0ec (diff) | |
Documentation updates for 1.0.8.
FLUID GUI tweeks (OK and Cancel use now consistent, spacing now consistent,
Courier font for code, etc.)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/glut.html')
| -rw-r--r-- | documentation/glut.html | 67 |
1 files changed, 66 insertions, 1 deletions
diff --git a/documentation/glut.html b/documentation/glut.html index 80fc12be3..0fdb92417 100644 --- a/documentation/glut.html +++ b/documentation/glut.html @@ -126,10 +126,70 @@ not work. If you do <TT>show()</TT> the window, call <TT>make_current()</TT> again to set the context. </P> <P><TT>~Fl_Glut_Window()</TT> is the same as <TT>glutDestroyWindow()</TT> . </P> +<H3>Members</H3> +The <TT>Fl_Glut_Window</TT> class contains several public members that can +be altered directly: +<CENTER><TABLE WIDTH="80%" BORDER"> +<TR> + <TH>member</TH> + <TH>description</TH> +</TR> +<TR> + <TD>display</TD> + <TD>A pointer to the function to call to draw the normal planes.</TD> +</TR> +<TR> + <TD>entry</TD> + <TD>A pointer to the function to call when the mouse moves into + or out of the window.</TD> +</TR> +<TR> + <TD>keyboard</TD> + <TD>A pointer to the function to call when a regular key is pressed.</TD> +</TR> +<TR> + <TD>menu[3]</TD> + <TD>The menu to post when one of the mouse buttons is pressed.</TD> +</TR> +<TR> + <TD>mouse</TD> + <TD>A pointer to the function to call when a button is pressed or + released.</TD> +</TR> +<TR> + <TD>motion</TD> + <TD>A pointer to the function to call when the mouse is moved with + a button down.</TD> +</TR> +<TR> + <TD>overlaydisplay</TD> + <TD>A pointer to the function to call to draw the overlay planes.</TD> +</TR> +<TR> + <TD>passivemotion</TD> + <TD>A pointer to the function to call when the mouse is moved with + no buttons down.</TD> +</TR> +<TR> + <TD>reshape</TD> + <TD>A pointer to the function to call when the window is resized.</TD> +</TR> +<TR> + <TD>special</TD> + <TD>A pointer to the function to call when a special key is pressed.</TD> +</TR> +<TR> + <TD>visibility</TD> + <TD>A pointer to the function to call when the window is iconified + or restored (made visible.)</TD> +</TR> +</TABLE></CENTER> + <H3>Methods</H3> <UL> <LI><A href=#Fl_Glut_Window.Fl_Glut_Window>Fl_Glut_Window</A></LI> <LI><A href=#Fl_Glut_Window.~Fl_Glut_Window>~Fl_Glut_Window</A></LI> +<LI><A href=#Fl_Glut_Window.make_current>make_current</A></LI> </UL> <H4><A name=Fl_Glut_Window.Fl_Glut_Window> Fl_Glut_Window::Fl_Glut_Window(int x, int y, int w, int h, const char @@ -142,4 +202,9 @@ will create the window with a preset size, but the window manager will choose the position according to it's own whims. <H4><A name=Fl_Glut_Window.~Fl_Glut_Window>virtual Fl_Glut_Window::~Fl_Glut_Window()</A></H4> - Destroys the GLUT window. </BODY></HTML> + Destroys the GLUT window. +<H4><A name="Fl_Glut_Window.make_current">void Fl_Glut_Window::make_current()</A></H4> +Switches all drawing functions to the GLUT window. + +</BODY> +</HTML> |
