changes
来自「SRI international 发布的OAA框架软件」· 代码 · 共 1,644 行 · 第 1/5 页
TXT
1,644 行
- Documentation updates...
- The configure script now works within the CygWin
environment.
- Tooltips are now enabled by default, but are not
re-enabled when calling the Fl_Widget::tooltip()
method.
- Added new Fl::version() method to get the current
FLTK library version (for shared libraries/DLLs)
- Added new Fl::event() method to get the current
event that is being processed.
- Added new fl_beep() function to do audible
notifications of various types.
- Added new Fl_GIF_Image, Fl_JPEG_Image, Fl_PNG_Image,
Fl_PNM_Image, Fl_XBM_Image, and Fl_XPM_Image classes.
- Added new Fl_Shared_Image class, a la FLTK 2.0.
- Added new Fl_Tiled_Image class for tiled backgrounds.
- Added new copy(), desaturate(), inactive(), and
color_average() methods to the Fl_Image classes.
- Added a horizontal scrollbar to the Fl_Help_View
widget.
- Added new FL_PLASTIC_{UP/DOWN}_{BOX/FRAME} boxtypes
for a more "modern" look (sort of a cross between KDE
2.2 and Aqua.)
- Fl_Float_Input and Fl_Int_Input no longer accept
pasted text that is not a floating point or integer
value. Pasted numbers now replace text in these
widgets.
- Implemented the Fl_File_Icon::load_png() method.
- The Fl_File_Icon::load_system_icons() method now
supports KDE 2.x icons.
- Fixed PNG support in Fl_Help_View.
- Removed the "Microsoft" mode button from the menubar
demo.
- The browser demo now makes sure that the input field
contains a number.
- The Fl_Browser::make_visible() method now range checks
the input.
- Updated the fl_draw() and fl_measure() methods to
accept an optional draw_symbols argument, which
controls whether symbols are drawn in the text.
- Added new Fl::visible_focus() methods to control
whether the focus box is drawn.
- The focus box is now drawn using the contrast color.
- Fl_Repeat_Button didn't accept keyboard focus.
- Added new Fl::visible_focus() method and standard
"-kbd" and "-nokbd" options in Fl::args() processing
to control whether keyboard focus is shown and handled
by non-text widgets.
- The wrong tooltip could be shown if the user moved the
mouse over adjacent widgets with tooltips.
- The drop-down button on Fl_Choice widgets was not
limited in width.
- Tooltips could appear off the screen.
- Mouse wheel events are now sent to the focus widget
first, then to any other interested widget.
- The Fl_RGB_Image class now supports images with an
alpha channel. Images are currently drawn using
"screen door" transparency... See the "image" demo
for an example.
- Added new fl_create_bitmask() and fl_delete_bitmask()
functions that create bitmap objects for masking and
bitmap drawing.
- Was sending FL_RELEASE events for buttons 4 and 5
under X11, which are only for FL_MOUSEWHEEL.
- Fl_Help_View now supports the EM and STRONG elements.
- Didn't do callbacks when changing tabs via keyboard.
- FLUID didn't write tooltip strings to the message
catalog file.
- Fl_File_Icon now uses Fl_Shared_Image to load icon
images; the load_png() and load_xpm() methods have
been replaced by a single load_image() method.
- Fl_File_Icon::load_system_icons() now does a better
job of finding KDE icons.
- Now use Fl::warning() and Fl::error() in place of
printf's in some of the newer widgets.
- The default behavior of Fl::error() is now to display
an error but not to exit; Fl::fatal() still exits.
- FLUID now uses the Fl_Shared_Image class, so FLUID-
generated GUIs can embed any of the supported image
file formats.
- New filename_relative() function to convert an
absolute filename to a relative one.
- Updated the filename_absolute(), filename_expand(),
and filename_setext() functions to take the
destination string size, with inline functions for the
old FL_PATH_MAX size.
- fl_file_chooser() and fl_dir_chooser() now return a
relative path.
- Fl_Help_View now supports all ampersand escapes.
CHANGES IN FLTK 1.1.0b5
**** NOTE: DUE TO CHANGES IN THE WIDGET CLASSES, ****
**** YOU MUST RECOMPILE ALL SOURCE FILES ****
**** THAT USE FLTK!!! ****
- All FLTK color values are now 32-bits and support
both the legacy 8-bit color values as well as 24-bit
RGB values (0xRRGGBB00 for 24-bit RGB, 0x000000II
for indexed color).
- Fl::set_boxtype() and fl_internal_boxtype() now keep
track of when a boxtype is changed; this allows you to
override the "special" boxtypes without references to
those boxtypes causing them to be reset.
- Fl_Help_Func now takes a Fl_Widget pointer as well as
a pathname.
- Added code to support FL_KEYUP events.
- Focus did not return to the Fl_Text_Display and Editor
widgets when scrolling and then clicking inside the
editor window.
- Now set the line size of the vertical scrollbar in the
text editor to 1.
- The symbols demo didn't show the strings needed to
show the corresponding symbol (the label string was
not quoted...)
- FLTK should now compile with Cygwin cleanly.
- Shortcut changes were not being saved by FLUID.
- FLUID didn't write the deimage() static data.
CHANGES IN FLTK 1.1.0b4
**** NOTE: DUE TO CHANGES IN THE FL_WIDGET CLASS, ****
**** YOU MUST RECOMPILE ALL SOURCE FILES ****
**** THAT USE FLTK!!! ****
- Updated the flags_ member of Fl_Widget to be an
integer instead of uchar, to support the new
FL_OVERRIDE flag for Fl_Window.
- The parent() method of Fl_Widget now uses pointers to
Fl_Group instead of Fl_Widget.
- Fl_Window now provides the FLTK 2.0 "override()" and
"set_override()" methods for windows.
- Added a configure check (and warning) for GCC 3.0.x.
- Updated the configure script to check for the
png_set_tRNS_to_alpha() function.
- Updated the config.h files for all platforms for the
image and FLTK documentation defines.
- Updated the makeinclude files for all platforms to
match the current makeinclude.in file.
- FLUID would crash if you cleared an image for a
widget.
- Fl_Help_View::add_image() did not initialize the image
member of the base (unscaled) image.
- Fl_Help_View didn't support A elements with both a
NAME and HREF attribute - the HREF was ignored.
- Miscellaneous compile warning fixes.
- Tooltips were being reset by Fl::belowmouse(), which
caused problems with the FLUID main window (flashing
tooltip windows and serious problems with KDE 2.2)
- The editor demo had the save and discard button
actions reversed.
- The Fl_Help_View widget now uses
png_destroy_read_struct() if the older
png_read_destroy() function is not available.
- The WIN32 DLL library now includes the OpenGL widgets.
This is a simpler solution for the export/import
dillemma under WIN32, as OpenGL and non-OpenGL symbols
need to be exported at different times with the
separate library scheme. Since OpenGL is standard
under Windows, this is less of a problem than under
UNIX...
CHANGES IN FLTK 1.1.0b3
- The top-level makefile did not include the makeinclude
file, causing the fltk-config installation commands to
fail.
- The fl_file_chooser.cxx source file conflicted with
Fl_File_Chooser.cxx under Windows. Similarly, the
fl_file_chooser.H header file conflicts with the
Fl_File_Chooser.H header file.
- Now save and restore the GDI pen object when
responding to WIN32 paint messages.
- Documentation updates from A. Suatoni.
CHANGES IN FLTK 1.1.0b2
- New fltk-config script.
- Fixed image/text label handling; in b1 the label
needed a non-blank text string to display the image.
This bug also caused all sorts of crashes and display
problems.
- Added new filetype() method to Fl_FileBrowser to allow
for file or directory browsing.
- Fixed the drawing of the focus box around
Fl_Return_Button.
- Fixed menu item measurement bug (wasn't initializing
image pointers to 0...)
- Radio and checkbox menu items now draw with the new
style (round radio buttons with dots and square check
buttons with check marks.)
- Improved the appearance of Fl_Check_Button.
- Improved the Fl_HelpView table formatting code; now
dynamically sizes the table columns, and supports
COLSPAN.
- The FLUID keyboard shortcuts now work as expected
(CTRL-C copies, SHIFT-CTRL-C writes code, etc.)
- The FLTK_DOCDIR environment variable can now be
used to tell FLUID where to find the on-line
documentation files.
- FLUID now supports image labels in addition to text
labels + text over image alignment.
- FLUID now supports tooltips.
- The widget panel in FLUID is now tabbed, a la FLTK
2.0.
- The FLUID pixmap destructor tried to free 1 too many
lines of image data.
- FLUID now provides on-line help.
- Changed Fl_FileXYZ to Fl_File_XYZ.
- Changed Fl_HelpXYZ to Fl_Help_XYZ.
- Tooltip fixes for Fl_Browser_, Fl_Choice, and Fl_Input_.
- Added tooltips to FLUID, help dialog, and file chooser.
- Now load system icons in FLUID.
CHANGES IN FLTK 1.1.0b1
- Added new image() and deimage() methods to support
image + text labels more easily.
- Added new alignment bit FL_ALIGN_TEXT_OVER_IMAGE.
- Added tooltip support using Jacques Tremblay's tooltip
patch.
- Added keyboard navigation to all widgets.
- Added support for mouse wheels using the new
FL_MOUSEWHEEL event type. Get the mouse wheel
movement values from Fl::e_dx (horizontal) and
Fl::e_dy (vertical).
- Added the Fl_Check_Browser, Fl_FileBrowser,
Fl_FileChooser, Fl_FileIcon, Fl_HelpDialog,
Fl_HelpView, Fl_Progress, and Fl_Wizard widgets from
the bazaar.
- Added 2.0 Fl_Text_Display and Fl_Text_Editor widgets
based on NEdit.
- The Fl_Choice widget now looks more line a combo box
than a Motif option menu.
- Moved the OpenGL widgets into a separate library
called fltkgl - this eliminates shared library
dependencies on OpenGL when no OpenGL functionality is
used/required.
- FLUID now supports the new Fl_CheckBrowser,
Fl_FileBrowser, Fl_FileIcon, Fl_HelpView,
Fl_Text_Display, Fl_Text_Editor, and Fl_Wizard
widgets.
- Updated configure stuff to support shared libraries
under AIX (link to -lfltk_s)
- Symbol labels can now contain regular text.
- FLUID now supports relative filenames for the source
and header files you generate.
- Fl_Menu_Item::add() didn't use the flags that were
passed in.
- Fixed a bug in Fl_Scrollbar - clicking in the "trough"
of the scrollbar would move the scroller in the wrong
direction.
- Made the Forms pixmap parameter const to match the
Fl_Pixmap.H definitions.
- Changed the Fl_Pixmap constructor to use the explicit
keyword which should work for all C++ compilers.
- Fl_Menu_add of a menu item with the same name as an
existing submenu title would mess up by replacing that
menu title, it now adds a new item.
- Fl_Menu::add() of text starting with '/' to a menu is
assummed to be a filename. So "/foo/bar" creates a
single menu item. You can also put filenames into
submenus by doing "submenu//foo/bar", this will create
a submenu called "submenu" with an item "/foo/bar".
Menu items starting with "\_" will insert an item
starting with '_' rather than a divider line. These
changes make the menus compatable with fltk 2.0.
- Another little fix for the BoXX OpenGL overlays.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?