Manolo Gouy
b87a0b7390
Added missing FL_EXPORT class declarations.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8699 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-20 16:39:06 +00:00
Manolo Gouy
422a2570a8
Allows to set the chooser's type at construction time without calling the type(int) function.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8692 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-19 15:40:43 +00:00
Manolo Gouy
a64c0dc9f3
Mac OS: implemented the effect of the 2nd arg of Fl_Window::label(label, iconlabel) - continued.
...
Now works also if called before the window is shown().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8665 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-15 12:34:31 +00:00
Manolo Gouy
9e1a7079c3
Mac OS: implemented the effect of the 2nd arg of Fl_Window::label(label, iconlabel)
...
that sets the window name when it is iconized (or minimized).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8664 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-15 09:42:36 +00:00
Albrecht Schlosser
9ff0c90926
Added new png header file pnglibconf.h
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8661 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-14 18:11:56 +00:00
Manolo Gouy
4ee9b8d7aa
Fix for STR #2629 : remove beep when typing cmd-<key> under Mac OS.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-13 11:05:00 +00:00
Matthias Melcher
6892d8a265
STR 2630: added bounds check for very narrow text editing widgets, wishing that Valgrind was available for OS X
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-13 07:58:26 +00:00
Manolo Gouy
b588a8d399
Fix for STR #2628 : keep focus within an Fl_Tab after moving to another window and back.
...
This had been partially fixed following STR #2552 .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8658 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-12 15:53:59 +00:00
Manolo Gouy
bcdf4a4be1
Mac OS: simplified by removing Fl_X::contains_GL_subwindow() function.
...
This operation is now performed within Fl_cocoa.mm
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8657 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-12 11:50:43 +00:00
Manolo Gouy
622b357f24
Fix STR #2625 : removed memory leak after reading erroneous PNG data.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8656 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-12 08:07:27 +00:00
Manolo Gouy
bcbb26d5e7
On Mac OS, allow creation of a window in a minimized form.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8654 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-11 18:31:28 +00:00
Manolo Gouy
703d7df7d5
On Mac OS, FL_HIDE is now sent when a window is minimized or the application is hidden.
...
The context removal on Fl_Gl_Window::handle() destroyed the GL colors when the window
is remapped.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8653 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-11 18:09:43 +00:00
Albrecht Schlosser
8dd43e74dc
First attempt to improve the html footer for the new doxygen layout.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8652 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-11 15:51:38 +00:00
Albrecht Schlosser
86e58bc0d8
Fixed "Index" link on documentation pages.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8651 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-11 15:49:30 +00:00
Albrecht Schlosser
40ee930839
Updated doxygen stylesheet to new version (doxygen 1.7.4). This was really
...
needed to fix the layout of the new style docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8650 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-11 13:12:34 +00:00
Albrecht Schlosser
8ef6bccf09
Fix a small documentation issue of a missing link.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8649 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-11 13:06:13 +00:00
Matthias Melcher
848756bf03
Removed wrong links from package file.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8648 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-10 23:45:50 +00:00
Matthias Melcher
3f5297450a
Attempt to get fltk.*.in ready for 1.3.0 final version. Removed obsolete line.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8647 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-10 21:19:06 +00:00
Matthias Melcher
bb47ac6115
Attempt to get fltk.*.in ready for 1.3.0 final version.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8646 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-10 20:47:21 +00:00
Manolo Gouy
42af47f31e
Fix STR #2597 .
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8645 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-10 16:46:42 +00:00
Ian MacArthur
41fc90726b
Hopefully this fixes the bug Albrecht found in using fl_measure on surrogate pairs whilst we were looking at STR #2622 .
...
In summary, if you measured the string *before* the selected font had been used to actually fl_draw() anything, the measurement returned was invalid, as the new font was not "locked in" to the gc.
This change makes sure the selected font is set in the gc before making the measurement.
In tests, this appears to work correctly now...
More opinions welcomed!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-10 15:37:05 +00:00
Ian MacArthur
eb16787f7a
Pushing this as a possible fix for STR #2622 .
...
This might not be correct (though I think it is) but should be no worse than the current mess I made...
Please test with as many different win32/64 compilers as possible and let me know!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8643 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-10 09:27:18 +00:00
Manolo Gouy
80ea4bcde6
Restoring correct keyboard handling under Mac OS X 10.5.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8642 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-07 13:45:42 +00:00
Manolo Gouy
f9a2d65bb3
Fix STR #2619 . An extra FL_MOVE event is sent on X11 after the menu item is selected
...
by the keyboard.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-07 07:15:39 +00:00
Manolo Gouy
2c42334c55
Fix STR #2620 . Obeys the tab distance value set by Fl_Text_Buffer::tab_distance(int).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8640 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-06 18:15:29 +00:00
Manolo Gouy
26f81a4834
Fix STR #2613 . Allows a menu item to be invisible but with functional shortcut
...
as authorized by the doc.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8639 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-06 16:29:16 +00:00
Greg Ercolano
3110a13aa2
Modified tree-simple to demonstrate specifying front+back slashes in tree.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-06 04:27:49 +00:00
Greg Ercolano
6871a6512a
Fl_Tree mods for handling escaped item menu names.
...
Docs clarified.
Also, tree-simple example's callback handler brought up to date.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8632 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-04 02:59:50 +00:00
Manolo Gouy
14839338ec
Fix STR #2616 . This is a very indirect consequence of the fix made for STR #2594
...
that allowed to set the focus to an Fl_Window.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8631 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-01 20:02:47 +00:00
Albrecht Schlosser
428008c276
Fixed drawing artifacts when scrolling round boxes (FL_ROUND_UP_BOX and
...
FL_ROUND_DOWN_BOX) on Linux (STR #2615 ). This was done by
(a) setting the line width in the box drawing function (was undefined, maybe 0)
(b) taking care of zero and negative line width in X11 clipping functions.
Both solutions would have solved the particular problem individually.
Additionally made local helper function fl_arc_i() in src/fl_round_box.cxx
static to avoid name clashes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8630 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-01 12:45:29 +00:00
Ian MacArthur
6c9d1f7840
Modify the utf8 test demo code to handle surrogate pairs.
...
It was hard coded to cover the range 0 to 0xFFFF, i.e. the
Basic multilingual plane, even though the demo code allowed
any start index, for any plane, to be entered on the CLI...
As a result, attempts to view supplemental planes were always
just folded back into the BMP.
This change makes the code display the 64K Unicode points
starting at the index given on the CLI, so that the
supplemental planes *can* now be viewed and tested.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-01 12:24:22 +00:00
Manolo Gouy
ae8d142ed0
Corrected spurious FL_NUMLOCK setting.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8628 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-29 20:25:04 +00:00
Manolo Gouy
73a6f06c34
Reorganized keyboard input-handling code.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8626 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-27 11:21:57 +00:00
Manolo Gouy
0f5ea9a2e2
Fix STR #2612 : added missing #include <X11/keysym.h>
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-27 08:47:00 +00:00
Manolo Gouy
5be46ea4ad
Added function keys F13 - F16 and corrected backslash key.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8624 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-26 17:28:10 +00:00
Albrecht Schlosser
3b76848435
Documentation updates, also fixing STR #2574 , trying to make clear
...
which events invisible and inactive widgets can get.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8623 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-24 17:09:41 +00:00
Manolo Gouy
89be9d5e04
Fix STR #2596 : Fluid generated improper callback member functions for
...
Fl_Menu_Item's in widget classes. Fixed with OP's patch.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8622 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-24 16:25:09 +00:00
Albrecht Schlosser
06e17886ed
Documentation fixes and a few indent corrections.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8621 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-23 15:46:30 +00:00
Albrecht Schlosser
5c6913fed9
Fixed potential uninitialized pointer usage.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8620 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-23 12:27:58 +00:00
Manolo Gouy
65b9610a96
Mac OS: exact implementation of the Fl::screen_dpi() function.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8619 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-22 17:30:37 +00:00
Manolo Gouy
239489c4b8
Fix STR #2608 : the bug had been introduced by r.8552 to solve STR #2598 .
...
The new code makes the STR #2598 changes unix-specific so it does not
interact with the WIN32 platform.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8618 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-22 11:00:06 +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
85a3534ee3
Updated dependencies.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-20 14:03:22 +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
2999acc1bb
Added some test parameters for fine tuning of image tests. These parameters
...
are implemented as compiler macros and can only be edited manually to test
different implementation details.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-20 13:38:28 +00:00
Manolo Gouy
ad50b753be
Added fallback mechanism if malformed UTF-8 is used for a window title.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8608 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-19 12:37:20 +00:00
Manolo Gouy
d4685c13ef
Misc code cleaning.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8607 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-19 08:22:05 +00:00
Manolo Gouy
1ad8cf320d
Fixed a problem in the WIN32 version of Fl_Paged_Device::print_window_part() and
...
Fl_Paged_Device::print_window() where the window didn't redraw well in some
cases after printing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8606 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-18 20:47:32 +00:00
Ian MacArthur
451b91ea46
OK - this time I actually think I have got it.
...
The win32 text-extents stuff now seems to be handling surrogate pairs correctly,
at least in my testing harness, and with a variety of supplementary plane fonts.
I really will leave this alone now - unless anyone finds bugs of course!
I have tested for regressions and it seems to be fine AFAICT.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8605 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-18 14:34:20 +00:00