From b40f5fb69e109257fb2ae5658d6e6e25e5880fb5 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 7 Oct 2002 13:19:22 +0000 Subject: Documentation updates. Bump version to 1.1.1. Fix "no change" button in FLUID. Set dirty flag when changing nodes in Fl_Preferences. Add the extra include dir options when doing "fltk-config --compile foo.cxx". git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- CHANGES | 9 ++++ CREDITS | 1 + configure.in | 6 +-- documentation/Fl_Check_Browser.html | 95 +++++++++++++++++++++++++++++++++++++ documentation/index.html | 11 +++-- documentation/preface.html | 10 ++-- documentation/widgets.html | 2 + fltk-config.in | 8 ++-- fltk.spec | 6 +-- fluid/widget_panel.cxx | 1 - fluid/widget_panel.fl | 2 +- src/Fl_Preferences.cxx | 7 ++- 12 files changed, 136 insertions(+), 22 deletions(-) create mode 100644 documentation/Fl_Check_Browser.html diff --git a/CHANGES b/CHANGES index dcbe006e3..484f71ffc 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,14 @@ CHANGES IN FLTK 1.1.1 + - The fltk-config script didn't add the required include + path, if any, when compiling a program. + - Added a license clarification that the FLTK manual is + covered by the same license as FLTK itself. + - Fl_Check_Browser wasn't documented. + - Fl_Preferences::Node::addChild(), deleteEntry(), and + remove() didn't set the "dirty" flag. + - The "no change" button didn't work in the FLUID widget + panel. - Vertical scrollbars did not draw the arrows inactive when the scrollbar was inactive. diff --git a/CREDITS b/CREDITS index ed3413001..0ab1265ac 100644 --- a/CREDITS +++ b/CREDITS @@ -36,6 +36,7 @@ OTHER CONTRIBUTORS Greg Ercolano Yuri Fedorchenko George Garvey + Mikael Hultgren Stuart Levy Mike Lindner Alexander Mai diff --git a/configure.in b/configure.in index c6edd040f..f5fa0e265 100644 --- a/configure.in +++ b/configure.in @@ -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.87 2002/09/26 20:27:16 easysw Exp $" +dnl "$Id: configure.in,v 1.33.2.31.2.88 2002/10/07 13:19:21 easysw Exp $" dnl dnl Configuration script for the Fast Light Tool Kit (FLTK). dnl @@ -34,7 +34,7 @@ AC_INIT(src/Fl.cxx) dnl FLTK library versions... FL_MAJOR_VERSION=1 FL_MINOR_VERSION=1 -FL_PATCH_VERSION=0 +FL_PATCH_VERSION=1 FL_RELEASE_VERSION= FL_API_VERSION=${FL_MAJOR_VERSION}.${FL_MINOR_VERSION} @@ -785,5 +785,5 @@ dnl Make sure the fltk-config script is executable... chmod +x fltk-config dnl -dnl End of "$Id: configure.in,v 1.33.2.31.2.87 2002/09/26 20:27:16 easysw Exp $". +dnl End of "$Id: configure.in,v 1.33.2.31.2.88 2002/10/07 13:19:21 easysw Exp $". dnl diff --git a/documentation/Fl_Check_Browser.html b/documentation/Fl_Check_Browser.html new file mode 100644 index 000000000..022600bbc --- /dev/null +++ b/documentation/Fl_Check_Browser.html @@ -0,0 +1,95 @@ + + +

class Fl_Check_Browser

+
+

Class Hierarchy

+ +

Include Files

+ +

Description

+ +The Fl_Check_Browser widget displays a scrolling list of text +lines that may be selected and/or checked by the user. + +

Methods

+
+ + +
+ + + + + +
+
+ +

Fl_Check_Browser::Fl_Check_Browser(int, int, int, int, const char * = 0)

+The constructor makes an empty browser. + +

int Fl_Check_Browser::add(const char *)
+int Fl_Check_Browser::add(const char *, int)

+Add a new unchecked line to the end of the browser. The text is copied +using the strdup() function. It may also be NULL to make +a blank line. The second form can set the item checked. + +

void Fl_Check_Browser::check_all()

+Sets all the items checked. + +

void Fl_Check_Browser::check_none()

+Sets all the items unchecked. + +

int Fl_Check_Browser::checked(int item) const
+void Fl_Check_Browser::checked(int item, int b)

+The first form gets the current status of item item. The second form +sets the check status of item item to b. + +

void Fl_Check_Browser::clear()

+Remove every item from the browser. + +

int Fl_Check_Browser::nchecked() const

+Returns how many items are currently checked. + +

int Fl_Check_Browser::nitems() const

+Returns how many lines are in the browser. The last line number is equal to +this. + +

void Fl_Check_Browser::set_checked(int item)

+Equivalent to Fl_Check_Browser::checked(item, 1). + +

char *Fl_Check_Browser::text(int item) const

+Return a pointer to an internal buffer holding item item's text. + +

int Fl_Check_Browser::value() const

+Returns the index of the currently selected item. + + + diff --git a/documentation/index.html b/documentation/index.html index 7f4c1ab86..f02e0d710 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -1,7 +1,7 @@ - FLTK 1.1.0 Programming Manual + FLTK 1.1.1 Programming Manual @@ -10,8 +10,8 @@ FL -

FLTK 1.1.0 Programming Manual

-

Revision 1 by Michael Sweet, Craig P. Earls, and Bill Spitzak
+

FLTK 1.1.1 Programming Manual

+

Revision 2 by Michael Sweet, Craig P. Earls, and Bill Spitzak
Copyright 1998-2002 by Bill Spitzak and others.

@@ -19,8 +19,9 @@ - +
This software is provided under the terms of the GNU Library General - Public License.This software and manual are + provided under the terms of the GNU Library General + Public License.
diff --git a/documentation/preface.html b/documentation/preface.html index ae28c4bf5..78f659daf 100644 --- a/documentation/preface.html +++ b/documentation/preface.html @@ -2,21 +2,25 @@ - - FLTK 1.1.0 Programming Manual + + FLTK 1.1.1 Programming Manual

Preface

This manual describes the Fast Light Tool Kit ("FLTK") -version 1.1.0, a C++ Graphical User Interface +version 1.1.1, a C++ Graphical User Interface ("GUI") toolkit for UNIX, Microsoft Windows and MacOS. Each of the chapters in this manual is designed as a tutorial for using FLTK, while the appendices provide a convenient reference for all FLTK widgets, functions, and operating system interfaces.

+

This manual may be printed, modified, and/or used under +the terms of the FLTK license provided in Appendix A. +

Organization

This manual is organized into the following chapters and appendices:

diff --git a/documentation/widgets.html b/documentation/widgets.html index 8706febf5..07b4e4553 100644 --- a/documentation/widgets.html +++ b/documentation/widgets.html @@ -21,6 +21,7 @@ description of the fl_ functions, see Fl_Browser
Fl_Button
Fl_Chart
+Fl_Check_Browser
Fl_Check_Button
Fl_Choice
Fl_Clock
@@ -141,6 +142,7 @@ description of the fl_ functions, see
  • Fl_Multi_Browser
  • Fl_Select_Browser +
  • Fl_Check_Browser
  • Fl_Button