Fl::delete_widget() (STR #679)
src/Fl.cxx:
- Post an application message when a window is hidden on WIN32.
src/Fl_win32.cxx:
- Change async select message to WM_APP + 1, and document
our use of WM_APP.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4043 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
on some non-US versions of Windows (STR #720)
src/Fl_Preferences.cxx:
- RootNode::RootNode(): if AppData key does not exist, try Personal
key instead.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4042 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
WIN32, causing a GDI resource leak in some situations (STR #723)
src/Fl.cxx:
- Fl_Window::hide(): move XDestroyRegion() call outside of
the X11-specific code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4041 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
src/Fl_Widget.cxx:
- Check for NULL in Fl_Widget::copy_label()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4032 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
necessary (STR #653)
src/Fl_File_Chooser2.cxx:
- Fl_File_Chooser::fileListCB(): deactivate OK button when
the current item is not the right type.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4021 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
causing them to be drawn using the normal label type (STR #668)
fluid/Fl_Menu_Type.cxx:
- Use FL_*_LABEL constants instead of numeric label types in
menu items.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4011 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
FL/Fl_File_Browser.H:
- Don't reload the directory view unless asked to.
FL/Fl_File_Chooser.H:
- Rebuilt using current FLUID.
src/Fl_File_Browser.cxx:
- Don't reload the directory view unless asked to.
src/Fl_File_Chooser.cxx:
- Fl_File_Chooser::show() calls rescan().
src/Fl_File_Chooser.fl:
- Fl_File_Chooser::show() calls rescan().
src/Fl_File_Chooser2.cxx:
- Only call rescan() when chooser is shown.
src/Fl_File_Icon.cxx:
- Add optimization for Windows - filenames with trailing slash are
directories.
test/file_chooser.cxx:
- Only call show() once...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4010 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
fluid/Fl_Window_Type.cxx:
- Fl_Window_Type::write_code2() - now write xclass() code when
xclass is set.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4005 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
src/Fl_x.cxx:
- Check the list of source types and pick the first one that
starts with "text/".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3995 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
the callback function and test for it in the main code...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3969 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
if only little changes were done in the UI. OS X creates all
windows double buffered, whch would lead FLTK to beleive that
the background buffer was missing on every redraw, causing a
complete redraw of the full UI.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3953 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
#631)
Fl_Choice::value() now supports NULL or -1 to deselect the
current item (STR #637)
More VC++ 6 project file fixes (STR #638)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3928 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
applications to have their label strings managed by FLTK (STR
#630)
Added Fl::delete_widget() method to safely delete widgets in
callback methods (STR #629)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3917 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
completely disable image file support (STR #582)
The Visual C++ 6.0 project files still listed the old JPEG, PNG,
and ZLIB library names (STR #577)
Fixed the scandir() conditional code for HP-UX 11i (STR #585)
Fl_Text_Display didn't support CTRL/CMD-A/C (STR #601)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3898 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Fixed library include order when building DSOs on MacOS X (STR
#596)
fl_xid() could cause a WIN32 application to crash (STR #560, STR
#576, STR #618)
Fl_Browser::remove_() removed the item from the list before
computing the item height, which caused problems with some
programs (STR #613)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
More CMake updates (STR #499)
The Watcom C++ compiler needed a small change (STR #567)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3869 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Added DESTDIR support and now remove all man pages for the
"uninstall" target (STR #545)
Fix PNG drawing on buggy WIN32 graphics cards (STR #548)
The configure script didn't propagate the CPPFLAGS environment
variable (STR #549)
The numpad keys didn't work properly on WIN32 (STR #502)
fl_input() and friends now set the input focus to the text field
when the dialog is shown (STR #553)
Fixed background color mixup when drawing Fl_Choice menus (STR
#544)
Fixed MingW makefiles (STR #550)
More VC++ project file tweaking (STR #559)
Fl_PNG_Image didn't use the png_set_trns_to_alpha function when
available (STR #547)
The FL_UNFOCUS event wasn't always sent when switching tabs (STR
#558)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3868 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
FL_RGB8 (STR #541)
The last line in an Fl_Help_View widget was not aligned properly
(STR #536)
The "search" symbol looked like a Q (STR #536)
Changed Fl_Help_View::get_color() to use a lookup table to avoid
serious Borland C++ 5.5 compiler bugs (STR #533)
Fixed Watcom compiler warnings with FL/Fl_Widget.H (STR #540)
The image class copy() methods did not always make a separate
copy of the image data (STR #539)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3844 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
tooltip delay was not used after a tooltip was shown (STR #465)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
The old source file "fl_set_gray.cxx" is not needed (STR #516)
Fl_Text_Display still called delete[] instead of free() in one
place (STR #503)
Fl_File_Chooser didn't correctly call isprint() and isspace()
when checking to see if the current file was text that can be
previewed (STR #517)
FLUID didn't compile with Borland C++ due to a compiler bug (STR
#496)
Fl_Positioner did not handle reversed min and max values (STR
#510)
fl_descent(), fl_height(), and fl_width() would crash a program
if you didn't call fl_font() first; they now return -1 if no
font is set (STR #500)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
- added a 'test/unittests' which wil check for identical drawing on all
platforms. This was desperatly needed to fix tremendous problems in
getting the Quartz drawing routines right
- disabled anti-aliasing for functions that draw straight lines at integer
coordinates
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
All of the core widgets now consistently set changed() before
calling the callback function for a change in value; this allows
programs to check the changed() state in a callback to see why
they are being called (STR #475)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3713 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Fl_File_Chooser did not handle some cases for filename
completion (STR #376)
Fl_Help_View didn't properly compute the default maximum width
of the page properly, resulting in non-wrapped text in table
cells (STR #464)
Fl_Text_Editor no longer tries to emulate the Emacs CTRL-A
shortcut to move to the first column, since there is a key for
that and the widget does not emulate any other Emacs keys (STR
#421)
Fl_File_Chooser always disabled the OK button when the user
pressed DELETE or BACKSPACE (STR #397)
Added Fl_Browser::swap() methods (STR #459)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3698 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
box type was set to FL_THIN_UP_BOX (STR #467)
Fl_Help_View now resets the scrollbars if they go outside the
current view (STR #464)
fl_dir_chooser() did not show the previous selection as
documented (STR #443)
Fl_Text_Display used delete[] instead of free() in some places
(STR #466)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3691 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Help Dialog clearer, I added a magnifying glass in front of the
field sybolising "search".
I made the scaleable magnifying glass available as a symbol via
"@search"
I added yet another symbol that draw a vectorized version of
the FLTK logo. Available via "@FLTK".
Lastly, I changed the 'symbol' test program to show the additional
symbols, and added a slider to changae the relative symbol size.
I hope the new symbols look good enough on other platforms, too. I
tested only OS X.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3479 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Added keylookups and keycodes for FL_Menu and FL_Delete keys.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3459 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
I added the function Fl_Menu_Item::first() whi returns the first visible
menuitem, just like ::next() returns the next visible item, and added the
::first() call in the Menu code.
first() is an inline function that calls next(0). I updated next() to
correctly handle list where the current item is invisible.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3448 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
plastic and the box type is a frame (STR #205)
Fl_Window::resize() did not work properly with KDE 3.2 (STR
#356)
FLTK didn't delete font bitmaps when the last OpenGL window was
deleted, preventing future text from displaying (STR #310)
FLUID didn't include a full initialization record for the
trailing NULL menu items (STR #375)
Fl_Browser::item_width() did not properly handle format
modifiers (STR #372)
Fl_Browser::item_height() did not handle columns properly (STR
#371)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3419 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
over generic formats (STR #382)
Fl_Window::resize() did not work on some systems if the window
was not shown (STR #373)
FLUID did not write the user_data type if the user_data field
was empty (STR #374)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3416 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
The value(const Fl_Menu_Item*) method was not implemented for
Fl_Choice (STR #366)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3402 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
is used and the Fl_Scroll is a direct decendent of a window (STR
#205)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3380 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
localization of the file chooser's new directory button (STR
#340)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3306 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
FLUID's Layout->Center In Group functionality did not properly
handle widgets that were children of a Fl_Window widget (STR
#318)
The Fl_Text_Display destructor did not remove the predelete
callback associated with the current buffer (STR #332)
Fixed several bugs in the MacOS X Fl::add_fd() handling (STR
#333, STR #337)
The Fl_Text_Display widget did not display selections set by the
application (STR #322)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Fl_Scroll::clear() didn't remove the child widget from the
Fl_Scroll widget (STR #327)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3297 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
rectangle (STR #235)
fl_filename_relative() returned the wrong string if the absolute
pathname was equal to the current working directory (STR #224)
Fl_Help_Dialog didn't correctly restore the scroll position when
going forward/back in the link history if the file changed (STR
#218)
glutGetModifiers() did not mask off extra state bits, confusing
some GLUT-based applications (STR #213)
Fixed mouse capture problems on MacOS X (STR #209, STR #229)
Fl_Sys_Menu_Bar is now built into the library for MacOS X (STR
#229)
Fl_Menu_ now provides item_pathname() methods to get the
"pathname" of a menu item, e.g. "File/Quit" (STR #283)
Fl_Text_Display now provides cursor_color() methods to get and
set the cursor color (STR #271)
Fl_Scroll didn't honor FL_NO_BOX (STR #305)
FLUID declaration blocks didn't support public/private
definitions (STR #301)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3231 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Fl_Preferences incorrectly created the preferences directory
before necessary (STR #247)
The WIN32 project files still defined the (obsolete) FL_STATIC
constant (STR #279)
Fl_Text_Display::buffer() did not support NULL values, making it
impossible to clean up text buffers from a subclass (STR #295)
Fl_Text_Display did not support a NULL unfinishedStyleCB
function (STR #241)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
directory names (STR #263)
Fl::compose() did not handle special keys like backspace
properly (STR #293)
Fl_Choice did not clip its text when drawing using the plastic
scheme (STR #287)
Fl_Group incorrectly mapped the emacs CTRL keys to keyboard
navigation (STR #228)
Fl_File_Browser::load() didn't handle a NULL directory name (STR
#266)
64-bit library fixes (STR #261, )
The Fl_Valuator::format() function did not limit the size of the
number buffer (STR #268)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3211 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
libraries don't exit the app with a bad file (STR #168)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3105 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
selection when focus was shifted to another widget
(STR #131)
Fl_Choice didn't use the normal focus box when the
plastic scheme was in use (STR #129)
Fl_Text_Editor didn't use selection_color()
consistently (STR #130)
The fltk_forms, fltk_gl, and fltk_images DSO's and
HP-UX shared libraries are now linked against the fltk
shared library to provide complete dependency
resolution (STR #118)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3081 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Fix copyrights on some files that still showed -2002...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3070 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
and Fl::get_system_colors() so that it doesn't override user/program colors
(STR #119)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3069 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
#ifdef in fluid was wrong - didn't use piping on OSX when not compiling
against Metroworks compiler.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3068 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
OS X: FLTK now queries the true windows position from the
window manager after creating a new window. This fixes the
problem with popup menues showing up at the wrong position.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3067 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
group instead of appending (see paste_cb, force_parent). Mike,
could you please check if this has any side effects somewhere?
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3052 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
fontheight was != 0. Fixed to change fonts, but keep height.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3051 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
provide an inline method that mapped to the Fl_Widget::size()
method (STR #62)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3033 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
#61)
Fl_Double_Window now has a type() value of FL_DOUBLE_WINDOW, to
allow double-buffered windows to process redraws properly on
WIN32 (STR #46)
Added FL_DAMAGE_USER1 and FL_DAMAGE_USER2 damage bits for use by
widget developers (STR #57)
Fl_Help_View didn't support numeric character entities (STR #66)
Menu shortcuts didn't use the Mac key names under MacOS X (STR
#71)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
CodeWarrior 8.3 . Versions below 8.3 are buggy and need to be upgraded
(free upgrades on the MetroWerks web pages).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3025 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
on OSX (to allow FLUID and other apps to register a callback to open files)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3016 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
fltk-config script (STR #56)
Fix configure tests that had bogus whitespace in them (STR #60)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3015 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Update announcement for 1.1.4rc1.
Add 1.1.4rc1 to version list in STR form.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3004 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
treated as another double-click (actually triple click, but the effect
was the same...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2998 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Default to blue for the selection color on OSX; otherwise links and
other visual elements are not the correct color.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
non-punctuation/space character for word boundaries (STR #26)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2977 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Include shellapi.h instead of ShellAPI.h in the WIN32
drag-n-drop code in order to work with the MingW cross compiler
(STR #6)
The cursor was not properly restored when doing drag-n-drop on
X11 (STR #4)
Fl::remove_fd() didn't recalculate the highest file descriptor
properly (STR #20)
Fl_Preferences::deleteGroup() didn't work properly (STR #13)
Fixed the fl_show_file_selector() function - it was copying
using the wrong string size (STR #14)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2975 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
- fixed some minor Valgrind memory checker complaints
- added conditional compile flag for OS X w/ MetroWerks compiler
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2967 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
"FL_EXPORT Fl_File_Chooser"...
Update Fl_File_Chooser and Fl_Help_Dialog to use the new interface so
that we don't have to add FL_EXPORT every time we make a change...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2934 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Fix error messages to use Fl::error() instead of fprintf().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2898 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Added filename_setext() macro for FLTK_1_0_COMPAT.
Fixed copy() methods so they don't overflow the source image buffer.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2881 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
are no prototypes and not all patch levels provide them.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2832 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
CTRL-V no longer segfaults Fl_Text_Editor when the clipboard is empty.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2830 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
their own borders.
Support CMD+[cxv] for copy/cut/paste on OSX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2717 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
move Fl_Slider focus stuff to main handle() method, use Fl_Light_Button
in scroll demo.
Bump version numbers to 1.1.2.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2690 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Fl_Text_*. Rather than breaking binary compatibility, add the necessary
configure check and code in config.h.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2682 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
(only OSX and Windows...) This makes cross-platform patterns complicated...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2667 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Call the callback when the user clicks or drags in a readonly input
field.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2664 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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