Commit Graph

1218 Commits

Author SHA1 Message Date
Albrecht Schlosser
1aba94f136 New method Fl::scheme_is(const char *name).
This is a convenience method to support easier implementation of
scheme-specific code in draw() methods and elsewhere.

Also improved Fl::scheme(const char *name) documentation.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10075 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-21 13:29:15 +00:00
Albrecht Schlosser
eb980231be Fixed recent MinGW build WRT configure not finding strcasecmp() (STR #2994).
Note: This fix is temporary and should be revisited later.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10044 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-03 17:24:00 +00:00
Albrecht Schlosser
738563f973 Fixed missing libdl dependency in CMake builds (STR #2977).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10042 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-03 16:42:21 +00:00
Albrecht Schlosser
642c475493 Fixed segfault in fl_set_fonts_xft.cxx when loading fonts not named
as expected (STR #2976).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10041 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-03 16:17:05 +00:00
Albrecht Schlosser
8e30fc438c Made Fl_Help_View::handle() public and Fl_Help_View::draw() protected
to enable inheritance and for consistency (STR #2834).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-12-30 14:18:18 +00:00
Greg Ercolano
d36882e67e Adds horizontal scrollbar to Fl_Tree as an ABI 1.3.3 feature.
***************************************************************
NOTE: You MUST uncomment the FLTK_ABI_VERSION in Enumerations.H
      to use these changes.
***************************************************************

Also: separated tree size calculation from draw() code,
so that one can cause the tree to recalculate immediately
after making modifications to the tree by calling Fl_Tree::calc_tree().

Numerous improvements to docs for the tree as well, enough
to create a rather large diff.

Large internal changes were needed to do this properly.
The following was added to the CHANGES file:

	- Fl_Tree: various related changes:
	    o Added horizontal scrollbar
	    o Separated draw() and tree size calculation
	    o Added new public methods:
	        > resize()           -- uses optimized dim calc, avoids tree recalc
		> next_item()        -- added parameters: direction, visibility
		> extend_selection() -- added parameters, improved algorithm
		> calc_dimensions()  -- calc tix/y/w/h, tox/y/w/h and scrollbars
		> calc_tree()        -- calc tree_w/tree_h
		> recalc_tree()      -- schedules calc_tree()
		> first_visible_item(), last_visible_item(), next_visible_item()
		> first_selected_item(), last_selected_item(), next_selected_item()
	    o Added protected variables:
	        > _tix/y/w/h      -- tree widget 'inner' dimension
		> _tox/y/w/h      -- tree widget 'outer' dimension
		> _tree_w,_tree_h -- entire tree hierarchy width/height
	    o Deprecated:
	        > item_clicked() -- use callback_item() instead
		> first_visible() -- use first_visible_item() instead
		> last_visible() -- use last_visible_item() instead

	- Fl_Tree_Item: various related changes:
	    o Added Fl_Tree ptr: needed for auto-recalc when item modified directly
	    o Added new methods tree(), recalc_tree()
	    o Added new ctor that accepts Fl_Tree*
	    o draw() parameters changed to include tree size calculations
	    o Deprecated:
	       > ctor using Fl_Tree_Prefs parameter (Fl_Tree* version better,
	         and must be used for 1.3.3 ABI features to work correctly)
	       > next_displayed() -- use next_visible() instead
	       > prev_displayed() -- use prev_visible() instead

	- test/tree: added tests for newly added features




git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-12-15 18:59:02 +00:00
Greg Ercolano
39a8ef3c4c Updated CHANGES file with ABI mods.
Also: added release dates for all releases I could easily find copies of.
      To determine release dates, I used e.g.

      tar tvfz /net/software/fltk/fltk-1.1.1-source.tar.gz | sort --key=4 | tail

      ..the date stamps on the directories at the bottom of the report indicate
      the date the tar file was created.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10017 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-11-09 21:28:51 +00:00
Greg Ercolano
4e6779bc49 Added code example for ossman's new add_clipboard_notify(),
and updated CHANGES.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9976 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-09-13 22:57:30 +00:00
Albrecht Schlosser
e9767cce34 Removed autoconf/configure and CMake tests and defines for
unused function strtoll() [resolves one part of STR #2965].


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9923 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-05-22 10:40:58 +00:00
Greg Ercolano
322d82f7e7 Mods to CHANGES file for recent additions/fixes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9873 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-10 21:19:10 +00:00
Greg Ercolano
a1672828b5 Removing Fl_mac.cxx -- this code is no longer used.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9863 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-04-06 16:31:35 +00:00
Manolo Gouy
ef67cdc9d0 Added changes in Mac version of Fl_Native_File_Chooser.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-02-12 14:33:48 +00:00
Manolo Gouy
70ea6b8d7c Mentioned support for Mac OS text input system.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9768 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-19 12:34:42 +00:00
Albrecht Schlosser
da9c3af38a Fixed access of protected member (STR #2903)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9750 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-12 17:27:23 +00:00
Albrecht Schlosser
3b8e4b9e9c Removed unnecessary drawing calls (STR #2898)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9738 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-07 16:29:49 +00:00
Manolo Gouy
246157b51d Documented all changes from 1.3.1 release to 2012/11/25.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9733 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-26 11:59:14 +00:00
Greg Ercolano
09c80a3d7e Document mods for STR #2889
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9732 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-23 20:12:59 +00:00
Matthias Melcher
8701434312 Upgrade version number to 1.3.1
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9707 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-06 21:13:54 +00:00
Matthias Melcher
78039ecb55 Replaced 10302 with 10301 for FLTK_ABI_VERSION
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-06 20:46:14 +00:00
Matthias Melcher
4e0bc49713 Fixed fl_utf_strncasecmp etc.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9639 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-07-24 19:49:37 +00:00
Matthias Melcher
398acd9c2a STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-07-24 04:37:22 +00:00
Manolo Gouy
cbcf0c9312 Fixed STR #2644: support horizontal wheel movement under X11 and MSWindows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9624 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-21 08:52:29 +00:00
Albrecht Schlosser
66cea4322f Fix STR #2836: copy_label() with old label() value failed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9443 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-05-05 13:36:47 +00:00
Greg Ercolano
9a4ef219de Fl_Tree optimizations for selecting large trees (100k items).
Added _next_sibling and _prev_sibling to Fl_Tree_Item class to make 
next_sibling() and prev_sibling() more efficient during item selection.
Used new FLTK_ABI_VERSION macro (as designed by Greg and Albrecht on fltk.dev) to protect the ABI breaking features.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9231 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-01-19 12:44:26 +00:00
Albrecht Schlosser
d250e21542 Fixed Fl_Input_::maximum_size() documentation and Fl_Input::replace()
to honor maximum_size() as number of allowed characters (STR #2747).
This was a hangover from FLTK 1.1, where the number of bytes was equal
to the number of characters.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9196 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-12-06 16:55:51 +00:00
Albrecht Schlosser
05f669c9ce Fixed a potential crash if Fl_Double_Window::flush() was called before show().
Thanks to Mathieu Peyrega for the patch in fltk.general [1] on Nov 14, 2011,
although I implemented it differently.
[1] http://www.fltk.org/newsgroups.php?gfltk.general+v:33946


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9188 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-28 12:32:56 +00:00
Manolo Gouy
4fbc766422 Fixes for STR 2600, 2695, 2697.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9169 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-11 11:58:28 +00:00
Albrecht Schlosser
afd64de007 Fixed regression (in FLTK 1.3.0) that could clear a radio button by
using the keyboard (space or shortcut) (STR #2748).
This regression was introduced in svn r7826 and released with FLTK 1.3.0 (!)
to add visual feedback for Fl_Button's using the keyboard (STR #2372).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9149 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-26 10:29:13 +00:00
Albrecht Schlosser
62b30f85cb Fixed fl_pie() drawing too small on X11 (STR #2703)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9023 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-08-30 07:50:16 +00:00
Albrecht Schlosser
2d52aebc6d Fixed Fl_Menu issue with unusual menu flags (STR #2680).
Setting some flags in a terminating Fl_Menu_Item (one with
a NULL label/text/name) caused an endless loop.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8866 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-20 13:50:15 +00:00
Albrecht Schlosser
6027f410ed Fixed Windows DLL import of fl_xid() (STR #2670)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8821 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-06-18 12:29:49 +00:00
Albrecht Schlosser
fce1e80ee3 Fix potential crash in fl_xid() on Linux (STR #2635). This would
crash if called when a window is not shown().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-21 10:05:19 +00:00
Albrecht Schlosser
0f20c065ce Fixed keyboard navigation in fl_choice() (STR #2591)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-20 14:54:42 +00:00
Albrecht Schlosser
08b93ec972 Reverted changes done in svn r 7788 for STR #2420 ("Tab-Navigation focuses
non-active_r() widgets"). This must be investigated further, and if necessary,
solved differently. STR #2420 will be reopened...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-20 14:34:53 +00:00
Albrecht Schlosser
18628d428b Fixed alpha blending under X11 when line data size != 0 (STR #2606)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-20 14:01:04 +00:00
Albrecht Schlosser
8920d92944 Updated the bundled libpng to v1.5.1 (released Feb 3, 2011).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8523 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-22 09:11:57 +00:00
Albrecht Schlosser
3bb11b9993 Common dialogs like fl_message() and fl_ask() can now have a window
title (STR #2562).
Added a test case for disabling the hotspot and using a window title
to test/ask.cxx.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8417 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-12 12:08:52 +00:00
Albrecht Schlosser
f8c0dd0110 Hotspot behavior of fl_message() and other common dialogs is now
optional (STR #2561).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8415 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-12 11:31:40 +00:00
Albrecht Schlosser
c4be7d9cd7 Changed default for configure option --with-links for common misspellings
on case sensitive file systems like Unix/Linux, as discussed some time ago.
The new default is --without-links.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8141 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-30 15:05:53 +00:00
Matthias Melcher
8a66c06e10 Attmpt to throw away meaningless CHANGES entries, and resort by priority in better categories. The CHANGES file is a clear indicator of packing much too much into a single *minor* release. OTOH: boy, have we been active!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8121 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-27 14:55:53 +00:00
Albrecht Schlosser
64468d4639 CHANGES: Fixed typos and removed trailing spaces.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8102 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-22 13:23:53 +00:00
Albrecht Schlosser
ada206d8f7 Added Fl_Tabs::client_area() (STR #2480).
Fixed some typos in CHANGES.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8101 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-22 13:06:03 +00:00
Matthias Melcher
3b65b1b3bf Sorted CHANGES text a bit.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8088 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 21:21:19 +00:00
Matthias Melcher
387c60fab2 Removed Watcom compiler support because it was introduced in 1.1.6 as a partial solution and never completed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8079 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 19:28:23 +00:00
Albrecht Schlosser
403ee0ce23 Fixed Fl_Tabs selection border drawing, if tabs are at the bottom of
the widget (STR #2480). Thanks for the patch.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8053 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-18 15:31:44 +00:00
Albrecht Schlosser
ff4cafeb30 This new fl_read_image() function for Windows is *much* faster than
reading individual pixels as before (STR #2387), but there is still
room for improvement...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8048 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-16 20:23:57 +00:00
Matthias Melcher
318b3dea57 Added an 'Options' dialog (replacing test/preferences) that can be used to set system wide or user real options like Visible Focus.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8018 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-12 19:52:26 +00:00
Albrecht Schlosser
ceba5030a1 Windows: removed hidden old winsock 1 (wsock32.dll) support, as
discussed in fltk.development. We exclusively use winsock 2
(ws2_32.dll) and winsock2.h now.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7987 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-09 09:03:17 +00:00
Albrecht Schlosser
97b4b0c704 Fixed Compiling with mingw-w64 (STR #2308).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08 14:00:35 +00:00
Matthias Melcher
1bac8a0cca Fixed crashes when Fl_Text_* detects illegal UTF 8 sequences. Widgets will not do any further processing but just jump over the character. Screen representation depends largely on whatever the underlying OS does with those sequences, but I feel that this is out of the scope of this library. (STR 2348)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7965 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-06 18:22:22 +00:00
Matthias Melcher
f560b71b0a Fixed Fl_Text_Display Tabulator calculations (STR #2450)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-27 21:15:52 +00:00
Matthias Melcher
1e77c19688 Fixed file access code to use UTF-8 strings (STR #2440)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7874 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-18 20:00:01 +00:00
Matthias Melcher
983a0d8ce4 Fixed ARM Unicode cross compilation issue (STR #2432)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7873 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-18 18:43:41 +00:00
Matthias Melcher
bc66ca6264 Improved support for faulty X11 clients (STR #2385)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7866 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-17 11:28:58 +00:00
Matthias Melcher
ffbe1b76b1 Fixed xclass support for Fl_Window (STR #2053)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7863 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-16 22:17:40 +00:00
Matthias Melcher
e91fe6e6d5 Fixed Caps Lock handling in X11/XIM (STR #2366)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7862 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-16 21:15:27 +00:00
Matthias Melcher
bc1928bbc0 Fixed handling of missing fonts in Xft (STR #2355)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7855 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 22:13:13 +00:00
Matthias Melcher
e10019c64b Added alternative Xft font names (STR #2215)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 21:50:24 +00:00
Matthias Melcher
160973c876 Update lib png access (STR #2442)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7832 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 21:17:31 +00:00
Matthias Melcher
6e863f844d Fixed OpenGL hide/show issue in OS X (STR #2260)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7831 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 17:28:48 +00:00
Matthias Melcher
e7c93053b6 Added visual indication for buttons activated by a keyboard shortcut (STR 2372
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7826 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 11:02:18 +00:00
Matthias Melcher
32f48c3033 Fixed missing internationalisation of menus generate by Fluid (STR #2246)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-12 11:55:10 +00:00
Matthias Melcher
35c8c77e5e This should fix all remaining issues with Fl_Text_*. Wrapping is no pixel aligned. Pressing up and down will be pixle bound. A few crashes removed (we still crash with faulty UTF-8svn diff | grep Index:). Fixed blinking selection when outside the widget. Added dnd sending and receiving.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7819 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-11 19:08:52 +00:00
engelsman
473d8af1a4 Added mouse!=0 check in Fl_Glut_Window::handle (STR #2381)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7818 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-11 18:22:43 +00:00
Albrecht Schlosser
2105f203f1 Fixed menu and shortcut handling (STR #2243). This partly reverts the
fix for STR #2199 - for details see STR #2243.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7816 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-11 09:12:05 +00:00
Albrecht Schlosser
3cf2305b5c removed support for gcc 2.x (or older), as discussed in fltk.development
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7814 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-11 08:38:36 +00:00
engelsman
db8d9893eb Fixed fltk-config to give --use on one line (STR #2408)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7813 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-10 21:18:17 +00:00
Matthias Melcher
1e26ada2c5 Fixed tab key navigation to inactive widgets (STR #2420), fixed a few pedantic warnings
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-31 20:47:50 +00:00
Matthias Melcher
48f107775d Fixed outside label redraw damage areas (STR #2436)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7787 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-31 19:35:23 +00:00
Matthias Melcher
8ad7e5ccc0 Added callback when double-clicking file in a file chooser (STR#2346)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 21:52:38 +00:00
Matthias Melcher
b5a73c78e6 Fixed label alignment (STR #2436)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7782 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 21:32:15 +00:00
Matthias Melcher
9b6f68dd7c Added interface to set color chooser mode (STR #2407)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7781 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 20:16:43 +00:00
Matthias Melcher
f1f1d8ed42 STR 2382: Fixed compile errors when HAVE_LIBJPEG was not defined
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7780 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 20:01:16 +00:00
Matthias Melcher
8e30c66a92 Fixed special handling for ISO back-tab keycode (STR #2369)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 19:56:20 +00:00
Matthias Melcher
6017a6fae6 STR 2348: fixed possibly wrong relative path
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7778 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 19:46:05 +00:00
Matthias Melcher
e923015b01 STR 2370: fixed static allocation in Fl_Tabs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7777 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 19:28:17 +00:00
Albrecht Schlosser
b010bce1af Fixed unbalanced Windows OleInitialize/OleUnitialize calls
when loading/unloading the FLTK dll (STR #2417)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-09-27 14:57:53 +00:00
Albrecht Schlosser
755f354ebe Fixed X11/XDBE double buffering (STR #2152, #2197). Both bugs could only be
seen if configure was run with --enable-xdbe (default in FLTK 1.3, optional
in FLTK 1.1).

src/Fl_Double_Window.cxx/Fl_Double_Window::resize():

	STR #2152: deallocate back buffer when window is enlarged in any
	dimension to force allocation of a new back buffer. This appears
	to be necessary for some window managers (e.g. Cygwin).

src/Fl_Overlay_Window.cxx/Fl_Overlay_Window::flush() and
src/Fl_Double_Window.cxx/Fl_Double_Window::flush():

	STR #2197: make sure that the entire overlay window will be drawn
	after a window redraw, because Fl_Double_Window::flush(1) erases
	the overlay as documented.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7636 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-09 08:36:25 +00:00
Greg Ercolano
4fd11eba88 Changed references to fltk-bugs@fltk.org -> STR form.
Todo: LGPL license file references (COPYING, license.dox, etc)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-28 03:15:47 +00:00
Greg Ercolano
cba451be45 Doc sync.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7517 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 17:55:45 +00:00
Matthias Melcher
f899c3897d Added new flags for label alignment: FL_LEFT_TOP, FL_RIGHT_TOP, FL_LEFT_BOTTOM, and FL_RIGHT_BOTTOM align outside labels first to the side, then to the top or botton, filling a gap in possible alignment. Also FL_ALIGN_TEXT_NEXT_TO_IMAGE and FL_ALIGN_IMAGE_NEXT_TO_TEXT which do just that, and finally FL_ALIGN_IMAGE_BACKDROP which renders the image in the background and draws the label on top.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7469 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-07 23:17:33 +00:00
Matthias Melcher
efd09a5a70 Added some more information on event delivery (STR 1983)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7466 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-07 19:24:49 +00:00
Albrecht Schlosser
7f37821bae Fixed indentation of previous commit and added CHANGES info (STR #2082).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7460 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-06 20:20:18 +00:00
Albrecht Schlosser
a0d26b634a Mostly rewritten CMake files by Michael Surette. They are more complete
than what we had previously, but may need some more testing. The latest
changes (removing old APPLE_QD definitions and code) might need another
update.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7451 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 22:33:58 +00:00
Albrecht Schlosser
4a086a3809 Fixed max. fd calculation, if USE_POLL is enabled (STR #2324).
This could maybe be removed completely, but anyway...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7431 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 19:11:49 +00:00
Matthias Melcher
4f1722eb55 STR #2330: offscreen bitmap cliping was flipped in OS X
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7358 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-29 14:37:02 +00:00
Albrecht Schlosser
75b8da3813 Updated CHANGES file with Fl_Device and Fl_Printer support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7265 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-14 19:41:24 +00:00
Albrecht Schlosser
6a70031647 Removed saving the flags() in Fl_Window::iconlabel(const char *iname) because
this could result in wrong flags() contents after return. Fl_Widget::label()
(that is called internally) takes care of copied labels and sets the flags()
appropriately. See also STR #2161.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7176 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-28 14:57:10 +00:00
Matthias Melcher
2668a87af7 Fixed Scrollbar events when max is less than min (STR #2283)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7161 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 20:44:35 +00:00
Matthias Melcher
5fdf6300dd Added argument-less constructor in Fuid Widget Class
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7152 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 13:40:10 +00:00
Matthias Melcher
4a802a3159 Fixed menu item counting issue in Fluid (STR #2322), Added Fl_Menu_::find_item by callback
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7150 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26 13:03:21 +00:00
Matthias Melcher
2f82fd0663 Mixed bag. Please see CHANGES.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7117 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-20 21:14:47 +00:00
Matthias Melcher
b737694f4a test/Editor was freeing the text buffer too soon and no clearing callbacks. (STR #2294)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7106 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-19 21:08:34 +00:00
Matthias Melcher
f59cd1f4aa Fixed Fl_Preferences Cygwin wide character bug (STR #2164)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7104 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-19 20:40:15 +00:00
Matthias Melcher
0ec12cc9c4 Fixed sorting in Fl_Browser - last item would not be sorted (STR #2300)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7103 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-19 20:25:54 +00:00
Matthias Melcher
b416a027cf Fixed window levels in OS X Cocoa (STR #2316)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7102 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-19 20:21:20 +00:00
Matthias Melcher
795b2c6356 Added jpeg loading from memory. Added jpeg Fl_Widget->image() support for Fluid - but linking to fltk_images is required if this feature is used!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7092 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-18 11:38:42 +00:00
Matthias Melcher
fb1b0fab0a Added new type 'Binary Data' to Fluid. Use this to include an arbitrary file as a byte array into your source code. Changes to load jpegs etc. from program memory will follow.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7084 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-15 16:43:51 +00:00
Albrecht Schlosser
ee36ebc394 Reverting previous change (optimization of Fl_Group::clear),
because fl_throw_focus and fl_fix_focus would send events
that could access deleted widgets. This must be fixed first.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-07 21:14:35 +00:00
Albrecht Schlosser
ce7da76d6a Optimized Fl_Group::clear() and Fl_Scroll::clear() as discussed in
fltk.development in "Fl_Group::clear SLOW!" on Feb. 06/07, 2010 (no STR)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7038 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-07 18:52:26 +00:00