mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 15:32:12 +08:00
More doco updates.
Enable tooltips by default, and don't enable them when setting the tooltip value, since that will negate any changes a program might make when displaying the file chooser dialog, etc. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1777 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: Enumerations.H,v 1.18.2.14.2.7 2001/11/28 15:55:33 easysw Exp $"
|
||||
// "$Id: Enumerations.H,v 1.18.2.14.2.8 2001/11/28 20:43:44 easysw Exp $"
|
||||
//
|
||||
// Enumerations for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@@ -364,5 +364,5 @@ enum Fl_Damage {
|
||||
#endif
|
||||
|
||||
//
|
||||
// End of "$Id: Enumerations.H,v 1.18.2.14.2.7 2001/11/28 15:55:33 easysw Exp $".
|
||||
// End of "$Id: Enumerations.H,v 1.18.2.14.2.8 2001/11/28 20:43:44 easysw Exp $".
|
||||
//
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: Fl.H,v 1.8.2.11.2.5 2001/11/28 18:00:16 easysw Exp $"
|
||||
// "$Id: Fl.H,v 1.8.2.11.2.6 2001/11/28 20:43:44 easysw Exp $"
|
||||
//
|
||||
// Main header file for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@@ -24,12 +24,12 @@
|
||||
//
|
||||
|
||||
#ifndef Fl_H
|
||||
#define Fl_H
|
||||
# define Fl_H
|
||||
|
||||
#include "Enumerations.H"
|
||||
#ifndef Fl_Object
|
||||
#define Fl_Object Fl_Widget
|
||||
#endif
|
||||
# include "Enumerations.H"
|
||||
# ifndef Fl_Object
|
||||
# define Fl_Object Fl_Widget
|
||||
# endif
|
||||
|
||||
class Fl_Widget;
|
||||
class Fl_Window;
|
||||
@@ -70,7 +70,7 @@ public: // should be private!
|
||||
public:
|
||||
|
||||
// API version number
|
||||
static double version();
|
||||
static FL_EXPORT double version();
|
||||
|
||||
// argument parsers:
|
||||
static FL_EXPORT int arg(int, char**, int&);
|
||||
@@ -222,8 +222,8 @@ public:
|
||||
static int visible_focus() { return visible_focus_; }
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // !Fl_H
|
||||
|
||||
//
|
||||
// End of "$Id: Fl.H,v 1.8.2.11.2.5 2001/11/28 18:00:16 easysw Exp $".
|
||||
// End of "$Id: Fl.H,v 1.8.2.11.2.6 2001/11/28 20:43:44 easysw Exp $".
|
||||
//
|
||||
|
||||
+3
-3
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: Fl_Widget.H,v 1.6.2.4.2.10 2001/11/03 05:11:34 easysw Exp $"
|
||||
// "$Id: Fl_Widget.H,v 1.6.2.4.2.11 2001/11/28 20:43:44 easysw Exp $"
|
||||
//
|
||||
// Widget header file for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@@ -143,7 +143,7 @@ public:
|
||||
void deimage(Fl_Image* a) {label_.deimage=a;}
|
||||
void deimage(Fl_Image& a) {label_.deimage=&a;}
|
||||
const char *tooltip() const {return tooltip_;}
|
||||
void tooltip(const char *t);
|
||||
void tooltip(const char *t) {tooltip_=t;}
|
||||
Fl_Callback_p callback() const {return callback_;}
|
||||
void callback(Fl_Callback* c, void* p) {callback_=c; user_data_=p;}
|
||||
void callback(Fl_Callback* c) {callback_=c;}
|
||||
@@ -207,5 +207,5 @@ public:
|
||||
#endif
|
||||
|
||||
//
|
||||
// End of "$Id: Fl_Widget.H,v 1.6.2.4.2.10 2001/11/03 05:11:34 easysw Exp $".
|
||||
// End of "$Id: Fl_Widget.H,v 1.6.2.4.2.11 2001/11/28 20:43:44 easysw Exp $".
|
||||
//
|
||||
|
||||
+18
-8
@@ -1,7 +1,7 @@
|
||||
dnl -*- sh -*-
|
||||
dnl the "configure" script is made from this by running GNU "autoconf"
|
||||
dnl
|
||||
dnl "$Id: configure.in,v 1.33.2.31.2.29 2001/11/27 22:03:29 easysw Exp $"
|
||||
dnl "$Id: configure.in,v 1.33.2.31.2.30 2001/11/28 20:43:43 easysw Exp $"
|
||||
dnl
|
||||
dnl Configuration script for the Fast Light Tool Kit (FLTK).
|
||||
dnl
|
||||
@@ -99,6 +99,15 @@ AC_ARG_ENABLE(shared, [ --enable-shared turn on shared libraries [defau
|
||||
if test x$enable_shared = xyes; then
|
||||
PICFLAG=1
|
||||
case $uname in
|
||||
*BSD* | Darwin*)
|
||||
DSONAME="libfltk.$FL_API_VERSION.dylib"
|
||||
GLDSONAME="libfltk_gl.$FL_API_VERSION.dylib"
|
||||
DSOCOMMAND="ld $DSOFLAGS -dylib /usr/lib/dylib1.o -lc"
|
||||
if test "$libdir" != "/usr/lib"; then
|
||||
DSOLINK="-Wl,-rpath,$libdir"
|
||||
fi
|
||||
;;
|
||||
|
||||
SunOS* | UNIX_S*)
|
||||
DSONAME="libfltk.so.$FL_API_VERSION"
|
||||
GLDSONAME="libfltk_gl.so.$FL_API_VERSION"
|
||||
@@ -240,17 +249,19 @@ AC_CHECK_HEADER(png.h,
|
||||
dnl Restore original LIBS settings...
|
||||
LIBS="$SAVELIBS"
|
||||
|
||||
dnl See if we are compiling with CygWin or MingW32...
|
||||
AC_CYGWIN
|
||||
AC_EXEEXT
|
||||
|
||||
dnl Check for standard graphics API and OpenGL...
|
||||
EXEEXT=
|
||||
HLINKS=
|
||||
|
||||
case $uname in
|
||||
CYGWIN*)
|
||||
dnl Cygwin environment...
|
||||
LIBS="$LIBS -lgdi32 -lwsock32"
|
||||
CFLAGS="$CFLAGS -DWIN32"
|
||||
CXXFLAGS="$CXXFLAGS -DWIN32"
|
||||
EXEEXT=".exe"
|
||||
LIBS="$LIBS -mwindows -lgdi32 -lwsock32"
|
||||
CFLAGS="$CFLAGS -mwindows -DWIN32"
|
||||
CXXFLAGS="$CXXFLAGS -mwindows -DWIN32"
|
||||
HLINKS="#"
|
||||
if test x$enable_gl != xno; then
|
||||
AC_CHECK_HEADER(GL/gl.h,
|
||||
@@ -349,7 +360,6 @@ case $uname in
|
||||
fi)
|
||||
esac
|
||||
|
||||
AC_SUBST(EXEEXT)
|
||||
AC_SUBST(HLINKS)
|
||||
AC_SUBST(GLDEMOS)
|
||||
AC_SUBST(GLLIB)
|
||||
@@ -568,5 +578,5 @@ AC_OUTPUT(makeinclude fltk.list fltk-config FL/Makefile FL/Enumerations.H)
|
||||
chmod +x fltk-config
|
||||
|
||||
dnl
|
||||
dnl End of "$Id: configure.in,v 1.33.2.31.2.29 2001/11/27 22:03:29 easysw Exp $".
|
||||
dnl End of "$Id: configure.in,v 1.33.2.31.2.30 2001/11/28 20:43:43 easysw Exp $".
|
||||
dnl
|
||||
|
||||
+1008
-18
File diff suppressed because it is too large
Load Diff
+148
-315
@@ -1,336 +1,169 @@
|
||||
<HTML><BODY>
|
||||
<HTML>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
||||
<H2><A name=Fl_Input>class Fl_Input</A></H2>
|
||||
|
||||
<HR>
|
||||
|
||||
<H3>Class Hierarchy</H3>
|
||||
|
||||
<UL>
|
||||
<PRE>
|
||||
<A href=Fl_Input_.html#Fl_Input_>Fl_Input_</A>
|
||||
<A href="Fl_Group.html">Fl_Group</A>
|
||||
|
|
||||
+----<B>Fl_Input</B>
|
||||
+----<B>Fl_Text_Display</B>----<A HREF="Fl_Text_Buffer.html">Fl_Text_Buffer</A>
|
||||
|
|
||||
+----<A href=Fl_Float_Input.html#Fl_Float_Input>Fl_Float_Input</A>, <A href=Fl_Int_Input.html#Fl_Int_Input>Fl_Int_Input</A>,
|
||||
<A href=Fl_Multiline_Input.html#Fl_Multiline_Input>Fl_Multiline_Input</A>, <A href=Fl_Secret_Input.html#Fl_Secret_Input>Fl_Secret_Input</A>
|
||||
+----<A href="Fl_Text_Editor.html">Fl_Text_Editor</A>
|
||||
</PRE>
|
||||
</UL>
|
||||
<H3>Include Files</H3>
|
||||
|
||||
<UL>
|
||||
<PRE>
|
||||
#include <FL/Fl_Input.H>
|
||||
#include <FL/Fl_Text_Display.H>
|
||||
</PRE>
|
||||
</UL>
|
||||
|
||||
<H3>Description</H3>
|
||||
<P>This is the FLTK text input widget. It displays a single line of text
|
||||
and lets the user edit it. Normally it is drawn with an inset box and
|
||||
a white background. The text may contain any characters (even 0), and
|
||||
will correctly display anything, using ^X notation for unprintable
|
||||
control characters and \nnn notation for unprintable characters with
|
||||
the high bit set. It assumes the font can draw any characters in the
|
||||
ISO-8859-1 character set.
|
||||
|
||||
<CENTER><TABLE border=1 WIDTH=90% summary="Fl_Input keyboard and mouse bindings.">
|
||||
<P>This is the FLTK text display widget. It allows the user to
|
||||
view multiple lines of text and supports highlighting and
|
||||
scrolling. The buffer that is displayed in the widget is managed
|
||||
by the <A HREF="Fl_Text_Buffer.html"><TT>Fl_Text_Buffer</TT></A>
|
||||
class.
|
||||
|
||||
<TR><TD WIDTH=200><B>Mouse button 1</B></TD><TD>Moves the cursor to
|
||||
this point. Drag selects characters. Double click selects words.
|
||||
Triple click selects all text. Shift+click extends the selection.
|
||||
When you select text it is automatically copied to the clipboard.
|
||||
</TD></TR>
|
||||
|
||||
<TR><TD><B>Mouse button 2</B></TD><TD>Insert the clipboard at
|
||||
the point clicked. You can also select a region and replace it with the
|
||||
clipboard by selecting the region with mouse button 2.
|
||||
</TD></TR>
|
||||
|
||||
<TR><TD><B>Mouse button 3</B></TD><TD>Currently acts like button 1.</TD></TR>
|
||||
|
||||
<TR><TD><B>Backspace</B></TD><TD>Deletes one character to the left, or
|
||||
deletes the selected region.</TD></TR>
|
||||
<TR><TD><B>Enter</B></TD><TD>May cause the callback, see when().</TD></TR>
|
||||
<TR><TD><B>^A or Home</B></TD><TD>Go to start of line.</TD></TR>
|
||||
<TR><TD><B>^B or Left</B></TD><TD>Move left</TD></TR>
|
||||
<TR><TD><B>^C</B></TD><TD>Copy the selection to the clipboard</TD></TR>
|
||||
<TR><TD><B>^D or Delete</B></TD><TD>Deletes one character to the right
|
||||
or deletes the selected region.</TD></TR>
|
||||
<TR><TD><B>^E or End</B></TD><TD>Go to the end of line.</TD></TR>
|
||||
<TR><TD><B>^F or Right</B></TD><TD>Move right</TD></TR>
|
||||
<TR><TD><B>^K</B></TD><TD>Delete to the end of line (next \n character)
|
||||
or deletes a single \n character. These deletions are all concatenated
|
||||
into the clipboard.</TD></TR>
|
||||
<TR><TD><B>^N or Down</B></TD><TD>Move down (for Fl_Multiline_Input
|
||||
only, otherwise it moves to the next input field).</TD></TR>
|
||||
<TR><TD><B>^P or Up</B></TD><TD>Move up (for Fl_Multiline_Input only,
|
||||
otherwise it moves to the previous input field).</TD></TR>
|
||||
<TR><TD><B>^U</B></TD><TD>Delete everything.</TD></TR>
|
||||
<TR><TD><B>^V or ^Y</B></TD><TD>Paste the clipboard</TD></TR>
|
||||
<TR><TD><B>^X or ^W</B></TD><TD>Copy the region to the clipboard and
|
||||
delete it.</TD></TR>
|
||||
<TR><TD><B>^Z or ^_</B></TD><TD>Undo. This is a single-level undo
|
||||
mechanism, but all adjacent deletions and insertions are concatenated
|
||||
into a single "undo". Often this will undo a lot more than you
|
||||
expected.</TD></TR>
|
||||
<TR><TD><B>Shift+move</B></TD><TD>Move the cursor but also extend the
|
||||
selection.</TD></TR>
|
||||
|
||||
<TR><TD><B>RightCtrl or
|
||||
<BR>Compose</B></TD><TD><a name=compose>Start</A>
|
||||
a <A href="events.html#compose">compose-character</A>
|
||||
sequence. The next one or two keys typed define the character to
|
||||
insert (see table that follows.)
|
||||
|
||||
<p>For instance, to type "á" type [compose][a]['] or [compose]['][a].
|
||||
|
||||
<P>The character "nbsp" (non-breaking space) is typed by using
|
||||
[compose][space].
|
||||
|
||||
<P>The single-character sequences may be followed by a space if
|
||||
necessary to remove ambiguity. For instance, if you really want to
|
||||
type "ª~" rather than "ã" you must type [compose][a][space][~].
|
||||
|
||||
<p>The same key may be used to "quote" control characters into the
|
||||
text. If you need a <tt>^Q</tt> character you can get one by typing
|
||||
[compose][Control+Q].
|
||||
|
||||
<p>X may have a key on the keyboard
|
||||
defined as <tt>XK_Multi_key</tt>. If so this key may be used as well
|
||||
as the right-hand control key. You can set this up with the program
|
||||
<tt>xmodmap</tt>.
|
||||
|
||||
<p>If your keyboard is set to support a foreign language you should
|
||||
also be able to type "dead key" prefix characters. On X you will
|
||||
actually be able to see what dead key you typed, and if you then move
|
||||
the cursor without completing the sequence the accent will remain
|
||||
inserted.
|
||||
</TABLE></CENTER>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
<center><table border=1 summary="Character Composition Table">
|
||||
<caption align="top">Character Composition Table</caption>
|
||||
<tr>
|
||||
<th>Keys</th><th>Char</th>
|
||||
<th>Keys</th><th>Char</th>
|
||||
<th>Keys</th><th>Char</th>
|
||||
<th>Keys</th><th>Char</th>
|
||||
<th>Keys</th><th>Char</th>
|
||||
<th>Keys</th><th>Char</th>
|
||||
|
||||
</tr><tr>
|
||||
<td align=center><TT>sp</TT></td><td align=center><small>nbsp</small></td>
|
||||
<td align=center><TT>*</tt></td><td align=center>°</td>
|
||||
<td align=center><TT>` A</tt></td><td align=center>À</td>
|
||||
<td align=center><TT>D -</tt></td><td align=center>Ð</td>
|
||||
<td align=center><TT>` a</tt></td><td align=center>à</td>
|
||||
<td align=center><TT>d -</tt></td><td align=center>ð
|
||||
</tr><tr>
|
||||
<td align=center><TT>!</tt></td><td align=center>¡</td>
|
||||
<td align=center><TT>+ -</tt></td><td align=center>±</td>
|
||||
<td align=center><TT>' A</tt></td><td align=center>Á</td>
|
||||
<td align=center><TT>~ N</tt></td><td align=center>Ñ</td>
|
||||
<td align=center><TT>' a</tt></td><td align=center>á</td>
|
||||
<td align=center><TT>~ n</tt></td><td align=center>ñ
|
||||
</tr><tr>
|
||||
<td align=center><TT>%</tt></td><td align=center>¢</td>
|
||||
<td align=center><TT>2</tt></td><td align=center>²</td>
|
||||
<td align=center><TT>A ^</tt></td><td align=center>Â</td>
|
||||
<td align=center><TT>` O</tt></td><td align=center>Ò</td>
|
||||
<td align=center><TT>^ a</tt></td><td align=center>â</td>
|
||||
<td align=center><TT>` o</tt></td><td align=center>ò
|
||||
</tr><tr>
|
||||
<td align=center><TT>#</tt></td><td align=center>£</td>
|
||||
<td align=center><TT>3</tt></td><td align=center>³</td>
|
||||
<td align=center><TT>~ A</tt></td><td align=center>Ã</td>
|
||||
<td align=center><TT>' O</tt></td><td align=center>Ó</td>
|
||||
<td align=center><TT>~ a</tt></td><td align=center>ã</td>
|
||||
<td align=center><TT>' o</tt></td><td align=center>ó
|
||||
</tr><tr>
|
||||
<td align=center><TT>$</tt></td><td align=center>¤</td>
|
||||
<td align=center><TT>'</tt></td><td align=center>´</td>
|
||||
<td align=center><TT>: A</tt></td><td align=center>Ä</td>
|
||||
<td align=center><TT>^ O</tt></td><td align=center>Ô</td>
|
||||
<td align=center><TT>: a</tt></td><td align=center>ä</td>
|
||||
<td align=center><TT>^ o</tt></td><td align=center>ô
|
||||
</tr><tr>
|
||||
<td align=center><TT>y =</tt></td><td align=center>¥</td>
|
||||
<td align=center><TT>u</tt></td><td align=center>µ</td>
|
||||
<td align=center><TT>* A</tt></td><td align=center>Å</td>
|
||||
<td align=center><TT>~ O</tt></td><td align=center>Õ</td>
|
||||
<td align=center><TT>* a</tt></td><td align=center>å</td>
|
||||
<td align=center><TT>~ o</tt></td><td align=center>õ
|
||||
</tr><tr>
|
||||
<td align=center><TT>|</tt></td><td align=center>¦</td>
|
||||
<td align=center><TT>p</tt></td><td align=center>¶</td>
|
||||
<td align=center><TT>A E</tt></td><td align=center>Æ</td>
|
||||
<td align=center><TT>: O</tt></td><td align=center>Ö</td>
|
||||
<td align=center><TT>a e</tt></td><td align=center>æ</td>
|
||||
<td align=center><TT>: o</tt></td><td align=center>ö
|
||||
</tr><tr>
|
||||
<td align=center><TT>&</tt></td><td align=center>§</td>
|
||||
<td align=center><TT>.</tt></td><td align=center>·</td>
|
||||
<td align=center><TT>, C</tt></td><td align=center>Ç</td>
|
||||
<td align=center><TT>x</tt></td><td align=center>×</td>
|
||||
<td align=center><TT>, c</tt></td><td align=center>ç</td>
|
||||
<td align=center><TT>- :</tt></td><td align=center>÷
|
||||
</tr><tr>
|
||||
<td align=center><TT>:</tt></td><td align=center>¨</td>
|
||||
<td align=center><TT>,</tt></td><td align=center>¸</td>
|
||||
<td align=center><TT>E `</tt></td><td align=center>È</td>
|
||||
<td align=center><TT>O /</tt></td><td align=center>Ø</td>
|
||||
<td align=center><TT>` e</tt></td><td align=center>è</td>
|
||||
<td align=center><TT>o /</tt></td><td align=center>ø
|
||||
</tr><tr>
|
||||
<td align=center><TT>c</tt></td><td align=center>©</td>
|
||||
<td align=center><TT>1</tt></td><td align=center>¹</td>
|
||||
<td align=center><TT>' E</tt></td><td align=center>É</td>
|
||||
<td align=center><TT>` U</tt></td><td align=center>Ù</td>
|
||||
<td align=center><TT>' e</tt></td><td align=center>é</td>
|
||||
<td align=center><TT>` u</tt></td><td align=center>ù
|
||||
</tr><tr>
|
||||
<td align=center><TT>a</tt></td><td align=center>ª</td>
|
||||
<td align=center><TT>o</tt></td><td align=center>º</td>
|
||||
<td align=center><TT>^ E</tt></td><td align=center>Ê</td>
|
||||
<td align=center><TT>' U</tt></td><td align=center>Ú</td>
|
||||
<td align=center><TT>^ e</tt></td><td align=center>ê</td>
|
||||
<td align=center><TT>' u</tt></td><td align=center>ú
|
||||
</tr><tr>
|
||||
<td align=center><TT>< <</tt></td><td align=center>«</td>
|
||||
<td align=center><TT>> ></tt></td><td align=center>»</td>
|
||||
<td align=center><TT>: E</tt></td><td align=center>Ë</td>
|
||||
<td align=center><TT>^ U</tt></td><td align=center>Û</td>
|
||||
<td align=center><TT>: e</tt></td><td align=center>ë</td>
|
||||
<td align=center><TT>^ u</tt></td><td align=center>û
|
||||
</tr><tr>
|
||||
<td align=center><TT>~</tt></td><td align=center>¬</td>
|
||||
<td align=center><TT>1 4</tt></td><td align=center>¼</td>
|
||||
<td align=center><TT>` I</tt></td><td align=center>Ì</td>
|
||||
<td align=center><TT>: U</tt></td><td align=center>Ü</td>
|
||||
<td align=center><TT>` i</tt></td><td align=center>ì</td>
|
||||
<td align=center><TT>: u</tt></td><td align=center>ü
|
||||
</tr><tr>
|
||||
<td align=center><TT>-</tt></td><td align=center></td>
|
||||
<td align=center><TT>1 2</tt></td><td align=center>½</td>
|
||||
<td align=center><TT>' I</tt></td><td align=center>Í</td>
|
||||
<td align=center><TT>' Y</tt></td><td align=center>Ý</td>
|
||||
<td align=center><TT>' i</tt></td><td align=center>í</td>
|
||||
<td align=center><TT>' y</tt></td><td align=center>ý
|
||||
</tr><tr>
|
||||
<td align=center><TT>r</tt></td><td align=center>®</td>
|
||||
<td align=center><TT>3 4</tt></td><td align=center>¾</td>
|
||||
<td align=center><TT>^ I</tt></td><td align=center>Î</td>
|
||||
<td align=center><TT>T H</tt></td><td align=center>Þ</td>
|
||||
<td align=center><TT>^ i</tt></td><td align=center>î</td>
|
||||
<td align=center><TT>t h</tt></td><td align=center>þ
|
||||
</tr><tr>
|
||||
<td align=center><TT>_</tt></td><td align=center>¯</td>
|
||||
<td align=center><TT>?</tt></td><td align=center>¿</td>
|
||||
<td align=center><TT>: I</tt></td><td align=center>Ï</td>
|
||||
<td align=center><TT>s s</tt></td><td align=center>ß</td>
|
||||
<td align=center><TT>: i</tt></td><td align=center>ï</td>
|
||||
<td align=center><TT>: y</tt></td><td align=center>ÿ
|
||||
</table></center>
|
||||
|
||||
<H3>Methods</H3>
|
||||
<CENTER>
|
||||
<TABLE width=90% summary="Fl_Input methods.">
|
||||
<TR><TD align=left valign=top>
|
||||
<UL>
|
||||
<LI><A href=#Fl_Input.Fl_Input>Fl_Input</A></LI>
|
||||
<LI><A href=#Fl_Input.~Fl_Input>~Fl_Input</A></LI>
|
||||
<LI><A href=#Fl_Input.cursor_color>cursor_color</A></LI>
|
||||
</UL>
|
||||
</TD><TD align=left valign=top>
|
||||
<UL>
|
||||
<LI><A href=#Fl_Input.index>index</A></LI>
|
||||
<LI><A href=#Fl_Input.size>size</A></LI>
|
||||
</UL>
|
||||
</TD><TD align=left valign=top>
|
||||
<UL>
|
||||
<LI><A href=#Fl_Input.static_value>static_value</A></LI>
|
||||
<LI><A href=#Fl_Input.textcolor>textcolor</A></LI>
|
||||
</UL>
|
||||
</TD><TD align=left valign=top>
|
||||
<UL>
|
||||
<LI><A href=#Fl_Input.textfont>textfont</A></LI>
|
||||
<LI><A href=#Fl_Input.textsize>textsize</A></LI>
|
||||
</UL>
|
||||
</TD><TD align=left valign=top>
|
||||
<UL>
|
||||
<LI><A href=#Fl_Input.value>value</A></LI>
|
||||
<LI><A href=#Fl_Input.when>when</A></LI>
|
||||
</UL>
|
||||
</TD></TR>
|
||||
</TABLE>
|
||||
</CENTER>
|
||||
<H4><A name=Fl_Input.Fl_Input>Fl_Input::Fl_Input(int x, int y, int w,
|
||||
int h, const char *label = 0)</A></H4>
|
||||
Creates a new <TT>Fl_Input</TT> widget using the given position, size,
|
||||
and label string. The default boxtype is <TT>FL_DOWN_BOX</TT>.
|
||||
<H4><A name=Fl_Input.~Fl_Input>virtual Fl_Input::~Fl_Input()</A></H4>
|
||||
Destroys the widget and any value associated with it.
|
||||
<H4><A name=Fl_Input.value>const char *Fl_Input::value() const
|
||||
<BR> int Fl_Input::value(const char*)
|
||||
<BR> int Fl_Input::value(const char*, int)</A></H4>
|
||||
The first form returns the current value, which is a pointer to the
|
||||
internal buffer and is valid only until the next event is handled.
|
||||
<P>The second two forms change the text and set the mark and the point
|
||||
to the end of it. The string is copied to the internal buffer. Passing <TT>
|
||||
NULL</TT> is the same as "". This returns non-zero if the new value is
|
||||
different than the current one. You can use the second version to
|
||||
directly set the length if you know it already or want to put nul's in
|
||||
the text. </P>
|
||||
<H4><A name=Fl_Input.static_value>int Fl_Input::static_value(const
|
||||
char*)
|
||||
<BR> int Fl_Input::static_value(const char*, int)</A></H4>
|
||||
Change the text and set the mark and the point to the end of it. The
|
||||
string is <I>not</I> copied. If the user edits the string it is copied
|
||||
to the internal buffer then. This can save a great deal of time and
|
||||
memory if your program is rapidly changing the values of text fields,
|
||||
but this will only work if the passed string remains unchanged until
|
||||
either the <TT>Fl_Input</TT> is destroyed or <TT>value()</TT> is called
|
||||
again.
|
||||
<H4><A name=Fl_Input.size>int Fl_Input::size() const</A></H4>
|
||||
Returns the number of characters in <TT>value()</TT>. This may be
|
||||
greater than <TT>strlen(value())</TT> if there are nul characters in
|
||||
it.
|
||||
<H4><A name=Fl_Input.index>char Fl_Input::index(int) const</A></H4>
|
||||
Same as <TT>value()[n]</TT>, but may be faster in plausible
|
||||
implementations. No bounds checking is done.
|
||||
<H4><A name=Fl_Input.when>Fl_When Fl_Widget::when() const
|
||||
<BR> void Fl_Widget::when(Fl_When)</A></H4>
|
||||
Controls when callbacks are done. The following values are useful,
|
||||
the default value is <TT>FL_WHEN_RELEASE</TT>:
|
||||
<UL>
|
||||
<LI><TT>0</TT>: The callback is not done, but <TT>changed()</TT> is
|
||||
turned on. </LI>
|
||||
<LI><TT>FL_WHEN_CHANGED</TT>: The callback is done each time the text
|
||||
is changed by the user. </LI>
|
||||
<LI><TT>FL_WHEN_RELEASE</TT>: The callback will be done when this
|
||||
widget loses the focus, including when the window is unmapped. This
|
||||
is a useful value for text fields in a panel where doing the callback
|
||||
on every change is wasteful. However the callback will also happen if
|
||||
the mouse is moved out of the window, which means it should not do
|
||||
anything visible (like pop up an error message). You might do better
|
||||
setting this to zero, and scanning all the items for <TT>changed()</TT>
|
||||
when the OK button on a panel is pressed. </LI>
|
||||
<LI><TT>FL_WHEN_ENTER_KEY</TT>: If the user types the Enter key, the
|
||||
entire text is selected, and the callback is done if the text has
|
||||
changed. Normally the Enter key will navigate to the next field (or
|
||||
insert a newline for a <TT>Fl_Mulitline_Input</TT>), this changes the
|
||||
behavior. </LI>
|
||||
<LI><TT>FL_WHEN_ENTER_KEY|FL_WHEN_NOT_CHANGED</TT>: The Enter key will
|
||||
do the callback even if the text has not changed. Useful for command
|
||||
fields. </LI>
|
||||
</UL>
|
||||
<H4><A name=Fl_Input.textcolor>Fl_Color Fl_Input::textcolor() const
|
||||
<BR> void Fl_Input::textcolor(Fl_Color)</A></H4>
|
||||
Gets or sets the color of the text in the input field.
|
||||
<H4><A name=Fl_Input.textfont>Fl_Font Fl_Input::textfont() const
|
||||
<BR> void Fl_Input::textfont(Fl_Font)</A></H4>
|
||||
Gets or sets the font of the text in the input field.
|
||||
<H4><A name=Fl_Input.textsize>uchar Fl_Input::textsize() const
|
||||
<BR> void Fl_Input::textsize(uchar)</A></H4>
|
||||
Gets or sets the size of the text in the input field.
|
||||
<H4><A name=Fl_Input.cursor_color>Fl_Color Fl_Input::cursor_color()
|
||||
const
|
||||
<BR> void Fl_Input::cursor_color(Fl_Color)</A></H4>
|
||||
Get or set the color of the cursor. This is black by default.
|
||||
|
||||
</BODY></HTML>
|
||||
<UL>
|
||||
|
||||
<LI><A HREF="#Fl_Text_Display.Fl_Text_Display">Fl_Text_Display</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.~Fl_Text_Display">~Fl_Text_Display</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.buffer">buffer</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.cursor_style">cursor_style</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.hide_cursor">hide_cursor</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.highlight_data">highlight_data</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.in_selection">in_selection</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.insert">insert</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.insert_position">insert_position</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.move_down">move_down</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.move_left">move_left</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.move_right">move_right</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.move_up">move_up</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.next_word">next_word</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.overstrike">overstrike</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.position_style">position_style</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.previous_word">previous_word</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.redisplay_range">redisplay_range</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.scrollbar_align">scrollbar_align</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.scrollbar_width">scrollbar_width</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.scroll">scroll</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.show_cursor">show_cursor</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.show_insert_position">show_insert_position</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.textcolor">textcolor</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.textfont">textfont</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.textsize">textsize</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.word_end">word_end</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Display.word_start">word_start</A></LI>
|
||||
|
||||
</UL>
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.Fl_Text_Display">Fl_Text_Display(int X, int Y, int W, int H, const char *l = 0);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.~Fl_Text_Display">~Fl_Text_Display();</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.buffer">void buffer(Fl_Text_Buffer* buf);<BR>
|
||||
void buffer(Fl_Text_Buffer& buf);<BR>
|
||||
Fl_Text_Buffer* buffer();</A></H4>
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.cursor_style">void cursor_style(int style);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.hide_cursor">void hide_cursor();</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.highlight_data">void highlight_data(Fl_Text_Buffer *styleBuffer,
|
||||
Style_Table_Entry *styleTable, int nStyles, char
|
||||
unfinishedStyle, Unfinished_Style_Cb unfinishedHighlightCB, void
|
||||
*cbArg);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.in_selection">int in_selection(int x, int y);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.insert">void insert(const char* text);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.insert_position">void insert_position(int newPos);<BR>
|
||||
int insert_position()</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.move_down">int move_down();</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.move_left">int move_left();</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.move_right">int move_right();</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.move_up">int move_up();</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.next_word">void next_word(void);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.overstrike">void overstrike(const char* text);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.position_style">int position_style(int lineStartPos, int lineLen, int lineIndex,
|
||||
int dispIndex);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.previous_word">void previous_word(void);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.redisplay_range">void redisplay_range(int start, int end);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.scrollbar_align">void scrollbar_align(Fl_Align a);<BR>
|
||||
Fl_Align scrollbar_align();</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.scrollbar_width">void scrollbar_width(int w);<BR>
|
||||
int scrollbar_width();</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.scroll">void scroll(int topLineNum, int horizOffset);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.show_cursor">void show_cursor(int b = 1);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.show_insert_position">void show_insert_position();</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.textcolor">void textcolor(unsigned n);<BR>
|
||||
Fl_Color textcolor() const;</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.textfont">void textfont(uchar s);<BR>
|
||||
Fl_Font textfont() const;</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.textsize">void textsize(uchar s);<BR>
|
||||
uchar textsize() const;</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.word_end">int word_end(int pos);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Display.word_start">int word_start(int pos);</A></H4>
|
||||
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
+155
-318
@@ -1,336 +1,173 @@
|
||||
<HTML><BODY>
|
||||
<HTML>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
<H2><A name=Fl_Input>class Fl_Input</A></H2>
|
||||
|
||||
<H2><A name=Fl_Text_Editor>class Fl_Text_Editor</A></H2>
|
||||
|
||||
<HR>
|
||||
|
||||
<H3>Class Hierarchy</H3>
|
||||
|
||||
<UL>
|
||||
<PRE>
|
||||
<A href=Fl_Input_.html#Fl_Input_>Fl_Input_</A>
|
||||
<A href="Fl_Text_Display.html">Fl_Text_Display</A>
|
||||
|
|
||||
+----<B>Fl_Input</B>
|
||||
|
|
||||
+----<A href=Fl_Float_Input.html#Fl_Float_Input>Fl_Float_Input</A>, <A href=Fl_Int_Input.html#Fl_Int_Input>Fl_Int_Input</A>,
|
||||
<A href=Fl_Multiline_Input.html#Fl_Multiline_Input>Fl_Multiline_Input</A>, <A href=Fl_Secret_Input.html#Fl_Secret_Input>Fl_Secret_Input</A>
|
||||
+----<B>Fl_Text_Editor</B>
|
||||
</PRE>
|
||||
</UL>
|
||||
|
||||
<H3>Include Files</H3>
|
||||
|
||||
<UL>
|
||||
<PRE>
|
||||
#include <FL/Fl_Input.H>
|
||||
#include <FL/Fl_Text_Editor.H>
|
||||
</PRE>
|
||||
</UL>
|
||||
|
||||
<H3>Description</H3>
|
||||
<P>This is the FLTK text input widget. It displays a single line of text
|
||||
and lets the user edit it. Normally it is drawn with an inset box and
|
||||
a white background. The text may contain any characters (even 0), and
|
||||
will correctly display anything, using ^X notation for unprintable
|
||||
control characters and \nnn notation for unprintable characters with
|
||||
the high bit set. It assumes the font can draw any characters in the
|
||||
ISO-8859-1 character set.
|
||||
|
||||
<CENTER><TABLE border=1 WIDTH=90% summary="Fl_Input keyboard and mouse bindings.">
|
||||
|
||||
<TR><TD WIDTH=200><B>Mouse button 1</B></TD><TD>Moves the cursor to
|
||||
this point. Drag selects characters. Double click selects words.
|
||||
Triple click selects all text. Shift+click extends the selection.
|
||||
When you select text it is automatically copied to the clipboard.
|
||||
</TD></TR>
|
||||
|
||||
<TR><TD><B>Mouse button 2</B></TD><TD>Insert the clipboard at
|
||||
the point clicked. You can also select a region and replace it with the
|
||||
clipboard by selecting the region with mouse button 2.
|
||||
</TD></TR>
|
||||
|
||||
<TR><TD><B>Mouse button 3</B></TD><TD>Currently acts like button 1.</TD></TR>
|
||||
|
||||
<TR><TD><B>Backspace</B></TD><TD>Deletes one character to the left, or
|
||||
deletes the selected region.</TD></TR>
|
||||
<TR><TD><B>Enter</B></TD><TD>May cause the callback, see when().</TD></TR>
|
||||
<TR><TD><B>^A or Home</B></TD><TD>Go to start of line.</TD></TR>
|
||||
<TR><TD><B>^B or Left</B></TD><TD>Move left</TD></TR>
|
||||
<TR><TD><B>^C</B></TD><TD>Copy the selection to the clipboard</TD></TR>
|
||||
<TR><TD><B>^D or Delete</B></TD><TD>Deletes one character to the right
|
||||
or deletes the selected region.</TD></TR>
|
||||
<TR><TD><B>^E or End</B></TD><TD>Go to the end of line.</TD></TR>
|
||||
<TR><TD><B>^F or Right</B></TD><TD>Move right</TD></TR>
|
||||
<TR><TD><B>^K</B></TD><TD>Delete to the end of line (next \n character)
|
||||
or deletes a single \n character. These deletions are all concatenated
|
||||
into the clipboard.</TD></TR>
|
||||
<TR><TD><B>^N or Down</B></TD><TD>Move down (for Fl_Multiline_Input
|
||||
only, otherwise it moves to the next input field).</TD></TR>
|
||||
<TR><TD><B>^P or Up</B></TD><TD>Move up (for Fl_Multiline_Input only,
|
||||
otherwise it moves to the previous input field).</TD></TR>
|
||||
<TR><TD><B>^U</B></TD><TD>Delete everything.</TD></TR>
|
||||
<TR><TD><B>^V or ^Y</B></TD><TD>Paste the clipboard</TD></TR>
|
||||
<TR><TD><B>^X or ^W</B></TD><TD>Copy the region to the clipboard and
|
||||
delete it.</TD></TR>
|
||||
<TR><TD><B>^Z or ^_</B></TD><TD>Undo. This is a single-level undo
|
||||
mechanism, but all adjacent deletions and insertions are concatenated
|
||||
into a single "undo". Often this will undo a lot more than you
|
||||
expected.</TD></TR>
|
||||
<TR><TD><B>Shift+move</B></TD><TD>Move the cursor but also extend the
|
||||
selection.</TD></TR>
|
||||
|
||||
<TR><TD><B>RightCtrl or
|
||||
<BR>Compose</B></TD><TD><a name=compose>Start</A>
|
||||
a <A href="events.html#compose">compose-character</A>
|
||||
sequence. The next one or two keys typed define the character to
|
||||
insert (see table that follows.)
|
||||
|
||||
<p>For instance, to type "á" type [compose][a]['] or [compose]['][a].
|
||||
|
||||
<P>The character "nbsp" (non-breaking space) is typed by using
|
||||
[compose][space].
|
||||
|
||||
<P>The single-character sequences may be followed by a space if
|
||||
necessary to remove ambiguity. For instance, if you really want to
|
||||
type "ª~" rather than "ã" you must type [compose][a][space][~].
|
||||
|
||||
<p>The same key may be used to "quote" control characters into the
|
||||
text. If you need a <tt>^Q</tt> character you can get one by typing
|
||||
[compose][Control+Q].
|
||||
|
||||
<p>X may have a key on the keyboard
|
||||
defined as <tt>XK_Multi_key</tt>. If so this key may be used as well
|
||||
as the right-hand control key. You can set this up with the program
|
||||
<tt>xmodmap</tt>.
|
||||
|
||||
<p>If your keyboard is set to support a foreign language you should
|
||||
also be able to type "dead key" prefix characters. On X you will
|
||||
actually be able to see what dead key you typed, and if you then move
|
||||
the cursor without completing the sequence the accent will remain
|
||||
inserted.
|
||||
</TABLE></CENTER>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
<center><table border=1 summary="Character Composition Table">
|
||||
<caption align="top">Character Composition Table</caption>
|
||||
<tr>
|
||||
<th>Keys</th><th>Char</th>
|
||||
<th>Keys</th><th>Char</th>
|
||||
<th>Keys</th><th>Char</th>
|
||||
<th>Keys</th><th>Char</th>
|
||||
<th>Keys</th><th>Char</th>
|
||||
<th>Keys</th><th>Char</th>
|
||||
|
||||
</tr><tr>
|
||||
<td align=center><TT>sp</TT></td><td align=center><small>nbsp</small></td>
|
||||
<td align=center><TT>*</tt></td><td align=center>°</td>
|
||||
<td align=center><TT>` A</tt></td><td align=center>À</td>
|
||||
<td align=center><TT>D -</tt></td><td align=center>Ð</td>
|
||||
<td align=center><TT>` a</tt></td><td align=center>à</td>
|
||||
<td align=center><TT>d -</tt></td><td align=center>ð
|
||||
</tr><tr>
|
||||
<td align=center><TT>!</tt></td><td align=center>¡</td>
|
||||
<td align=center><TT>+ -</tt></td><td align=center>±</td>
|
||||
<td align=center><TT>' A</tt></td><td align=center>Á</td>
|
||||
<td align=center><TT>~ N</tt></td><td align=center>Ñ</td>
|
||||
<td align=center><TT>' a</tt></td><td align=center>á</td>
|
||||
<td align=center><TT>~ n</tt></td><td align=center>ñ
|
||||
</tr><tr>
|
||||
<td align=center><TT>%</tt></td><td align=center>¢</td>
|
||||
<td align=center><TT>2</tt></td><td align=center>²</td>
|
||||
<td align=center><TT>A ^</tt></td><td align=center>Â</td>
|
||||
<td align=center><TT>` O</tt></td><td align=center>Ò</td>
|
||||
<td align=center><TT>^ a</tt></td><td align=center>â</td>
|
||||
<td align=center><TT>` o</tt></td><td align=center>ò
|
||||
</tr><tr>
|
||||
<td align=center><TT>#</tt></td><td align=center>£</td>
|
||||
<td align=center><TT>3</tt></td><td align=center>³</td>
|
||||
<td align=center><TT>~ A</tt></td><td align=center>Ã</td>
|
||||
<td align=center><TT>' O</tt></td><td align=center>Ó</td>
|
||||
<td align=center><TT>~ a</tt></td><td align=center>ã</td>
|
||||
<td align=center><TT>' o</tt></td><td align=center>ó
|
||||
</tr><tr>
|
||||
<td align=center><TT>$</tt></td><td align=center>¤</td>
|
||||
<td align=center><TT>'</tt></td><td align=center>´</td>
|
||||
<td align=center><TT>: A</tt></td><td align=center>Ä</td>
|
||||
<td align=center><TT>^ O</tt></td><td align=center>Ô</td>
|
||||
<td align=center><TT>: a</tt></td><td align=center>ä</td>
|
||||
<td align=center><TT>^ o</tt></td><td align=center>ô
|
||||
</tr><tr>
|
||||
<td align=center><TT>y =</tt></td><td align=center>¥</td>
|
||||
<td align=center><TT>u</tt></td><td align=center>µ</td>
|
||||
<td align=center><TT>* A</tt></td><td align=center>Å</td>
|
||||
<td align=center><TT>~ O</tt></td><td align=center>Õ</td>
|
||||
<td align=center><TT>* a</tt></td><td align=center>å</td>
|
||||
<td align=center><TT>~ o</tt></td><td align=center>õ
|
||||
</tr><tr>
|
||||
<td align=center><TT>|</tt></td><td align=center>¦</td>
|
||||
<td align=center><TT>p</tt></td><td align=center>¶</td>
|
||||
<td align=center><TT>A E</tt></td><td align=center>Æ</td>
|
||||
<td align=center><TT>: O</tt></td><td align=center>Ö</td>
|
||||
<td align=center><TT>a e</tt></td><td align=center>æ</td>
|
||||
<td align=center><TT>: o</tt></td><td align=center>ö
|
||||
</tr><tr>
|
||||
<td align=center><TT>&</tt></td><td align=center>§</td>
|
||||
<td align=center><TT>.</tt></td><td align=center>·</td>
|
||||
<td align=center><TT>, C</tt></td><td align=center>Ç</td>
|
||||
<td align=center><TT>x</tt></td><td align=center>×</td>
|
||||
<td align=center><TT>, c</tt></td><td align=center>ç</td>
|
||||
<td align=center><TT>- :</tt></td><td align=center>÷
|
||||
</tr><tr>
|
||||
<td align=center><TT>:</tt></td><td align=center>¨</td>
|
||||
<td align=center><TT>,</tt></td><td align=center>¸</td>
|
||||
<td align=center><TT>E `</tt></td><td align=center>È</td>
|
||||
<td align=center><TT>O /</tt></td><td align=center>Ø</td>
|
||||
<td align=center><TT>` e</tt></td><td align=center>è</td>
|
||||
<td align=center><TT>o /</tt></td><td align=center>ø
|
||||
</tr><tr>
|
||||
<td align=center><TT>c</tt></td><td align=center>©</td>
|
||||
<td align=center><TT>1</tt></td><td align=center>¹</td>
|
||||
<td align=center><TT>' E</tt></td><td align=center>É</td>
|
||||
<td align=center><TT>` U</tt></td><td align=center>Ù</td>
|
||||
<td align=center><TT>' e</tt></td><td align=center>é</td>
|
||||
<td align=center><TT>` u</tt></td><td align=center>ù
|
||||
</tr><tr>
|
||||
<td align=center><TT>a</tt></td><td align=center>ª</td>
|
||||
<td align=center><TT>o</tt></td><td align=center>º</td>
|
||||
<td align=center><TT>^ E</tt></td><td align=center>Ê</td>
|
||||
<td align=center><TT>' U</tt></td><td align=center>Ú</td>
|
||||
<td align=center><TT>^ e</tt></td><td align=center>ê</td>
|
||||
<td align=center><TT>' u</tt></td><td align=center>ú
|
||||
</tr><tr>
|
||||
<td align=center><TT>< <</tt></td><td align=center>«</td>
|
||||
<td align=center><TT>> ></tt></td><td align=center>»</td>
|
||||
<td align=center><TT>: E</tt></td><td align=center>Ë</td>
|
||||
<td align=center><TT>^ U</tt></td><td align=center>Û</td>
|
||||
<td align=center><TT>: e</tt></td><td align=center>ë</td>
|
||||
<td align=center><TT>^ u</tt></td><td align=center>û
|
||||
</tr><tr>
|
||||
<td align=center><TT>~</tt></td><td align=center>¬</td>
|
||||
<td align=center><TT>1 4</tt></td><td align=center>¼</td>
|
||||
<td align=center><TT>` I</tt></td><td align=center>Ì</td>
|
||||
<td align=center><TT>: U</tt></td><td align=center>Ü</td>
|
||||
<td align=center><TT>` i</tt></td><td align=center>ì</td>
|
||||
<td align=center><TT>: u</tt></td><td align=center>ü
|
||||
</tr><tr>
|
||||
<td align=center><TT>-</tt></td><td align=center></td>
|
||||
<td align=center><TT>1 2</tt></td><td align=center>½</td>
|
||||
<td align=center><TT>' I</tt></td><td align=center>Í</td>
|
||||
<td align=center><TT>' Y</tt></td><td align=center>Ý</td>
|
||||
<td align=center><TT>' i</tt></td><td align=center>í</td>
|
||||
<td align=center><TT>' y</tt></td><td align=center>ý
|
||||
</tr><tr>
|
||||
<td align=center><TT>r</tt></td><td align=center>®</td>
|
||||
<td align=center><TT>3 4</tt></td><td align=center>¾</td>
|
||||
<td align=center><TT>^ I</tt></td><td align=center>Î</td>
|
||||
<td align=center><TT>T H</tt></td><td align=center>Þ</td>
|
||||
<td align=center><TT>^ i</tt></td><td align=center>î</td>
|
||||
<td align=center><TT>t h</tt></td><td align=center>þ
|
||||
</tr><tr>
|
||||
<td align=center><TT>_</tt></td><td align=center>¯</td>
|
||||
<td align=center><TT>?</tt></td><td align=center>¿</td>
|
||||
<td align=center><TT>: I</tt></td><td align=center>Ï</td>
|
||||
<td align=center><TT>s s</tt></td><td align=center>ß</td>
|
||||
<td align=center><TT>: i</tt></td><td align=center>ï</td>
|
||||
<td align=center><TT>: y</tt></td><td align=center>ÿ
|
||||
</table></center>
|
||||
<P>This is the FLTK text editor widget. It allows the user to
|
||||
edit multiple lines of text and supports highlighting and
|
||||
scrolling. The buffer that is displayed in the widget is managed
|
||||
by the <A HREF="Fl_Text_Buffer.html"><TT>Fl_Text_Buffer</TT></A>
|
||||
class.
|
||||
|
||||
<H3>Methods</H3>
|
||||
<CENTER>
|
||||
<TABLE width=90% summary="Fl_Input methods.">
|
||||
<TR><TD align=left valign=top>
|
||||
<UL>
|
||||
<LI><A href=#Fl_Input.Fl_Input>Fl_Input</A></LI>
|
||||
<LI><A href=#Fl_Input.~Fl_Input>~Fl_Input</A></LI>
|
||||
<LI><A href=#Fl_Input.cursor_color>cursor_color</A></LI>
|
||||
</UL>
|
||||
</TD><TD align=left valign=top>
|
||||
<UL>
|
||||
<LI><A href=#Fl_Input.index>index</A></LI>
|
||||
<LI><A href=#Fl_Input.size>size</A></LI>
|
||||
</UL>
|
||||
</TD><TD align=left valign=top>
|
||||
<UL>
|
||||
<LI><A href=#Fl_Input.static_value>static_value</A></LI>
|
||||
<LI><A href=#Fl_Input.textcolor>textcolor</A></LI>
|
||||
</UL>
|
||||
</TD><TD align=left valign=top>
|
||||
<UL>
|
||||
<LI><A href=#Fl_Input.textfont>textfont</A></LI>
|
||||
<LI><A href=#Fl_Input.textsize>textsize</A></LI>
|
||||
</UL>
|
||||
</TD><TD align=left valign=top>
|
||||
<UL>
|
||||
<LI><A href=#Fl_Input.value>value</A></LI>
|
||||
<LI><A href=#Fl_Input.when>when</A></LI>
|
||||
</UL>
|
||||
</TD></TR>
|
||||
</TABLE>
|
||||
</CENTER>
|
||||
<H4><A name=Fl_Input.Fl_Input>Fl_Input::Fl_Input(int x, int y, int w,
|
||||
int h, const char *label = 0)</A></H4>
|
||||
Creates a new <TT>Fl_Input</TT> widget using the given position, size,
|
||||
and label string. The default boxtype is <TT>FL_DOWN_BOX</TT>.
|
||||
<H4><A name=Fl_Input.~Fl_Input>virtual Fl_Input::~Fl_Input()</A></H4>
|
||||
Destroys the widget and any value associated with it.
|
||||
<H4><A name=Fl_Input.value>const char *Fl_Input::value() const
|
||||
<BR> int Fl_Input::value(const char*)
|
||||
<BR> int Fl_Input::value(const char*, int)</A></H4>
|
||||
The first form returns the current value, which is a pointer to the
|
||||
internal buffer and is valid only until the next event is handled.
|
||||
<P>The second two forms change the text and set the mark and the point
|
||||
to the end of it. The string is copied to the internal buffer. Passing <TT>
|
||||
NULL</TT> is the same as "". This returns non-zero if the new value is
|
||||
different than the current one. You can use the second version to
|
||||
directly set the length if you know it already or want to put nul's in
|
||||
the text. </P>
|
||||
<H4><A name=Fl_Input.static_value>int Fl_Input::static_value(const
|
||||
char*)
|
||||
<BR> int Fl_Input::static_value(const char*, int)</A></H4>
|
||||
Change the text and set the mark and the point to the end of it. The
|
||||
string is <I>not</I> copied. If the user edits the string it is copied
|
||||
to the internal buffer then. This can save a great deal of time and
|
||||
memory if your program is rapidly changing the values of text fields,
|
||||
but this will only work if the passed string remains unchanged until
|
||||
either the <TT>Fl_Input</TT> is destroyed or <TT>value()</TT> is called
|
||||
again.
|
||||
<H4><A name=Fl_Input.size>int Fl_Input::size() const</A></H4>
|
||||
Returns the number of characters in <TT>value()</TT>. This may be
|
||||
greater than <TT>strlen(value())</TT> if there are nul characters in
|
||||
it.
|
||||
<H4><A name=Fl_Input.index>char Fl_Input::index(int) const</A></H4>
|
||||
Same as <TT>value()[n]</TT>, but may be faster in plausible
|
||||
implementations. No bounds checking is done.
|
||||
<H4><A name=Fl_Input.when>Fl_When Fl_Widget::when() const
|
||||
<BR> void Fl_Widget::when(Fl_When)</A></H4>
|
||||
Controls when callbacks are done. The following values are useful,
|
||||
the default value is <TT>FL_WHEN_RELEASE</TT>:
|
||||
<UL>
|
||||
<LI><TT>0</TT>: The callback is not done, but <TT>changed()</TT> is
|
||||
turned on. </LI>
|
||||
<LI><TT>FL_WHEN_CHANGED</TT>: The callback is done each time the text
|
||||
is changed by the user. </LI>
|
||||
<LI><TT>FL_WHEN_RELEASE</TT>: The callback will be done when this
|
||||
widget loses the focus, including when the window is unmapped. This
|
||||
is a useful value for text fields in a panel where doing the callback
|
||||
on every change is wasteful. However the callback will also happen if
|
||||
the mouse is moved out of the window, which means it should not do
|
||||
anything visible (like pop up an error message). You might do better
|
||||
setting this to zero, and scanning all the items for <TT>changed()</TT>
|
||||
when the OK button on a panel is pressed. </LI>
|
||||
<LI><TT>FL_WHEN_ENTER_KEY</TT>: If the user types the Enter key, the
|
||||
entire text is selected, and the callback is done if the text has
|
||||
changed. Normally the Enter key will navigate to the next field (or
|
||||
insert a newline for a <TT>Fl_Mulitline_Input</TT>), this changes the
|
||||
behavior. </LI>
|
||||
<LI><TT>FL_WHEN_ENTER_KEY|FL_WHEN_NOT_CHANGED</TT>: The Enter key will
|
||||
do the callback even if the text has not changed. Useful for command
|
||||
fields. </LI>
|
||||
</UL>
|
||||
<H4><A name=Fl_Input.textcolor>Fl_Color Fl_Input::textcolor() const
|
||||
<BR> void Fl_Input::textcolor(Fl_Color)</A></H4>
|
||||
Gets or sets the color of the text in the input field.
|
||||
<H4><A name=Fl_Input.textfont>Fl_Font Fl_Input::textfont() const
|
||||
<BR> void Fl_Input::textfont(Fl_Font)</A></H4>
|
||||
Gets or sets the font of the text in the input field.
|
||||
<H4><A name=Fl_Input.textsize>uchar Fl_Input::textsize() const
|
||||
<BR> void Fl_Input::textsize(uchar)</A></H4>
|
||||
Gets or sets the size of the text in the input field.
|
||||
<H4><A name=Fl_Input.cursor_color>Fl_Color Fl_Input::cursor_color()
|
||||
const
|
||||
<BR> void Fl_Input::cursor_color(Fl_Color)</A></H4>
|
||||
Get or set the color of the cursor. This is black by default.
|
||||
|
||||
</BODY></HTML>
|
||||
<UL>
|
||||
|
||||
<LI><A HREF="#Fl_Text_Editor.Fl_Text_Editor">Fl_Text_Editor</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.~Fl_Text_Editor">~Fl_Text_Editor</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.add_default_key_bindings">add_default_key_bindings</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.add_key_binding">add_key_binding</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.bound_key_function">bound_key_function</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.default_key_function">default_key_function</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.insert_mode">insert_mode</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.kf_backspace">kf_backspace</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.kf_copy">kf_copy</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.kf_c_s_move">kf_c_s_move</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.kf_ctrl_move">kf_ctrl_move</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.kf_cut">kf_cut</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.kf_default">kf_default</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.kf_delete">kf_delete</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.kf_down">kf_down</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.kf_end">kf_end</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.kf_enter">kf_enter</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.kf_home">kf_home</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.kf_ignore">kf_ignore</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.kf_insert">kf_insert</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.kf_left">kf_left</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.kf_move">kf_move</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.kf_page_down">kf_page_down</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.kf_page_up">kf_page_up</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.kf_paste">kf_paste</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.kf_right">kf_right</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.kf_select_all">kf_select_all</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.kf_shift_move">kf_shift_move</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.kf_up">kf_up</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.remove_all_key_bindings">remove_all_key_bindings</A></LI>
|
||||
<LI><A HREF="#Fl_Text_Editor.remove_key_binding">remove_key_binding</A></LI>
|
||||
|
||||
</UL>
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.Fl_Text_Editor">Fl_Text_Editor(int X, int Y, int W, int H, const char* l = 0);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.~Fl_Text_Editor">~Fl_Text_Editor();</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.add_default_key_bindings">void add_default_key_bindings(Key_Binding** list);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.add_key_binding">void add_key_binding(int key, int state, Key_Func f, Key_Binding** list);<BR>
|
||||
void add_key_binding(int key, int state, Key_Func f);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.bound_key_function">Key_Func bound_key_function(int key, int state, Key_Binding* list);<BR>
|
||||
Key_Func bound_key_function(int key, int state);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.default_key_function">void default_key_function(Key_Func f);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.insert_mode">void insert_mode(int b);<BR>
|
||||
int insert_mode();</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.kf_backspace">int kf_backspace(int c, Fl_Text_Editor* e);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.kf_copy">int kf_copy(int c, Fl_Text_Editor* e);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.kf_c_s_move">int kf_c_s_move(int c, Fl_Text_Editor* e);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.kf_ctrl_move">int kf_ctrl_move(int c, Fl_Text_Editor* e);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.kf_cut">int kf_cut(int c, Fl_Text_Editor* e);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.kf_default">int kf_default(int c, Fl_Text_Editor* e);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.kf_delete">int kf_delete(int c, Fl_Text_Editor* e);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.kf_down">int kf_down(int c, Fl_Text_Editor* e);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.kf_end">int kf_end(int c, Fl_Text_Editor* e);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.kf_enter">int kf_enter(int c, Fl_Text_Editor* e);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.kf_home">int kf_home(int c, Fl_Text_Editor* e);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.kf_ignore">int kf_ignore(int c, Fl_Text_Editor* e);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.kf_insert">int kf_insert(int c, Fl_Text_Editor* e);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.kf_left">int kf_left(int c, Fl_Text_Editor* e);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.kf_move">int kf_move(int c, Fl_Text_Editor* e);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.kf_page_down">int kf_page_down(int c, Fl_Text_Editor* e);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.kf_page_up">int kf_page_up(int c, Fl_Text_Editor* e);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.kf_paste">int kf_paste(int c, Fl_Text_Editor* e);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.kf_right">int kf_right(int c, Fl_Text_Editor* e);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.kf_select_all">int kf_select_all(int c, Fl_Text_Editor* e);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.kf_shift_move">int kf_shift_move(int c, Fl_Text_Editor* e);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.kf_up">int kf_up(int c, Fl_Text_Editor* e);</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.remove_all_key_bindings">void remove_all_key_bindings(Key_Binding** list);<BR>
|
||||
void remove_all_key_bindings();</A></H4>
|
||||
|
||||
|
||||
<H4><A NAME="Fl_Text_Editor.remove_key_binding">void remove_key_binding(int key, int state, Key_Binding** list);<BR>
|
||||
void remove_key_binding(int key, int state);</A></H4>
|
||||
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
<HTML>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
||||
<H2><A name="Fl_Tooltip">class Fl_Tooltip</A></H2>
|
||||
<HR>
|
||||
|
||||
<H3>Class Hierarchy</H3>
|
||||
|
||||
<UL><PRE>
|
||||
<B>Fl_Tooltip</B>
|
||||
</PRE></UL>
|
||||
|
||||
<H3>Include Files</H3>
|
||||
|
||||
<UL><PRE>
|
||||
#include &lt;FL/Fl_Tooltip.H&gt;
|
||||
</PRE></UL>
|
||||
|
||||
<H3>Description</H3>
|
||||
|
||||
<P>The <TT>Fl_Tooltip</TT> class provides tooltip support for
|
||||
all FLTK widgets.</P>
|
||||
|
||||
<H3>Methods</H3>
|
||||
|
||||
<UL>
|
||||
|
||||
<LI><A HREF="#Fl_Tooltip.color">color</A></LI>
|
||||
<LI><A HREF="#Fl_Tooltip.delay">delay</A></LI>
|
||||
<LI><A HREF="#Fl_Tooltip.disable">disable</A></LI>
|
||||
<LI><A HREF="#Fl_Tooltip.enabled">enabled</A></LI>
|
||||
<LI><A HREF="#Fl_Tooltip.enable">enable</A></LI>
|
||||
<LI><A HREF="#Fl_Tooltip.enter">enter</A></LI>
|
||||
<LI><A HREF="#Fl_Tooltip.exit">exit</A></LI>
|
||||
<LI><A HREF="#Fl_Tooltip.font">font</A></LI>
|
||||
<LI><A HREF="#Fl_Tooltip.size">size</A></LI>
|
||||
|
||||
</UL>
|
||||
|
||||
<H4><A NAME="Fl_Tooltip.color">void color(unsigned c);<BR>
|
||||
Fl_Color color();</A></H4>
|
||||
|
||||
<P>Gets or sets the background color for tooltips. The label color is
|
||||
set to white or black depending on the background color. The default
|
||||
background color is a pale yellow.
|
||||
|
||||
<H4><A NAME="Fl_Tooltip.delay">void delay(float f);<BR>
|
||||
float delay();</A></H4>
|
||||
|
||||
<P>Gets or sets the tooltip delay. The default delay is 0.5 seconds.
|
||||
|
||||
<H4><A NAME="Fl_Tooltip.disable">void disable();</A></H4>
|
||||
|
||||
<P>Disables tooltips on all widgets.
|
||||
|
||||
<H4><A NAME="Fl_Tooltip.enabled">int enabled();</A></H4>
|
||||
|
||||
<P>Returns non-zero if tooltips are enabled.
|
||||
|
||||
<H4><A NAME="Fl_Tooltip.enable">void enable(int b = 1);</A></H4>
|
||||
|
||||
<P>Enables tooltips on all widgets.
|
||||
|
||||
<H4><A NAME="Fl_Tooltip.enter">void enter(Fl_Widget *w);</A></H4>
|
||||
|
||||
<P>This method is called when the mouse pointer enters a
|
||||
widget.
|
||||
|
||||
<H4><A NAME="Fl_Tooltip.exit">void exit(Fl_Widget *w);</A></H4>
|
||||
|
||||
<P>This method is called when the mouse pointer leaves a
|
||||
widget.
|
||||
|
||||
<H4><A NAME="Fl_Tooltip.font">void font(int i);<BR>
|
||||
int font();</A></H4>
|
||||
|
||||
<P>Gets or sets the typeface for the tooltip text.
|
||||
|
||||
<H4><A NAME="Fl_Tooltip.size">void size(int s);<BR>
|
||||
int size();</A></H4>
|
||||
|
||||
<P>Gets or sets the size of the tooltip text.
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# "$Id: Makefile,v 1.9.2.10.2.3 2001/11/27 02:09:45 easysw Exp $"
|
||||
# "$Id: Makefile,v 1.9.2.10.2.4 2001/11/28 20:43:44 easysw Exp $"
|
||||
#
|
||||
# Documentation makefile for the Fast Light Tool Kit (FLTK).
|
||||
#
|
||||
@@ -48,6 +48,7 @@ HTMLFILES = \
|
||||
editor.html \
|
||||
enumerations.html \
|
||||
events.html \
|
||||
Fl.html \
|
||||
Fl_Adjuster.html \
|
||||
Fl_Bitmap.html \
|
||||
Fl_Box.html \
|
||||
@@ -115,6 +116,7 @@ HTMLFILES = \
|
||||
Fl_Tiled_Image.html \
|
||||
Fl_Tile.html \
|
||||
Fl_Timer.html \
|
||||
Fl_Tooltip.html \
|
||||
fluid.html \
|
||||
Fl_Valuator.html \
|
||||
Fl_Value_Input.html \
|
||||
@@ -199,5 +201,5 @@ fltk.pdf: $(HTMLFILES)
|
||||
$(HTMLDOC) -f fltk.pdf --jpeg --compression=9 --duplex --verbose --toclevels 2 --titleimage FL.gif $(HTMLFILES)
|
||||
|
||||
#
|
||||
# End of "$Id: Makefile,v 1.9.2.10.2.3 2001/11/27 02:09:45 easysw Exp $".
|
||||
# End of "$Id: Makefile,v 1.9.2.10.2.4 2001/11/28 20:43:44 easysw Exp $".
|
||||
#
|
||||
|
||||
@@ -77,6 +77,7 @@ Fl_Text_Editor.html
|
||||
Fl_Tile.html
|
||||
Fl_Tiled_Image.html
|
||||
Fl_Timer.html
|
||||
Fl_Tooltip.html
|
||||
Fl_Valuator.html
|
||||
Fl_Value_Input.html
|
||||
Fl_Value_Output.html
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+190
-144
@@ -1,75 +1,94 @@
|
||||
<HTML><BODY>
|
||||
<H1 ALIGN=RIGHT><A NAME=widgets>A - Widget Reference</A></H1>
|
||||
|
||||
This appendix describes all of the widget classes in FLTK. For a
|
||||
description of the <TT>fl_</TT> functions and <TT">Fl::</TT> methods,
|
||||
see <A href=functions.html#functions>Appendix B</A>.
|
||||
This appendix describes all of the classes in FLTK. For a
|
||||
description of the <TT>fl_</TT> functions, see
|
||||
<A href="functions.html">Appendix B</A>.
|
||||
|
||||
<H2>Alphabetical List of Classes</H2>
|
||||
|
||||
<CENTER><TABLE WIDTH=80% SUMMARY="List of Widget Classes">
|
||||
<CENTER><TABLE WIDTH=80% SUMMARY="List of FLTK Classes">
|
||||
<TR ALIGN=LEFT VALIGN=TOP>
|
||||
<TD>
|
||||
<A HREF="Fl_Adjuster.html#Fl_Adjuster">Fl_Adjuster</A><BR>
|
||||
<A HREF="Fl_Box.html#Fl_Box">Fl_Box</A><BR>
|
||||
<A HREF="Fl_Browser.html#Fl_Browser">Fl_Browser</A><BR>
|
||||
<A HREF="Fl_Browser_.html#Fl_Browser_">Fl_Browser_</A><BR>
|
||||
<A HREF="Fl_Button.html#Fl_Button">Fl_Button</A><BR>
|
||||
<A HREF="Fl_Chart.html#Fl_Chart">Fl_Chart</A><BR>
|
||||
<A HREF="Fl_Check_Button.html#Fl_Check_Button">Fl_Check_Button</A><BR>
|
||||
<A HREF="Fl_Choice.html#Fl_Choice">Fl_Choice</A><BR>
|
||||
<A HREF="Fl_Clock.html#Fl_Clock">Fl_Clock</A><BR>
|
||||
<A HREF="Fl_Color_Chooser.html#Fl_Color_Chooser">Fl_Color_Chooser</A><BR>
|
||||
<A HREF="Fl_Counter.html#Fl_Counter">Fl_Counter</A><BR>
|
||||
<A HREF="Fl_Dial.html#Fl_Dial">Fl_Dial</A><BR>
|
||||
<A HREF="Fl_Double_Window.html#Fl_Double_Window">Fl_Double_Window</A><BR>
|
||||
<A HREF="Fl_End.html#Fl_End">Fl_End</A><BR>
|
||||
<A HREF="Fl_File_Browser.html#Fl_File_Browser">Fl_File_Browser</A><BR>
|
||||
<A HREF="Fl_File_Chooser.html#Fl_File_Chooser">Fl_File_Chooser</A><BR>
|
||||
<A HREF="Fl_File_Icon.html#Fl_File_Icon">Fl_File_Icon</A><BR>
|
||||
<A HREF="Fl_Float_Input.html#Fl_Float_Input">Fl_Float_Input</A><BR>
|
||||
<A HREF="Fl_Free.html#Fl_Free">Fl_Free</A><BR>
|
||||
<A HREF="Fl_Gl_Window.html#Fl_Gl_Window">Fl_Gl_Window</A><BR>
|
||||
<A HREF="Fl_Group.html#Fl_Group">Fl_Group</A><BR>
|
||||
<A HREF="Fl_Help_Dialog.html#Fl_Help_Dialog">Fl_Help_Dialog</A><BR>
|
||||
<A HREF="Fl_Help_View.html#Fl_Help_View">Fl_Help_View</A><BR>
|
||||
<A HREF="Fl_Hold_Browser.html#Fl_Hold_Browser">Fl_Hold_Browser</A><BR>
|
||||
<A HREF="Fl_Input.html#Fl_Input">Fl_Input</A><BR>
|
||||
<A HREF="Fl_Input_.html#Fl_Input_">Fl_Input_</A><BR>
|
||||
<A HREF="Fl_Int_Input.html#Fl_Int_Input">Fl_Int_Input</A><BR>
|
||||
<A HREF="Fl_Light_Button.html#Fl_Light_Button">Fl_Light_Button</A><BR>
|
||||
<A HREF="Fl_Menu_.html#Fl_Menu_">Fl_Menu_</A><BR>
|
||||
<A HREF="Fl_Menu_Bar.html#Fl_Menu_Bar">Fl_Menu_Bar</A><BR>
|
||||
<A HREF="Fl_Menu_Button.html#Fl_Menu_Button">Fl_Menu_Button</A><BR>
|
||||
<A HREF="Fl_Menu_Item.html#Fl_Menu_Item">Fl_Menu_Item</A><BR>
|
||||
<A HREF="Fl_Menu_Window.html#Fl_Menu_Window">Fl_Menu_Window</A><BR>
|
||||
<A HREF="Fl_Multi_Browser.html#Fl_Multi_Browser">Fl_Multi_Browser</A><BR>
|
||||
<A HREF="Fl_Multiline_Input.html#Fl_Multiline_Input">Fl_Multiline_Input</A><BR>
|
||||
<A HREF="Fl_Multiline_Output.html#Fl_Multiline_Output">Fl_Multiline_Output</A><BR>
|
||||
<A HREF="Fl_Output.html#Fl_Output">Fl_Output</A><BR>
|
||||
<A HREF="Fl_Overlay_Window.html#Fl_Overlay_Window">Fl_Overlay_Window</A><BR>
|
||||
<A HREF="Fl_Pack.html#Fl_Pack">Fl_Pack</A><BR>
|
||||
<A HREF="Fl_Positioner.html#Fl_Positioner">Fl_Positioner</A><BR>
|
||||
<A HREF="Fl_Repeat_Button.html#Fl_Repeat_Button">Fl_Repeat_Button</A><BR>
|
||||
<A HREF="Fl_Return_Button.html#Fl_Return_Button">Fl_Return_Button</A><BR>
|
||||
<A HREF="Fl_Roller.html#Fl_Roller">Fl_Roller</A><BR>
|
||||
<A HREF="Fl_Round_Button.html#Fl_Round_Button">Fl_Round_Button</A><BR>
|
||||
<A HREF="Fl_Scroll.html#Fl_Scroll">Fl_Scroll</A><BR>
|
||||
<A HREF="Fl_Scrollbar.html#Fl_Scrollbar">Fl_Scrollbar</A><BR>
|
||||
<A HREF="Fl_Secret_Input.html#Fl_Secret_Input">Fl_Secret_Input</A><BR>
|
||||
<A HREF="Fl_Select_Browser.html#Fl_Select_Browser">Fl_Select_Browser</A><BR>
|
||||
<A HREF="Fl_Single_Window.html#Fl_Single_Window">Fl_Single_Window</A><BR>
|
||||
<A HREF="Fl_Slider.html#Fl_Slider">Fl_Slider</A><BR>
|
||||
<A HREF="Fl_Tabs.html#Fl_Tabs">Fl_Tabs</A><BR>
|
||||
<A HREF="Fl_Tile.html#Fl_Tile">Fl_Tile</A><BR>
|
||||
<A HREF="Fl_Timer.html#Fl_Timer">Fl_Timer</A><BR>
|
||||
<A HREF="Fl_Valuator.html#Fl_Valuator">Fl_Valuator</A><BR>
|
||||
<A HREF="Fl_Value_Input.html#Fl_Value_Input">Fl_Value_Input</A><BR>
|
||||
<A HREF="Fl_Value_Output.html#Fl_Value_Output">Fl_Value_Output</A><BR>
|
||||
<A HREF="Fl_Value_Slider.html#Fl_Value_Slider">Fl_Value_Slider</A><BR>
|
||||
<A HREF="Fl_Widget.html#Fl_Widget">Fl_Widget</A><BR>
|
||||
<A HREF="Fl_Window.html#Fl_Window">Fl_Window</A><BR>
|
||||
<A HREF="Fl_Wizard.html#Fl_Wizard">Fl_Wizard</A><BR>
|
||||
<A HREF="Fl.html">Fl</A><BR>
|
||||
<A HREF="Fl_Adjuster.html">Fl_Adjuster</A><BR>
|
||||
<A HREF="Fl_Bitmap.html">Fl_Bitmap</A><BR>
|
||||
<A HREF="Fl_Box.html">Fl_Box</A><BR>
|
||||
<A HREF="Fl_Browser_.html">Fl_Browser_</A><BR>
|
||||
<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_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>
|
||||
<A HREF="Fl_Color_Chooser.html">Fl_Color_Chooser</A><BR>
|
||||
<A HREF="Fl_Counter.html">Fl_Counter</A><BR>
|
||||
<A HREF="Fl_Dial.html">Fl_Dial</A><BR>
|
||||
<A HREF="Fl_Double_Window.html">Fl_Double_Window</A><BR>
|
||||
<A HREF="Fl_End.html">Fl_End</A><BR>
|
||||
<A HREF="Fl_File_Browser.html">Fl_File_Browser</A><BR>
|
||||
<A HREF="Fl_File_Chooser.html">Fl_File_Chooser</A><BR>
|
||||
<A HREF="Fl_File_Icon.html">Fl_File_Icon</A><BR>
|
||||
<A HREF="Fl_Float_Input.html">Fl_Float_Input</A><BR>
|
||||
<A HREF="Fl_Free.html">Fl_Free</A><BR>
|
||||
<A HREF="Fl_GIF_Image.html">Fl_GIF_Image</A><BR>
|
||||
<A HREF="Fl_Gl_Window.html">Fl_Gl_Window</A><BR>
|
||||
<A HREF="Fl_Group.html">Fl_Group</A><BR>
|
||||
<A HREF="Fl_Help_Dialog.html">Fl_Help_Dialog</A><BR>
|
||||
<A HREF="Fl_Help_View.html">Fl_Help_View</A><BR>
|
||||
<A HREF="Fl_Hold_Browser.html">Fl_Hold_Browser</A><BR>
|
||||
<A HREF="Fl.html">Fl</A><BR>
|
||||
<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_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>
|
||||
<A HREF="Fl_Menu_Bar.html">Fl_Menu_Bar</A><BR>
|
||||
<A HREF="Fl_Menu_Button.html">Fl_Menu_Button</A><BR>
|
||||
<A HREF="Fl_Menu_.html">Fl_Menu_</A><BR>
|
||||
<A HREF="Fl_Menu_Item.html">Fl_Menu_Item</A><BR>
|
||||
</TD><TD>
|
||||
<A HREF="Fl_Menu_Window.html">Fl_Menu_Window</A><BR>
|
||||
<A HREF="Fl_Multi_Browser.html">Fl_Multi_Browser</A><BR>
|
||||
<A HREF="Fl_Multiline_Input.html">Fl_Multiline_Input</A><BR>
|
||||
<A HREF="Fl_Multiline_Output.html">Fl_Multiline_Output</A><BR>
|
||||
<A HREF="Fl_Output.html">Fl_Output</A><BR>
|
||||
<A HREF="Fl_Overlay_Window.html">Fl_Overlay_Window</A><BR>
|
||||
<A HREF="Fl_Pack.html">Fl_Pack</A><BR>
|
||||
<A HREF="Fl_Pixmap.html">Fl_Pixmap</A><BR>
|
||||
<A HREF="Fl_PNG_Image.html">Fl_PNG_Image</A><BR>
|
||||
<A HREF="Fl_PNM_Image.html">Fl_PNM_Image</A><BR>
|
||||
<A HREF="Fl_Positioner.html">Fl_Positioner</A><BR>
|
||||
<A HREF="Fl_Repeat_Button.html">Fl_Repeat_Button</A><BR>
|
||||
<A HREF="Fl_Return_Button.html">Fl_Return_Button</A><BR>
|
||||
<A HREF="Fl_RGB_Image.html">Fl_RGB_Image</A><BR>
|
||||
<A HREF="Fl_Roller.html">Fl_Roller</A><BR>
|
||||
<A HREF="Fl_Round_Button.html">Fl_Round_Button</A><BR>
|
||||
<A HREF="Fl_Scrollbar.html">Fl_Scrollbar</A><BR>
|
||||
<A HREF="Fl_Scroll.html">Fl_Scroll</A><BR>
|
||||
<A HREF="Fl_Secret_Input.html">Fl_Secret_Input</A><BR>
|
||||
<A HREF="Fl_Select_Browser.html">Fl_Select_Browser</A><BR>
|
||||
<A HREF="Fl_Shared_Image.html">Fl_Shared_Image</A><BR>
|
||||
<A HREF="Fl_Single_Window.html">Fl_Single_Window</A><BR>
|
||||
<A HREF="Fl_Slider.html">Fl_Slider</A><BR>
|
||||
<A HREF="Fl_Tabs.html">Fl_Tabs</A><BR>
|
||||
<A HREF="Fl_Text_Buffer.html">Fl_Text_Buffer</A><BR>
|
||||
<A HREF="Fl_Text_Display.html">Fl_Text_Display</A><BR>
|
||||
<A HREF="Fl_Text_Editor.html">Fl_Text_Editor</A><BR>
|
||||
<A HREF="Fl_Tiled_Image.html">Fl_Tiled_Image</A><BR>
|
||||
<A HREF="Fl_Tile.html">Fl_Tile</A><BR>
|
||||
<A HREF="Fl_Timer.html">Fl_Timer</A><BR>
|
||||
<A HREF="Fl_Tooltip.html">Fl_Tooltip</A><BR>
|
||||
<A HREF="Fl_Valuator.html">Fl_Valuator</A><BR>
|
||||
<A HREF="Fl_Value_Input.html">Fl_Value_Input</A><BR>
|
||||
<A HREF="Fl_Value_Output.html">Fl_Value_Output</A><BR>
|
||||
<A HREF="Fl_Value_Slider.html">Fl_Value_Slider</A><BR>
|
||||
<A HREF="Fl_Widget.html">Fl_Widget</A><BR>
|
||||
<A HREF="Fl_Window.html">Fl_Window</A><BR>
|
||||
<A HREF="Fl_Wizard.html">Fl_Wizard</A><BR>
|
||||
<A HREF="Fl_XBM_Image.html">Fl_XBM_Image</A><BR>
|
||||
<A HREF="Fl_XPM_Image.html">Fl_XPM_Image</A><BR>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE></CENTER>
|
||||
@@ -77,90 +96,117 @@ see <A href=functions.html#functions>Appendix B</A>.
|
||||
<H2>Class Hierarchy</H2>
|
||||
|
||||
<UL>
|
||||
<LI><A HREF="Fl_End.html#Fl_End">Fl_End</A>
|
||||
<LI><A HREF="Fl_File_Icon.html#Fl_File_Icon">Fl_File_Icon</A>
|
||||
<LI><A HREF="Fl_Menu_Item.html#Fl_Menu_Item">Fl_Menu_Item</A>
|
||||
<LI><A HREF="Fl_Widget.html#Fl_Widget">Fl_Widget</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_Box.html#Fl_Box">Fl_Box</A>
|
||||
<LI><A HREF="Fl_Browser_.html#Fl_Browser_">Fl_Browser_</A>
|
||||
<LI><A HREF="Fl.html">Fl</A>
|
||||
<LI><A HREF="Fl_End.html#Fl_End">Fl_End</A>
|
||||
<LI><A HREF="Fl_File_Icon.html#Fl_File_Icon">Fl_File_Icon</A>
|
||||
<LI><A HREF="Fl_Image.html">Fl_Image</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_Browser.html#Fl_Browser">Fl_Browser</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_File_Browser.html#Fl_File_Browser">Fl_File_Browser</A>
|
||||
<LI><A HREF="Fl_Hold_Browser.html#Fl_Hold_Browser">Fl_Hold_Browser</A>
|
||||
<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_Bitmap.html">Fl_Bitmap</A><BR>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_XBM_Image.html">Fl_XBM_Image</A><BR>
|
||||
</UL>
|
||||
<LI><A HREF="Fl_Pixmap.html">Fl_Pixmap</A><BR>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_GIF_Image.html">Fl_GIF_Image</A><BR>
|
||||
<LI><A HREF="Fl_XPM_Image.html">Fl_XPM_Image</A><BR>
|
||||
</UL>
|
||||
<LI><A HREF="Fl_RGB_Image.html">Fl_RGB_Image</A><BR>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_JPEG_Image.html">Fl_JPEG_Image</A><BR>
|
||||
<LI><A HREF="Fl_PNG_Image.html">Fl_PNG_Image</A><BR>
|
||||
<LI><A HREF="Fl_PNM_Image.html">Fl_PNM_Image</A><BR>
|
||||
</UL>
|
||||
<LI><A HREF="Fl_Shared_Image.html">Fl_Shared_Image</A><BR>
|
||||
<LI><A HREF="Fl_Tiled_Image.html">Fl_Tiled_Image</A><BR>
|
||||
</UL>
|
||||
<LI><A HREF="Fl_Button.html#Fl_Button">Fl_Button</A>
|
||||
<LI><A HREF="Fl_Menu_Item.html#Fl_Menu_Item">Fl_Menu_Item</A>
|
||||
<LI><A HREF="Fl_Text_Buffer.html">Fl_Text_Buffer</A>
|
||||
<LI><A HREF="Fl_Tooltip.html">Fl_Tooltip</A>
|
||||
<LI><A HREF="Fl_Widget.html#Fl_Widget">Fl_Widget</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_Check_Button.html#Fl_Check_Button">Fl_Check_Button</A>
|
||||
<LI><A HREF="Fl_Light_Button.html#Fl_Light_Button">Fl_Light_Button</A>
|
||||
<LI><A HREF="Fl_Repeat_Button.html#Fl_Repeat_Button">Fl_Repeat_Button</A>
|
||||
<LI><A HREF="Fl_Return_Button.html#Fl_Return_Button">Fl_Return_Button</A>
|
||||
<LI><A HREF="Fl_Round_Button.html#Fl_Round_Button">Fl_Round_Button</A>
|
||||
<LI><A HREF="Fl_Box.html#Fl_Box">Fl_Box</A>
|
||||
<LI><A HREF="Fl_Browser_.html#Fl_Browser_">Fl_Browser_</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_Browser.html#Fl_Browser">Fl_Browser</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_File_Browser.html#Fl_File_Browser">Fl_File_Browser</A>
|
||||
<LI><A HREF="Fl_Hold_Browser.html#Fl_Hold_Browser">Fl_Hold_Browser</A>
|
||||
<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>
|
||||
</UL>
|
||||
<LI><A HREF="Fl_Button.html#Fl_Button">Fl_Button</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_Check_Button.html#Fl_Check_Button">Fl_Check_Button</A>
|
||||
<LI><A HREF="Fl_Light_Button.html#Fl_Light_Button">Fl_Light_Button</A>
|
||||
<LI><A HREF="Fl_Repeat_Button.html#Fl_Repeat_Button">Fl_Repeat_Button</A>
|
||||
<LI><A HREF="Fl_Return_Button.html#Fl_Return_Button">Fl_Return_Button</A>
|
||||
<LI><A HREF="Fl_Round_Button.html#Fl_Round_Button">Fl_Round_Button</A>
|
||||
</UL>
|
||||
<LI><A HREF="Fl_Chart.html#Fl_Chart">Fl_Chart</A>
|
||||
<LI><A HREF="Fl_Clock.html#Fl_Clock">Fl_Clock</A>
|
||||
<LI><A HREF="Fl_Free.html#Fl_Free">Fl_Free</A>
|
||||
<LI><A HREF="Fl_Group.html#Fl_Group">Fl_Group</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_Color_Chooser.html#Fl_Color_Chooser">Fl_Color_Chooser</A>
|
||||
<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_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>
|
||||
<LI><A HREF="Fl_Text_Display.html">Fl_Text_Display</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_Text_Editor.html">Fl_Text_Editor</A>
|
||||
</UL>
|
||||
<LI><A HREF="Fl_Tile.html#Fl_Tile">Fl_Tile</A>
|
||||
<LI><A HREF="Fl_Window.html#Fl_Window">Fl_Window</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_Double_Window.html#Fl_Double_Window">Fl_Double_Window</A>
|
||||
<LI><A HREF="Fl_Gl_Window.html#Fl_Gl_Window">Fl_Gl_Window</A>
|
||||
<LI><A HREF="Fl_Menu_Window.html#Fl_Menu_Window">Fl_Menu_Window</A>
|
||||
<LI><A HREF="Fl_Overlay_Window.html#Fl_Overlay_Window">Fl_Overlay_Window</A>
|
||||
<LI><A HREF="Fl_Single_Window.html#Fl_Single_Window">Fl_Single_Window</A>
|
||||
</UL>
|
||||
<LI><A HREF="Fl_Wizard.html#Fl_Wizard">Fl_Wizard</A>
|
||||
</UL>
|
||||
<LI><A HREF="Fl_Input_.html#Fl_Input_">Fl_Input_</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_Input.html#Fl_Input">Fl_Input</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_Float_Input.html#Fl_Float_Input">Fl_Float_Input</A>
|
||||
<LI><A HREF="Fl_Int_Input.html#Fl_Int_Input">Fl_Int_Input</A>
|
||||
<LI><A HREF="Fl_Multiline_Input.html#Fl_Multiline_Input">Fl_Multiline_Input</A>
|
||||
<LI><A HREF="Fl_Secret_Input.html#Fl_Secret_Input">Fl_Secret_Input</A>
|
||||
</UL>
|
||||
<LI><A HREF="Fl_Output.html#Fl_Output">Fl_Output</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_Multiline_Output.html#Fl_Multiline_Output">Fl_Multiline_Output</A>
|
||||
</UL>
|
||||
</UL>
|
||||
<LI><A HREF="Fl_Menu_.html#Fl_Menu_">Fl_Menu_</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_Choice.html#Fl_Choice">Fl_Choice</A>
|
||||
<LI><A HREF="Fl_Menu_Bar.html#Fl_Menu_Bar">Fl_Menu_Bar</A>
|
||||
<LI><A HREF="Fl_Menu_Button.html#Fl_Menu_Button">Fl_Menu_Button</A>
|
||||
</UL>
|
||||
<LI><A HREF="Fl_Positioner.html#Fl_Positioner">Fl_Positioner</A>
|
||||
<LI><A HREF="Fl_Timer.html#Fl_Timer">Fl_Timer</A>
|
||||
<LI><A HREF="Fl_Valuator.html#Fl_Valuator">Fl_Valuator</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_Adjuster.html#Fl_Adjuster">Fl_Adjuster</A>
|
||||
<LI><A HREF="Fl_Counter.html#Fl_Counter">Fl_Counter</A>
|
||||
<LI><A HREF="Fl_Dial.html#Fl_Dial">Fl_Dial</A>
|
||||
<LI><A HREF="Fl_Roller.html#Fl_Roller">Fl_Roller</A>
|
||||
<LI><A HREF="Fl_Slider.html#Fl_Slider">Fl_Slider</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_Scrollbar.html#Fl_Scrollbar">Fl_Scrollbar</A>
|
||||
<LI><A HREF="Fl_Value_Slider.html#Fl_Value_Slider">Fl_Value_Slider</A>
|
||||
</UL>
|
||||
<LI><A HREF="Fl_Value_Input.html#Fl_Value_Input">Fl_Value_Input</A>
|
||||
<LI><A HREF="Fl_Value_Output.html#Fl_Value_Output">Fl_Value_Output</A>
|
||||
</UL>
|
||||
</UL>
|
||||
<LI><A HREF="Fl_Chart.html#Fl_Chart">Fl_Chart</A>
|
||||
<LI><A HREF="Fl_Clock.html#Fl_Clock">Fl_Clock</A>
|
||||
<LI><A HREF="Fl_Free.html#Fl_Free">Fl_Free</A>
|
||||
<LI><A HREF="Fl_Group.html#Fl_Group">Fl_Group</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_Color_Chooser.html#Fl_Color_Chooser">Fl_Color_Chooser</A>
|
||||
<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_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>
|
||||
<LI><A HREF="Fl_Tile.html#Fl_Tile">Fl_Tile</A>
|
||||
<LI><A HREF="Fl_Window.html#Fl_Window">Fl_Window</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_Double_Window.html#Fl_Double_Window">Fl_Double_Window</A>
|
||||
<LI><A HREF="Fl_Gl_Window.html#Fl_Gl_Window">Fl_Gl_Window</A>
|
||||
<LI><A HREF="Fl_Menu_Window.html#Fl_Menu_Window">Fl_Menu_Window</A>
|
||||
<LI><A HREF="Fl_Overlay_Window.html#Fl_Overlay_Window">Fl_Overlay_Window</A>
|
||||
<LI><A HREF="Fl_Single_Window.html#Fl_Single_Window">Fl_Single_Window</A>
|
||||
</UL>
|
||||
<LI><A HREF="Fl_Wizard.html#Fl_Wizard">Fl_Wizard</A>
|
||||
</UL>
|
||||
<LI><A HREF="Fl_Input_.html#Fl_Input_">Fl_Input_</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_Input.html#Fl_Input">Fl_Input</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_Float_Input.html#Fl_Float_Input">Fl_Float_Input</A>
|
||||
<LI><A HREF="Fl_Int_Input.html#Fl_Int_Input">Fl_Int_Input</A>
|
||||
<LI><A HREF="Fl_Multiline_Input.html#Fl_Multiline_Input">Fl_Multiline_Input</A>
|
||||
<LI><A HREF="Fl_Secret_Input.html#Fl_Secret_Input">Fl_Secret_Input</A>
|
||||
</UL>
|
||||
<LI><A HREF="Fl_Output.html#Fl_Output">Fl_Output</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_Multiline_Output.html#Fl_Multiline_Output">Fl_Multiline_Output</A>
|
||||
</UL>
|
||||
</UL>
|
||||
<LI><A HREF="Fl_Menu_.html#Fl_Menu_">Fl_Menu_</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_Choice.html#Fl_Choice">Fl_Choice</A>
|
||||
<LI><A HREF="Fl_Menu_Bar.html#Fl_Menu_Bar">Fl_Menu_Bar</A>
|
||||
<LI><A HREF="Fl_Menu_Button.html#Fl_Menu_Button">Fl_Menu_Button</A>
|
||||
</UL>
|
||||
<LI><A HREF="Fl_Positioner.html#Fl_Positioner">Fl_Positioner</A>
|
||||
<LI><A HREF="Fl_Timer.html#Fl_Timer">Fl_Timer</A>
|
||||
<LI><A HREF="Fl_Valuator.html#Fl_Valuator">Fl_Valuator</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_Adjuster.html#Fl_Adjuster">Fl_Adjuster</A>
|
||||
<LI><A HREF="Fl_Counter.html#Fl_Counter">Fl_Counter</A>
|
||||
<LI><A HREF="Fl_Dial.html#Fl_Dial">Fl_Dial</A>
|
||||
<LI><A HREF="Fl_Roller.html#Fl_Roller">Fl_Roller</A>
|
||||
<LI><A HREF="Fl_Slider.html#Fl_Slider">Fl_Slider</A>
|
||||
<UL>
|
||||
<LI><A HREF="Fl_Scrollbar.html#Fl_Scrollbar">Fl_Scrollbar</A>
|
||||
<LI><A HREF="Fl_Value_Slider.html#Fl_Value_Slider">Fl_Value_Slider</A>
|
||||
</UL>
|
||||
<LI><A HREF="Fl_Value_Input.html#Fl_Value_Input">Fl_Value_Input</A>
|
||||
<LI><A HREF="Fl_Value_Output.html#Fl_Value_Output">Fl_Value_Output</A>
|
||||
</UL>
|
||||
</UL>
|
||||
</UL>
|
||||
|
||||
</BODY></HTML>
|
||||
|
||||
+3
-3
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: Fl.cxx,v 1.24.2.41.2.9 2001/11/28 18:00:17 easysw Exp $"
|
||||
// "$Id: Fl.cxx,v 1.24.2.41.2.10 2001/11/28 20:43:44 easysw Exp $"
|
||||
//
|
||||
// Main event handling code for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@@ -802,7 +802,7 @@ void Fl_Widget::damage(uchar flags, int X, int Y, int W, int H) {
|
||||
// if we already have damage we must merge with existing region:
|
||||
if (i->region) {
|
||||
#ifdef WIN32
|
||||
Region R = XRectangleRegion(X, Y, W, H);
|
||||
Fl_Region R = XRectangleRegion(X, Y, W, H);
|
||||
CombineRgn(i->region, i->region, R, RGN_OR);
|
||||
XDestroyRegion(R);
|
||||
#elif defined(__APPLE__)
|
||||
@@ -834,5 +834,5 @@ void Fl_Window::flush() {
|
||||
}
|
||||
|
||||
//
|
||||
// End of "$Id: Fl.cxx,v 1.24.2.41.2.9 2001/11/28 18:00:17 easysw Exp $".
|
||||
// End of "$Id: Fl.cxx,v 1.24.2.41.2.10 2001/11/28 20:43:44 easysw Exp $".
|
||||
//
|
||||
|
||||
+4
-4
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: Fl_Tooltip.cxx,v 1.38.2.7 2001/11/18 20:52:28 easysw Exp $"
|
||||
// "$Id: Fl_Tooltip.cxx,v 1.38.2.8 2001/11/28 20:43:44 easysw Exp $"
|
||||
//
|
||||
// Tooltip source file for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@@ -35,8 +35,8 @@
|
||||
// Fl_Tooltip global variables...
|
||||
//
|
||||
|
||||
void (*Fl_Tooltip::tooltip_callback_)(void *) = 0;
|
||||
void (*Fl_Tooltip::tooltip_exit_)(void *) = 0;
|
||||
void (*Fl_Tooltip::tooltip_callback_)(void *) = Fl_Tooltip::tooltip_timeout;
|
||||
void (*Fl_Tooltip::tooltip_exit_)(void *) = Fl_Tooltip::tooltip_exit;
|
||||
float Fl_Tooltip::delay_ = 0.5;
|
||||
Fl_TooltipBox *Fl_Tooltip::box = 0;
|
||||
Fl_Menu_Window *Fl_Tooltip::window = 0;
|
||||
@@ -189,5 +189,5 @@ Fl_Tooltip::tooltip_timeout(void *v) {
|
||||
|
||||
|
||||
//
|
||||
// End of "$Id: Fl_Tooltip.cxx,v 1.38.2.7 2001/11/18 20:52:28 easysw Exp $".
|
||||
// End of "$Id: Fl_Tooltip.cxx,v 1.38.2.8 2001/11/28 20:43:44 easysw Exp $".
|
||||
//
|
||||
|
||||
+2
-7
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: Fl_Widget.cxx,v 1.5.2.4.2.7 2001/11/22 15:35:01 easysw Exp $"
|
||||
// "$Id: Fl_Widget.cxx,v 1.5.2.4.2.8 2001/11/28 20:43:44 easysw Exp $"
|
||||
//
|
||||
// Base widget class for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@@ -99,11 +99,6 @@ Fl_Widget::Fl_Widget(int X, int Y, int W, int H, const char* L) {
|
||||
if (Fl_Group::current()) Fl_Group::current()->add(this);
|
||||
}
|
||||
|
||||
void Fl_Widget::tooltip(const char *t) {
|
||||
Fl_Tooltip::enable();
|
||||
tooltip_ = t;
|
||||
}
|
||||
|
||||
void Fl_Widget::resize(int X, int Y, int W, int H) {
|
||||
x_ = X; y_ = Y; w_ = W; h_ = H;
|
||||
}
|
||||
@@ -249,5 +244,5 @@ int Fl_Widget::contains(const Fl_Widget *o) const {
|
||||
}
|
||||
|
||||
//
|
||||
// End of "$Id: Fl_Widget.cxx,v 1.5.2.4.2.7 2001/11/22 15:35:01 easysw Exp $".
|
||||
// End of "$Id: Fl_Widget.cxx,v 1.5.2.4.2.8 2001/11/28 20:43:44 easysw Exp $".
|
||||
//
|
||||
|
||||
+3
-3
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: gl_start.cxx,v 1.6.2.5.2.2 2001/11/27 17:44:08 easysw Exp $"
|
||||
// "$Id: gl_start.cxx,v 1.6.2.5.2.3 2001/11/28 20:43:44 easysw Exp $"
|
||||
//
|
||||
// OpenGL context routines for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@@ -54,7 +54,7 @@ static int pw, ph;
|
||||
static Fl_Gl_Choice* gl_choice;
|
||||
#endif
|
||||
|
||||
Region XRectangleRegion(int x, int y, int w, int h); // in fl_rect.cxx
|
||||
Fl_Region XRectangleRegion(int x, int y, int w, int h); // in fl_rect.cxx
|
||||
|
||||
void gl_start() {
|
||||
if (!context) {
|
||||
@@ -117,5 +117,5 @@ int Fl::gl_visual(int mode, int *alist) {
|
||||
#endif
|
||||
|
||||
//
|
||||
// End of "$Id: gl_start.cxx,v 1.6.2.5.2.2 2001/11/27 17:44:08 easysw Exp $".
|
||||
// End of "$Id: gl_start.cxx,v 1.6.2.5.2.3 2001/11/28 20:43:44 easysw Exp $".
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user