own custom ideal_size() function, and we now snap when showing the
alignment guides.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4086 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
guide stuff. This allows for different sizes and spacing depending on
the widget and size...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4085 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Clean up implementation of guide lines and snapping - now does horizontal
*and* vertical snapping/spacing, nicer drawing of width/height lines,
eliminated space width since we're always doing 10 pixels, and delay
drawing of bounding box until the end so that snap adjustments are reflected
in the display.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4084 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
text and box stuff for use in FLUID.
Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4072 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
src/fl_draw.cxx:
- fl_measure(): use "h" instead of "min(w,h)", since "w" is
usually 0.
src/Fl_Menu.cxx:
- Revert previous "fix" in Fl_Menu_Item::measure()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4070 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
src/Fl_Menu.cxx:
- Fl_Menu_Item::measure() - initialize w and h to label font
size so that the symbol size is calculated properly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4066 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
(STR #739)
src/Fl_JPEG_Image.cxx:
- Use setjmp/longjmp to catch JPEG file errors and prevent the
JPEG library from crashing the FLTK app.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4061 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
FLUID to crash (STR #742)
The Fl_Input_Choice documentation was not installed (STR #745)
documentation/Makefile:
- Add Fl_Input_Choice.html to list of doco files.
fluid/align_widget.cxx:
- Only do a full resize if the widget is not a menu button.
- Also set modflag when making changes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4060 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Fluid now indicates a "good" (according to some Apple guidelines, but that's not permanent y any means) distance of widgets to the window border, indicates vertical and horizontal alignment with other widgets, shows "good" sizes for buttons, and indicates a good distance between two buttons at the same y-position.
Achtung, Baby: I wrote this on a WIndows machine, hoping that SVN will replce CR/LF with LF's, as promised by the documentation. Unix users: please check and blame me!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4057 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
instead of 5 lines when the user presses PageUp or PageDown (STR
#727)
src/Fl_Input.cxx:
- Set repeat_num to h()/textsize() instead of 5.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4049 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
mouse pointer and then to the first widget which accepts them.
This is similar to the way shortcut events are handled and is
consistent with the way the mouse wheel is handled by other
toolkits.
src/Fl.cxx:
- Fl::handle(): Send FL_MOUSEWHEEL events to grab() or
current window instead of focus widget.
src/Fl_Group.cxx:
- Fl_Group::handle(): Send FL_MOUSEWHEEL events first to an
event_inside() widget, then to the first non-inside widget
that accepts them.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4045 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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_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