1998-12-29 17:21:17 +03:00
|
|
|
<HTML>
|
1999-03-04 22:50:46 +03:00
|
|
|
<HEAD>
|
2007-01-25 22:48:39 +03:00
|
|
|
<META CONTENT="Written by Michael Sweet, Craig P. Earls, Matthias Melcher, and Bill Spitzak" NAME="Author">
|
2006-01-15 05:22:54 +03:00
|
|
|
<META CONTENT="Copyright 1998-2006 by Bill Spitzak and Others." NAME="Copyright">
|
2007-01-25 22:48:39 +03:00
|
|
|
<META CONTENT="Revision 8" NAME="DocNumber">
|
|
|
|
<TITLE>FLTK 1.1.8 Programming Manual</TITLE>
|
1998-12-29 17:21:17 +03:00
|
|
|
</HEAD>
|
|
|
|
<BODY>
|
2001-11-05 04:07:34 +03:00
|
|
|
|
2002-03-24 20:26:00 +03:00
|
|
|
<H1 ALIGN="RIGHT"><A NAME="preface">Preface</A></H1>
|
2001-11-05 04:07:34 +03:00
|
|
|
|
|
|
|
<P>This manual describes the Fast Light Tool Kit ("FLTK")
|
2007-01-25 22:48:39 +03:00
|
|
|
version 1.1.8, a C++ Graphical User Interface
|
2001-12-12 18:20:27 +03:00
|
|
|
("GUI") toolkit for UNIX, Microsoft Windows and MacOS. Each
|
|
|
|
of the chapters in this manual is designed as a tutorial for
|
2000-11-20 17:53:52 +03:00
|
|
|
using FLTK, while the appendices provide a convenient reference
|
2001-12-12 18:20:27 +03:00
|
|
|
for all FLTK widgets, functions, and operating system
|
2001-11-05 04:07:34 +03:00
|
|
|
interfaces.</P>
|
|
|
|
|
2002-10-07 17:19:22 +04:00
|
|
|
<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>
|
|
|
|
|
1998-12-29 17:21:17 +03:00
|
|
|
<H2>Organization</H2>
|
2001-11-05 04:07:34 +03:00
|
|
|
|
|
|
|
<P>This manual is organized into the following chapters and appendices:</P>
|
|
|
|
|
1998-12-29 17:21:17 +03:00
|
|
|
<UL>
|
2001-11-05 04:07:34 +03:00
|
|
|
|
|
|
|
<LI><A HREF="intro.html#intro">Chapter 1 - Introduction to FLTK</A></LI>
|
|
|
|
|
|
|
|
<LI><A HREF="basics.html#basics">Chapter 2 - FLTK Basics</A></LI>
|
|
|
|
|
|
|
|
<LI><A HREF="common.html#common">Chapter 3 - Common Widgets and Attributes</A></LI>
|
|
|
|
|
2001-11-29 22:24:00 +03:00
|
|
|
<LI><A HREF="editor.html#editor">Chapter 4 - Designing a Simple Text
|
2001-11-05 04:07:34 +03:00
|
|
|
Editor</A></LI>
|
|
|
|
|
|
|
|
<LI><A HREF="drawing.html#drawing">Chapter 5 - Drawing Things in FLTK</A></LI>
|
|
|
|
|
|
|
|
<LI><A HREF="events.html#events">Chapter 6 - Handling Events</A></LI>
|
|
|
|
|
2001-11-29 22:24:00 +03:00
|
|
|
<LI><A HREF="subclassing.html#subclassing">Chapter 7 - Extending and
|
2001-11-05 04:07:34 +03:00
|
|
|
Adding Widgets</A></LI>
|
|
|
|
|
|
|
|
<LI><A HREF="opengl.html#opengl">Chapter 8 - Using OpenGL</A></LI>
|
|
|
|
|
2002-02-13 06:33:53 +03:00
|
|
|
<LI><A HREF="fluid.html#FLUID">Chapter 9 - Programming With FLUID</A></LI>
|
2001-11-05 04:07:34 +03:00
|
|
|
|
|
|
|
<LI><A HREF="widgets.html#widgets">Appendix A - Class Reference</A></LI>
|
|
|
|
|
|
|
|
<LI><A HREF="functions.html#functions">Appendix B - Function Reference</A></LI>
|
|
|
|
|
2002-02-13 06:33:53 +03:00
|
|
|
<LI><A HREF="enumerations.html#Enumerations">Appendix C - Enumeration
|
2001-11-05 04:07:34 +03:00
|
|
|
Reference</A></LI>
|
|
|
|
|
|
|
|
<LI><A HREF="glut.html#glut">Appendix D - GLUT Compatibility</A></LI>
|
|
|
|
|
|
|
|
<LI><A HREF="forms.html#forms">Appendix E - Forms Compatibility</A></LI>
|
|
|
|
|
2002-01-29 22:00:05 +03:00
|
|
|
<LI><A HREF="osissues.html#osissues">Appendix F - Operating System Issues</A></LI>
|
2001-11-05 04:07:34 +03:00
|
|
|
|
2001-11-27 00:40:14 +03:00
|
|
|
<LI><A HREF="migration.html">Appendix G - Migrating from FLTK 1.0.x to FLTK 1.1.x</A></LI>
|
|
|
|
|
|
|
|
<LI><A HREF="license.html#license">Appendix H - Software License</A></LI>
|
2001-11-05 04:07:34 +03:00
|
|
|
|
2005-03-19 23:13:14 +03:00
|
|
|
<LI><A HREF="examples.html#examples">Appendix I - Example Source Code</A></LI>
|
|
|
|
|
1998-12-29 17:21:17 +03:00
|
|
|
</UL>
|
2001-11-05 04:07:34 +03:00
|
|
|
|
1998-12-29 17:21:17 +03:00
|
|
|
<H2>Conventions</H2>
|
2001-11-05 04:07:34 +03:00
|
|
|
|
|
|
|
<P>The following typeface conventions are used in this manual:</P>
|
|
|
|
|
1998-12-29 17:21:17 +03:00
|
|
|
<UL>
|
2001-11-05 04:07:34 +03:00
|
|
|
<LI>Function and constant names are shown in <B><TT>bold courier type</TT></B></LI>
|
|
|
|
|
|
|
|
<LI>Code samples and commands are shown in <TT>regular courier type</TT></LI>
|
|
|
|
|
1998-12-29 17:21:17 +03:00
|
|
|
</UL>
|
2001-11-05 04:07:34 +03:00
|
|
|
|
1998-12-29 17:21:17 +03:00
|
|
|
<H2>Abbreviations</H2>
|
2001-11-05 04:07:34 +03:00
|
|
|
|
|
|
|
<P>The following abbreviations are used in this manual:</P>
|
|
|
|
|
1998-12-29 17:21:17 +03:00
|
|
|
<DL>
|
2001-11-05 04:07:34 +03:00
|
|
|
|
|
|
|
<DT>X11</DT>
|
|
|
|
<DD>The X Window System version 11.</DD>
|
|
|
|
|
|
|
|
<DT>Xlib</DT>
|
|
|
|
<DD>The X Window System interface library.</DD>
|
|
|
|
|
|
|
|
<DT>WIN32</DT>
|
|
|
|
<DD>The Microsoft Windows 32-bit Application Programmer's Interface.</DD>
|
|
|
|
|
2001-12-12 10:50:37 +03:00
|
|
|
<DT>MacOS</DT>
|
|
|
|
<DD>The Apple Macintosh OS 8.6 and later, including OS X.<DD>
|
|
|
|
|
1998-12-29 17:21:17 +03:00
|
|
|
</DL>
|
2001-11-05 04:07:34 +03:00
|
|
|
|
1998-12-29 17:21:17 +03:00
|
|
|
<H2>Copyrights and Trademarks</H2>
|
2001-11-05 04:07:34 +03:00
|
|
|
|
2006-01-15 05:22:54 +03:00
|
|
|
<P>FLTK is Copyright 1998-2006 by Bill Spitzak and others. Use and
|
2001-11-29 22:24:00 +03:00
|
|
|
distribution of FLTK is governed by the GNU Library General Public
|
2002-03-24 20:26:00 +03:00
|
|
|
License, located in <A HREF="license.html#license">Appendix H</A>.</P>
|
2001-11-05 04:07:34 +03:00
|
|
|
|
2001-12-12 18:20:27 +03:00
|
|
|
<P>UNIX is a registered trademark of the X Open Group, Inc.
|
|
|
|
Microsoft and Windows are registered trademarks of Microsoft
|
|
|
|
Corporation. OpenGL is a registered trademark of Silicon
|
|
|
|
Graphics, Inc. Apple, Macintosh, MacOS, and Mac OS X are
|
|
|
|
registered trademarks of Apple Computer, Inc.</P>
|
2001-11-05 04:07:34 +03:00
|
|
|
|
|
|
|
</BODY>
|
|
|
|
</HTML>
|