Manolo Gouy
b5ab77d07d
Removed usage of NSMainMenuWindowLevel to use only 3 window levels.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8559 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-05 12:41:32 +00:00
Manolo Gouy
cd2b8ed399
Fix error that can happen with some 3rd party fonts lacking certain size information.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8558 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-04 12:28:20 +00:00
Manolo Gouy
a86df5ede6
Mac OS: removed duplicate FL_KEYBOARDS events with function and modifier keys.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8557 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-03 17:31:07 +00:00
Manolo Gouy
32df4755c4
about STR #2599 : - fix the synchro between key presses and key events
...
- implement character palette input by FL_PASTE events
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8555 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-01 17:19:34 +00:00
Albrecht Schlosser
cc3606b097
Updated dependencies.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8554 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-01 13:43:07 +00:00
Albrecht Schlosser
75294d3e24
Fixed dependencies of bundled libs, corrected a typo.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8553 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-01 13:40:41 +00:00
Manolo Gouy
8cd8a67b04
Fix STR #2598 with OP patch.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8552 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-01 09:00:07 +00:00
Manolo Gouy
f4c12d46d6
Mac OS: fixes in STR #2588 the warning message "_createMenuRef called with existing
...
principal MenuRef already associated with menu".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-01 08:32:57 +00:00
Albrecht Schlosser
885c5fe16d
Fixed documentation typo.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8550 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-31 16:06:59 +00:00
Manolo Gouy
bd36f0dd31
Mac OS: Make the Fl::event_key() function distinguish between left and right modifier keys.
...
Also, don't rebuild the application menu if one is already there.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8549 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-30 22:15:17 +00:00
Albrecht Schlosser
281489f849
Documentation updates and typos.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8548 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-30 12:07:52 +00:00
Manolo Gouy
45dba50515
Removed global variable appleMenu.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8547 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-30 08:53:07 +00:00
Manolo Gouy
03d531cd16
Fix STR #2588 . FLTK was subclassing a very important system-defined class NSApplication.
...
This created conflict with other libraries that do the same. This STR reports that Tcl/Tk is one
such library. The fix removes any NSApplication subclass usage in FLTK, and requires
to initialize the NSApplication-subclassing library before calling fl_open_display(). In this
condition an FLTK application can also use an NSApplication-subclassing library such as Tk.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8546 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-29 20:26:51 +00:00
Manolo Gouy
c64fa4863e
Added info about where to find Mac OS virtual keycodes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8545 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-29 14:22:48 +00:00
Manolo Gouy
5cda7e7232
Set svn properties.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8544 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-29 11:19:51 +00:00
Manolo Gouy
d4f284d73c
Minor change.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8543 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-29 08:39:40 +00:00
Manolo Gouy
c4e554ff6b
Mac OS: simplified the handling of text input:
...
use the FLTextView subclass of NSTextView only for Mac OS < 10.5 because it's not
necessary for Mac OS >= 10.5
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8542 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-28 21:52:56 +00:00
Manolo Gouy
3fdbcbe82f
Corrected typos.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8541 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-28 11:40:39 +00:00
Manolo Gouy
c6fb27e56d
Mac OS: added field subwindow to Fl_X class that is true if this is a subwindow.
...
Useful when deleting a window because subwindows share their xid with their parent
window (unlike under MSWIn or Xlib), so subwindows should not delete their xid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8540 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-28 09:28:05 +00:00
Matthias Melcher
23f78899bb
Added Xcode 4 IDE support.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8539 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-27 15:18:54 +00:00
Albrecht Schlosser
409d4976c2
Enhanced documentation of Fl::event_inside() to mention the restrictions
...
WRT subwindows and when using the window itself as the widget argument.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8538 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-27 00:34:55 +00:00
Manolo Gouy
8d7c246676
Mac OS: added gl_texture_reset() function to be called when deleting an Fl_Gl_Window
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8537 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-26 21:56:24 +00:00
Manolo Gouy
a58a2ed9fb
Mac OS: Fixed bug where gl_draw() would fail after deletion of an Fl_GL_Window.
...
The fix invalidates the pile of string textures after each Fl_Gl_Window deletion.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-26 14:37:28 +00:00
Manolo Gouy
3b7ff83e04
Fix STR #2595 . Mac OS. When deleting a subwindow, don't delete the Cocoa window
...
(xid) attached to it because it is in fact the Cocoa window of its parent window.
I check that by making sure that none of the windows in the window list uses
this Cocoa window. Is there a better algorithm ?
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8534 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-25 23:17:16 +00:00
Manolo Gouy
f088e583a1
Fix 2nd issue of STR #2594 : Fl::focus() now informs Mac OS when the focus
...
changes window.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8533 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-25 12:31:51 +00:00
Manolo Gouy
f8b645f614
Fl::focus(): allows the focus to be set to an Fl_Window widget.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8532 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-25 12:16:57 +00:00
Manolo Gouy
edd848aa9c
Mac OS: implement the Cocoa equivalent of Carbon's kEventWindowHidden handler.
...
Positive effect visible with the clock demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8531 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-25 12:02:31 +00:00
Manolo Gouy
9fa8427b78
Fix STR #2594 : the focus after creating a new window was not set correctly
...
because some code present in Fl_mac.cxx was not reflected in Fl_cocoa.mm.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8530 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-24 12:58:32 +00:00
Albrecht Schlosser
385b40988d
Fixed Fl_Device destructor (made it virtual). This eliminates the compiler
...
"warning: 'class Fl_Device' has virtual functions but non-virtual destructor"
on Mac OS X.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8529 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-23 12:49:30 +00:00
Manolo Gouy
1366cc68d3
PostScript support: simplified the Fl_PostScript_Graphics_Driver class by removing the
...
draw_scaled_image(_mono)() member functions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8528 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-22 17:41:23 +00:00
Manolo Gouy
16d983eab4
Mac OS: correct handling of fl_draw_image() call with L > W*D when printing.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8527 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-22 17:14:37 +00:00
Manolo Gouy
80fffdc369
Set member functions draw_scaled_image(_mono)() of class Fl_PostScript_Graphics_Driver
...
private.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8526 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-22 15:53:05 +00:00
Manolo Gouy
0373e02f5d
Reflects update of libpng to v. 1.5.1
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-22 12:52:34 +00:00
Albrecht Schlosser
9ec5f3ae57
Fixed svn properties of new files in previous commit.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8524 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-22 09:20:16 +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
Manolo Gouy
dfc067ecfc
Fix STR #2587 : under Xlib, the X input method must be reset by the Fl::compose_reset() function.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8522 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-21 16:32:37 +00:00
Manolo Gouy
a36bca971a
Fix STR #2589 : incorrect cohabitation of modal and non-modal windows.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8521 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-20 21:43:10 +00:00
Albrecht Schlosser
bc0b285a23
Updated ide/VisualC6 project files with changed zlib files.
...
Deleted obsolete (renamed) zlib.dsp and zlibdll.dsp files.
Added *.ilk to svn:ignore on fluid directory.
Tested with VisualC2008: builds w/o errors in Release and Debug mode.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8519 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-20 11:15:14 +00:00
Manolo Gouy
7aa48e19b9
Fix STR #2575 : use the screen that intersects most of the window when made fullscreen.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-12 21:36:21 +00:00
Albrecht Schlosser
c4099faffe
Updated VisualC2008 project files:
...
- new and deleted files in zlib 1.2.5
- added missing dependency: tree -> fluid
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8514 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-11 00:14:29 +00:00
Albrecht Schlosser
d45e409301
Updated VisualC2010 project files:
...
- new and deleted files in zlib 1.2.5
- added missing dependency: tree -> fluid
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8513 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-10 23:45:36 +00:00
Manolo Gouy
160a0ee461
Improved the Doxygen documentation of Enumerations.H. Not finished yet.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8512 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-06 22:40:26 +00:00
Manolo Gouy
937ddb60c1
Fix STR #2582 (Mac OS): The problem: under Mac OS, file config.h can be used with distinct
...
architectures when using configure --with-archflags option, thus file config.h should not contain
architecture-dependent definitions.
The fix: 1) don't use autoconf's endianness determination procedure because it can't give a result
that fits both big and little endian architectures.
2) have config.h include a mac-specific file under Mac OS.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8511 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-06 16:54:58 +00:00
Manolo Gouy
cff882f34d
Fix STR #2585 : use relative link when installing the cairo shared library.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8510 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-06 16:37:22 +00:00
Manolo Gouy
97f7c0f524
Define WORDS_BIGENDIAN using __BIG_ENDIAN__ value
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8506 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-04 17:51:22 +00:00
Manolo Gouy
5185932f5b
Mac OS: modified the Doxygen doc of the fl_mac_os_version global variable
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8505 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-04 17:04:43 +00:00
Manolo Gouy
1d038565c1
Mac OS: modified the definition of the fl_mac_os_version global variable to allow v 10.10.10
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8504 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-04 16:48:10 +00:00
Manolo Gouy
704ecc048a
svn property change only
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8503 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-04 15:10:42 +00:00
Manolo Gouy
553efd2cd0
svn property change only.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-04 15:08:07 +00:00
Manolo Gouy
60bb67ba0e
Fix the #define U64 part of STR #2582 : don't define it for Mac OS because its value
...
varies with architecture.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8501 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-03 12:10:43 +00:00