Added maximum_size() docos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1231 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
463681c1ca
commit
23594d8374
44
CHANGES
44
CHANGES
@ -1,5 +1,49 @@
|
||||
CHANGES SINCE FLTK 1.0.8
|
||||
|
||||
- More documentation fixes.
|
||||
- Added Fl::has_timeout() and Fl::has_idle() functions.
|
||||
- Added new Fl::add_interval_timeout() method that
|
||||
measures time from when the last timeout was called.
|
||||
This has slightly less overhead and allows accurate
|
||||
spacing of timeouts.
|
||||
- More Cygwin changes
|
||||
- FLUID could crash with identifiers with trailing
|
||||
whitespace.
|
||||
- Fixed the XPM loading code in FLUID to handle files
|
||||
longer than 2048 lines.
|
||||
- Added a bunch of missing FL_EXTERN's to glut.h to
|
||||
eliminate GLUT linking errors under WIN32.
|
||||
- Fix for sliders so that clicking on one with a small
|
||||
(or zero) slider_size will not move the slider.
|
||||
- fl_shortcut.cxx didn't export fl_old_shortcut() in the
|
||||
WIN32 DLL.
|
||||
- Fixed xpaint link in the documentation.
|
||||
- Included Fl_Input word-wrap fixes from Alexander Rabi
|
||||
Beels. This will not affect things much because
|
||||
word-wrap is normally disabled.
|
||||
- Patch from Stuart Levy so the *last* widget in an
|
||||
Fl_Pack may be resizable. This should be compatable
|
||||
because resizable didn't do anything before so there
|
||||
was no reason to set it.
|
||||
- Cleaned up the timeout and Fl::wait() code. The new
|
||||
code calls the clock function less than half as much,
|
||||
which results in a noticable performance improvement
|
||||
in some apps.
|
||||
- Fl::wait(time) with a time greater than the system can
|
||||
handle (24.855 days on NT, the same on some Unix
|
||||
systems) will now act as though the time is infinity.
|
||||
Before it would do unpredictable things.
|
||||
- "USE_POLL" now compiles and works, although it is
|
||||
disabled by default. poll() is an alternative to the
|
||||
UNIX select() call which is available on some version
|
||||
of UNIX and may be faster depending on the platform;
|
||||
try it by editing config.h.
|
||||
- The WIN32 USE_ASYNC_SELECT code now does translation
|
||||
and dispatching of the select events; this makes
|
||||
Windows a lot happier.
|
||||
- Added a check for an open display in Fl::wait() so
|
||||
that you don't need an open window under X to call it.
|
||||
|
||||
[changes in snapshot 2]
|
||||
|
||||
- fl_old_shortcut() wasn't being exported in the WIN32 DLL
|
||||
|
@ -50,16 +50,17 @@ type()</TT> to one of the following values: </P>
|
||||
<LI><A href=#Fl_Input_.cut>cut</A></LI>
|
||||
<LI><A href=#Fl_Input_.drawtext>drawtext</A></LI>
|
||||
<LI><A href=#Fl_Input_.handletext>handletext</A></LI>
|
||||
<LI><A href=#Fl_Input_.insert>insert</A></LI>
|
||||
</UL>
|
||||
</TD><TD align=left valign=top>
|
||||
<UL>
|
||||
<LI><A href=#Fl_Input_.insert>insert</A></LI>
|
||||
<LI><A href=#Fl_Input_.lineboundary>lineboundary</A></LI>
|
||||
<LI><A href=#Fl_Input_.mark>mark</A></LI>
|
||||
<LI><A href=#Fl_Input_.maybe_do_callback>maybe_do_callback</A></LI>
|
||||
</UL>
|
||||
</TD><TD align=left valign=top>
|
||||
<UL>
|
||||
<LI><A href=#Fl_Input_.maybe_do_callback>maybe_do_callback</A></LI>
|
||||
<LI><A href=#Fl_Input_.maximum_size>maximum_size</A></LI>
|
||||
<LI><A href=#Fl_Input_.position>position</A></LI>
|
||||
<LI><A href=#Fl_Input_.replace>replace</A></LI>
|
||||
</UL>
|
||||
@ -109,6 +110,9 @@ Fl_Input_::maybe_do_callback()</A></H4>
|
||||
Does the callback if <TT>changed()</TT> is true or if <TT>when()
|
||||
FL_WHEN_NOT_CHANGED</TT> is non-zero. You should call this at any
|
||||
point you think you should generate a callback.
|
||||
<H4><A name="Fl_Input_.maximum_size">void Fl_Input_::maximum_size(int m)<BR>
|
||||
int Fl_Input_::maximum_size() const</A></H4>
|
||||
<P>Sets or returns the maximum length of the input field.
|
||||
<H4><A name=Fl_Input_.position>int Fl_Input_::position() const
|
||||
<BR> int Fl_Input_::position(int new_position, int new_mark)
|
||||
<BR> int Fl_Input_::position(int new_position_and_new_mark)</A></H4>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<TD ALIGN=CENTER VALIGN=MIDDLE><IMG SRC=FL.gif ALIGN=ABSMIDDLE></TD>
|
||||
<TD ALIGN=CENTER VALIGN=MIDDLE>
|
||||
<H1>FLTK 1.0.9 Programming Manual</H1>
|
||||
Revision 14 by Michael Sweet, Craig P. Earls, and Bill Spitzak<BR>
|
||||
Revision 15 by Michael Sweet, Craig P. Earls, and Bill Spitzak<BR>
|
||||
Copyright 1998-2000 by Bill Spitzak and others.<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<HEAD>
|
||||
<META CONTENT="Written by Michael Sweet, Craig P. Earls, and Bill Spitzak" NAME=Author>
|
||||
<META CONTENT="Copyright 1998-2000 by Bill Spitzak and Others." NAME=Copyright>
|
||||
<META CONTENT="Revision 14" NAME=DocNumber>
|
||||
<META CONTENT="Revision 15" NAME=DocNumber>
|
||||
<TITLE>FLTK 1.0.9 Programming Manual</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
Loading…
Reference in New Issue
Block a user