The problem seems to be an idefinite repeat of the WM_PAINT message. The driver sends an internale WM_PAINT (one that does not contain an update region). FLTK then creates a union with the still existin 'i->region' of the OpenGL window, causing yet another WM_PAINT message.
The fix is to not run through the WM_PAINT handler at all if there is no update region (as suggested by Microsoft). This change is definetly debatable, since it does modify some internal FLTK behavior. I will commit it anyways for now, but we should pay very close attention to redraw problems by those who use the svn releases.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4456 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
OpenGL Windows inside Tabs that were inside of tabs were not drawn correctly. This was due to the fact that a first 'show' on a Tabs widget would show *all* groups inside the tab (unless the user called 'value(...)' on it first). This was only visible on OS X, because subwindow clipping would wrongfully clip even hidden subwindows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4448 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This fix changes the CodeEditor to do a single 'insert'. It would be better to change Fl_Text_Display to increment the redraw range if more characters are inserted before the actual draw is called. Since this goes too close to core code for my taste, I leave that as an exercise for 2.0.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4446 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
items with correct handles and a dotted boundig box for all
labels (STR #790)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4437 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
- added textsize etc. support for Fluid Live Mode for Fl_Input type.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4436 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
For FLTK2, this is no issue since subwindows and subgroups are implemented without OS support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4416 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
- Fixed some minor alignment in Fluid.
- Live Mode window in Fluid is now double buffered to get rid of flicker.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4415 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Although this fixes the crash, the font enumerator in FLTK should never return a number larger than 255 (which unfortunatly is the maximum number of fonts supported by FLTK 1 for binary compatibility)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4411 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Two fixes were possible: correctly searching linked submenus, or disabeling submenu links alltogether. I decided for the later since the use of FL_SUBMENU_POINTER implies that the user knows the pointer and can search that submenu seperately, saving time when searching the main menu.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4384 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Fixed fake_X_wm call on Win32 to return the correct window decoration sizes, even in XP's "Teletubbies" mode.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4379 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Everything should resize nicely now. All Widgets have been realigned. Hope you guys like it... .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4378 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
like the original scheme buttons. This is relatively slow, but worth
the effort, I beleive. Just use double buffered windows... .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4374 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Fl_Tabs would steal focus away from its children on a window
focus change (STR #870)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4358 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
allowing all platforms to try the colbrowser demo (STR #843)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4343 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Added a FPS indicator to the fractals demo for testing purposes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4342 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
the tab background, and to highlight the top 5 lines of the tab
pane with the selection color so that selected tabs stand out
more.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4295 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
etc.
Add "install" target to test directory which installs the example programs.
Install the config.h file in the examples directory.
Make sure the example programs compile outside the FLTK source dir.
Add example programs to fltk.list.in.
Fix missing redraw() in x_cb() in FLUID...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4287 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
#774)
src/vsnprintf.c:
- Replaced fl_vsnprintf() implementation with one that
properly emulates the vsnprintf() function.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4262 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
screen displays (currently only X11 support with Xinerama)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4223 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
the user picks a file or directory in multiple selection mode
(only files or directories, not both at once...)
Use the fl_file_chooser_ok_label() function in FLUID.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4191 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
single file, and it now works when selecting multiple directories
(STR #747)
Fl_File_Icon::load_system_icons() now only loads 16x16 and 32x32
icon images to improve startup performance.
Fixed an error dialog message in FLUID.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4189 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
will choose that directory if it is currently shown (STR #746)
Added a fl_file_chooser_ok_label() function to set the "OK"
button label for the fl_file_chooser() and fl_dir_chooser()
functions.
Added Fl_File_Chooser::ok_label() methods to set the "OK" button
label.
The fl_ask() function is now deprecated since it does not conform
to the FLTK Human Interface Guidelines.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4188 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
#766)
The Fl_Help_Dialog window now properly resizes its controls (STR
#768)
The Fl_File_Chooser favorites window is now resizable (STR #770)
Added more documentation on the file chooser filter pattern format
(in both functions.html and Fl_File_Chooser.html)
Added Fl_File_Chooser::save_label (for favorites dialog) and
Fl_File_Chooser::ok_label() to change the default "OK" button
label to something more appropriate according to the HIG.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4187 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
window size_range() so that the window can still be resized through the
window manager controls...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4180 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
CodeEditor widget in FLUID.
Use the CodeEditor widget for the other code windows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
so dark bars would make it difficult to read the label.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4160 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
CHANGES:
- Add fl_read_image() note and move documentation STRs back
to the top of the list...
fluid/fluid.cxx:
- Use printer choice data instead of the label text, since
we have to escape / in printer names.
- Change page number in header to n/N.
fluid/print_panel.*:
- Don't disable properties button, ever.
- Quote / in printer names.
- Put copy of real printer name in the user data.
- Use user data instead of label text for printer name.
fluid/template_panel.*:
- Only free the files array if num_files > 0.
src/fl_read_image.cxx:
- Use fl_visual->visual->*_mask instead of fl_*mask and
fl_*shift when the XGetImage() data does not have them
set.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4157 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Set the window callback to do the same as the cancel button in the template
panel.
Clean up widget bin + tooltips (didn't have correct tooltips for new widgets)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4149 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
preview images that are generated when you save the template.
Use @INSTANCE@ anywhere you want to substitute an instance name.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4148 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
fluid/Fl_Type.h:
- Added read_image() declaration to Fl_Window_Type class.
fluid/Fl_Window_Type.cxx:
- Added Overlay_Window::read_image() and
Fl_Window_Type::read_image() functions.
- Fl_Window_Type::fix_overlay(): update menu indices.
- toggle_overlays(): update menu indices.
fluid/fluid.cxx:
- save_template_cb(): Added to save to
~/.fltk/fltk.org/fluid/templates, along with PNG screenshot
of first window.
- "Save To" instead of "Save to".
- Use fl_alert() for errors, not fl_message().
- Add "File/Save Template..." and "File/Print..." (not yet
implemented) menu items.
- toggle_widgetbin_cb(): update menu indices.
fluid/undo.cxx:
- Update menu item indices.
- Don't need extra slash in undo checkpoint filename.
src/Fl_PNG_Image.cxx:
- Fix typo in #endif comment.
src/Fl_Window.cxx:
- Fl_Window::draw(): save/restore flags() when changing label.
- Fl_Window::iconlabel(): save/restore flags() when changing label.
src/fl_rect.cxx:
- fl_not_clipped(): don't use current window for gross clipping.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4147 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
"Ctrl+n") to be consistent with other toolkits.
Remove debug printf from undo_checkpoint().
Change "Show Widget Panel" to "Show Properties" since it displays any
Fl_Type dialog, not just the widget panel.
Add "properties" to all of the type dialogs (UI consistency)
Remove extra elipsis (...) from code items in the new menu.
Revert Grid shortcut to Ctrl+G, since Alt+G is used to run a shell
command again.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4146 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Set window image to scheme_bg image when the window is shown.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4140 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
fluid/align_widget.cxx:
- Add widget_size_cb() to set default size and size of
labels and text for selected widgets.
fluid/factory.cxx:
- More normalization of menus - "..." when opening a window,
Capitalized Words.
- cb(): Assign default label/text size and resize to ideal
size.
- Make sure that all buttons, input, and valuator widgets
have default label strings.
- Fl_*_Button::ideal_size(): fix ideal width calcs to match
widget.
fluid/Fl_Menu_Type.cxx:
- Fl_Menu_Item_Type::make(): set default label size.
fluid/Fl_Type.h:
- Add Fl_Widget_Type::default_size global.
- Fl_Menu_Item_Type::type_name(): return "Menu_Item".
- Fl_Submenu_Type::type_name(): return "Submenu".
- Update ideal_size() methods to use a default height that
is evenly divisible by 5.
- Fl_Choice_Type::ideal_size() and
Fl_Menubutton_Type::ideal_size(): fix ideal width calcs to
match widget.
- Fl_Menu_Bar::ideal_size(): add, returning the window
width.
fluid/fluid.cxx:
- Add "Layout/Widget Size" submenu.
- "File/Write code..." becomes "File/Write Code..." and
"File/Write strings..." becomes "File/Write Strings..."
fluid/fluid.plist:
- Bump version number and copyright info.
fluid/Fl_Widget_Type.cxx:
- Fl_Widget_Type::ideal_size(): add box dw/dh and enforce a
minimum size of 15x15.
- labelsize_cb(): use Fl_Widget_Type::default_size instead
of FL_NORMAL_SIZE.
- textsize_cb(): use Fl_Widget_Type::default_size instead of
FL_NORMAL_SIZE.
fluid/Fl_Window_Type.cxx:
- Fl_Window_Type::newdx(): require at least 2 pixels of
movement.
- Fl_Window_Type::draw_overlay(): adjust bounding box for
outside labels above and below.
- Fl_Window_Type::handle(): reset dx/dy on FL_PUSH.
fluid/function_panel.cxx:
fluid/function_panel.fl:
fluid/function_panel.h:
- Update some of the windows for the "small" size.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4129 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Add Edit/Duplicate to duplicate the current selection; this functions
independently of the cut/copy/paste buffer.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4126 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
that contrary to the man pages, a fractional 'step' value above 1
would not create a floating point input.
In fact it does, but the output was formatted wrong so that the
digits after the decimal point were never rendered.
I changed the Fl_Valuator::format(double v) function how I beleive
it should format the output correctly, but as already stated by
the original author in the source code, this is a hack that should
be fixed by providing a 'precission' setting for valuators.
Anyway. My fix makes sure that all digits right of the decimal
point are always rendered, so that the step value will show full
precision. This gives a much better behavior in respect to steps values
like 2.5, 3.75, etc., but also leads to 8 digits after the decimal point
for step(1.0/3.0)... .
I suggest that we keep this change (hence the commit), risking that
rendering of valuator text will change in a few cases (odd step() values).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4091 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
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_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