From 23594d837407fd09be2f8c96f6eb7b5d7722da57 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 20 Jun 2000 21:01:37 +0000 Subject: [PATCH] Added maximum_size() docos. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1231 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- CHANGES | 44 ++++++++++++++++++++++++++++++++++++ documentation/Fl_Input_.html | 8 +++++-- documentation/index.html | 2 +- documentation/preface.html | 2 +- 4 files changed, 52 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 46be766b5..e526638f8 100644 --- a/CHANGES +++ b/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 diff --git a/documentation/Fl_Input_.html b/documentation/Fl_Input_.html index 00aef026a..42248d747 100644 --- a/documentation/Fl_Input_.html +++ b/documentation/Fl_Input_.html @@ -50,16 +50,17 @@ type() to one of the following values:

  • cut
  • drawtext
  • handletext
  • +
  • insert
  • @@ -109,6 +110,9 @@ Fl_Input_::maybe_do_callback() Does the callback if changed() is true or if when() FL_WHEN_NOT_CHANGED is non-zero. You should call this at any point you think you should generate a callback. +

    void Fl_Input_::maximum_size(int m)
    +int Fl_Input_::maximum_size() const

    +

    Sets or returns the maximum length of the input field.

    int Fl_Input_::position() const
    int Fl_Input_::position(int new_position, int new_mark)
    int Fl_Input_::position(int new_position_and_new_mark)

    diff --git a/documentation/index.html b/documentation/index.html index 1c39039fa..e5e496b72 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -9,7 +9,7 @@

    FLTK 1.0.9 Programming Manual

    -Revision 14 by Michael Sweet, Craig P. Earls, and Bill Spitzak
    +Revision 15 by Michael Sweet, Craig P. Earls, and Bill Spitzak
    Copyright 1998-2000 by Bill Spitzak and others.
    diff --git a/documentation/preface.html b/documentation/preface.html index 32678268c..d7869ef37 100644 --- a/documentation/preface.html +++ b/documentation/preface.html @@ -2,7 +2,7 @@ - + FLTK 1.0.9 Programming Manual