Release Notes
Changes in v2.0
- Merged FileChooser and HelpDialog distributions
- Got rid of several compiler warnings (converting from float to int).
- Open files in binary mode (workaround for MSVC++ C library
problems)
- Fixed scrollbar problems.
- Fixed
HR
problems (wasn't adding x() and y() offset.)
- New
h()
, position()
, resize()
,
w()
, x()
, and y()
methods to
control help dialog window.
- New
link()
callback method - allows you to support
loading of data from other locations.
- New
textcolor()
methods to control default text
color.
- Now support
TABLE
border and width attributes.
- Now support
BODY
color attributes.
- Now support horizontal alignment.
- Now support table background colors.
- New
flsurf
application that supports limited web
browsing, etc. (web browsing requires CUPS library)
- F_OK wasn't defined under Windows.
- FileIcon::load() didn't check the filename extension
properly - it was missing the ".".
- FileIcon::load_xpm() needed to use a case-insensitive
comparison for color names.
- The KDE load_kde_mimelnk() function had the fopen()
check backwards.
- Some of the old FTI code still used NULL for the
outline index, but GCC 2.95 didn't like that.
- Added support for column_widths() and column_char()
methods from the Fl_Browser widget.
- OS/2 fixes from Alexander Mai.
Changes in HelpView v1.0.1
- Now include a makefile and configure script.
Changes in FileChooser v1.4.2
- FileBrowser::load() didn't handle unreadable directories.
- FileIcon::load_fti() could store the outline color in freed
memory.
- FileIcon::load_system_icons() now uses default icons that
look like Microsoft Windows icons.
- FileIcon::load_system_icons() now supports GNOME and KDE
icons.
- FileIcon::draw() now accepts an "active" flag so that
inactive controls are drawn with inactive icons.
Changes in FileChooser v1.4.1
- Now include a makefile and configure script.
- Added missing XBM icon files.
Changes in FileChooser v1.4
- Now provided under the LGPL.
- Pressing the Cancel button, hitting escape, or closing the
dialog window clears the FileChooser value.
- The FileIcon class now loads icons for CDE and the IRIX
Interactive Desktop (auto-detect at run-time.) Support for
GNOME, KDE, and Windows is in the works.
- The FileIcon class now provides a
label()
method
for using icons as labels for widgets.
Changes in FileChooser v1.3
- Added new
FileInput
widget (world's shortest
widget! :) so that filename completion can be done with the
Tab, End, or right arrow key.
- The
FileChooser
widget now uses the
FileInput
widget instead of Fl_Input
.
- The text selection in the filename field now puts the cursor
at the end of the selection (unless you type the Backspace key.)
Changes in FileChooser v1.2
- Fixed VC++ compile problems.
- Filename completion now scrolls the file list to the first matching
file and selects it when it matches exactly.
- The
value()
method incorrectly reset the chooser
type to FileChooser::SINGLE
when the type was
FileChooser::CREATE
.
- The
value()
method didn't handle directories without
filenames properly (always showed drives/file systems).
- The "new directory" button is now only activated when the
chooser type is
FileChooser::CREATE
.
- The "OK" button is now disabled until a filename is selected or
entered on the keyboard.
- Previously the chooser would only beep at the user when a non-
existing filename was entered for
SINGLE
and
MULTI
type choosers. It now also pops up an alert
dialog with the text, "Please choose an existing file!"
- Added
iconsize()
, textcolor()
,
textfont()
, and textsize()
methods to
the FileChooser
class.
- The chooser no longer loads any icons by default; call the
new
load_system_icons()
method in the
FileIcon
class to get the icons.
- The
FileBrowser
widget now has iconsize()
methods to control the size of the icons separately from the text font.
- The
FileBrowser
widget now supports tabs and newlines
in the item string.
- Added
iconsize
, textcolor
,
textfont
, and textsize
methods to the
FileChooser
class.
Changes in FileChooser v1.1
- The
FileChooser::value()
method now has a default
argument of 1.
- Changed the
multi
methods and arguments to
type
so that the chooser can limit selection to existing
files if necessary.
- Added a
FileChooser::value(pathname)
method to
set the current selection and/or directory.
- The file completion code now handles directory navigation when
you press "/".
- The filename field now gets the full width of the window.