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_JPEG_Image.cxx:
- Add custom error manager structure and update error and output
handlers so we properly handle bad JPEG files.
src/Fl_Shared_Image.cxx:
- Add initializers for num_handlers, alloc_handlers, and handlers
variables.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4040 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
dependency stuff instead to use the correct library file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3960 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
jump to the main screen. Very few extremes do not work 100%, but
that would require much more information in the menu calls.
Nothing to worry about.
Anyway, jumping menus are fixed on the Mac.
Linux and Windows may require similar solutions, however, setups
with two different screen size are rare on those systems.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3914 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
which now allows hotspot dialogs to pop up on a second screen, if
requested.
Unfortunatly, popup menus still pop into the main screen as soon as the
mouse is moved.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3913 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Dock and the top menubar in the main screen. It also avoids positioning
across the borders of two screens.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3912 ea41ed52-d2ee-0310-a9c1-e6b18d33e121