diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-03-14 17:16:43 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-03-14 17:16:43 +0100 |
| commit | 26f5b38a0113be817d13193387913580b5996d77 (patch) | |
| tree | 86f26417c6bef5bda02f55df6e6074cce7ed755e /test | |
| parent | 3cf002b45d93205580e535a686ac11e64820d019 (diff) | |
Update documentation, remove/edit explicit FLTK versions
... to simplify further version updates.
Add more deprecation notices concerning autotools/configure
to README.Unix.txt.
Diffstat (limited to 'test')
| -rw-r--r-- | test/ask.cxx | 15 | ||||
| -rw-r--r-- | test/grid_alignment.cxx | 4 |
2 files changed, 10 insertions, 9 deletions
diff --git a/test/ask.cxx b/test/ask.cxx index 9ff06b45a..527b43dfa 100644 --- a/test/ask.cxx +++ b/test/ask.cxx @@ -4,7 +4,7 @@ // This also demonstrates how to trap attempts by the user to // close the last window by overriding Fl::exit // -// Copyright 1998-2021 by Bill Spitzak and others. +// Copyright 1998-2024 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -90,10 +90,11 @@ void window_callback(Fl_Widget *win, void *) { "Close" button will reactivate the popups (only possible if "recursive" dialogs are enabled, see below). - Note 1: This dialog box had been blocked in FLTK 1.3.x if another common - dialog was already open because the window used was a static (i.e. permanently - allocated) Fl_Window instance. This has been fixed in FLTK 1.4.0. - See STR #334 (sic !) and also STR #2751 ("Limit input field characters"). + Note 1: This dialog box had been blocked in FLTK 1.3 if another common + dialog was already open because the used window was a static (i.e. + permanently allocated) Fl_Window instance. This has been fixed in FLTK 1.4. + See STR #334 ("technical change : remove statics in fl_ask") and also + STR #2751 ("Limit input field characters"). */ void timer_cb(void *) { @@ -132,10 +133,10 @@ void timer_cb(void *) { // pop up a message: stop |= fl_choice( "Timeout. Click the 'Close' button or press Escape.\n" - "Note: this message had been blocked in FLTK 1.3.x\n" + "Note: this message had been blocked in FLTK 1.3\n" "and earlier if another message window was open.\n" "This message should pop up every 5 seconds (max. 10 times)\n" - "in FLTK 1.4.0 and later until stopped by clicking the button\n" + "in FLTK 1.4 and later until stopped by clicking the button\n" "below or by pressing the Enter (Return) key.\n", "Close", "Stop these funny popups", NULL); } diff --git a/test/grid_alignment.cxx b/test/grid_alignment.cxx index 59a5368c3..d16ea086f 100644 --- a/test/grid_alignment.cxx +++ b/test/grid_alignment.cxx @@ -2,7 +2,7 @@ // Fl_Grid demo program for the Fast Light Tool Kit (FLTK). // // Copyright 2021 by Albrecht Schlosser -// Copyright 2022-2023 by Bill Spitzak and others. +// Copyright 2022-2024 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -61,7 +61,7 @@ void remove_cb(void *v) { int main(int argc, char **argv) { Fl_Grid::Cell *c; Fl_Box *b; - Fl_Double_Window *win = new Fl_Double_Window(440, 350, "FLTK 1.4.0 - Fl_Grid Alignment Test"); + Fl_Double_Window *win = new Fl_Double_Window(440, 350, "Fl_Grid Alignment Test"); Fl_Grid *grid = new Fl_Grid(10, 10, 420, 330); grid->layout(7, 7, 8, 4); // cols, rows, margin, gap grid->box(FL_FLAT_BOX); |
