Manolo Gouy
81c98f228b
Removed compilation warning.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9766 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-18 16:06:56 +00:00
Manolo Gouy
a59ec3744d
Mac OS text input support: use primary selection for marked text in Fl_Text_Display + some reformatting.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9763 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-18 14:24:07 +00:00
Manolo Gouy
46abc078b4
Mac OS: improved text input support with visible display of marked text in text widgets.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9761 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-17 17:44:15 +00:00
Manolo Gouy
3eb27ccf3e
Mac OS text input: set marked text as selected in text widgets so user is aware of it.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9759 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-16 16:04:02 +00:00
Manolo Gouy
05d20db147
Mac OS text input: Fl::compose_state is a number of bytes (not of characters).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9757 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-15 22:03:55 +00:00
Manolo Gouy
22b4198e45
Mac OS: fixed [FLView keyDown:] for OS 10.3
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9755 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-15 14:19:42 +00:00
Manolo Gouy
5a054cd1b3
Mac OS: fixed [FLView keyDown:] for OS ≤ 10.5
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9754 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-14 23:36:59 +00:00
Manolo Gouy
9a2467ebc5
MacOS: towards implementing the NSTextInput protocol to support the text input management system (cont'd).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9753 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-14 21:29:45 +00:00
Manolo Gouy
1e4165ee7b
MacOS: towards implementing the NSTextInput protocol to support the text input management system.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9752 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-12-14 08:36:13 +00:00
Manolo Gouy
4b6613cbd2
Fix STR #2890 : MacOS unbundled applications don't appear in dock nor menu bar (cont'd).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9734 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-30 18:20:36 +00:00
Manolo Gouy
4b3855f8c5
Fix STR #2890 : MacOS 10.8 unbundled applications don't appear in dock nor menu bar
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9729 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-21 11:37:57 +00:00
Manolo Gouy
98d5dd690d
Mac OS: make clear that image capture from screen returns an image in premultiplied RGBA format (cont'd).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9725 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-17 14:57:55 +00:00
Manolo Gouy
9adccd6df6
Mac OS: make clear that image capture from screen returns an image in premultiplied RGBA format.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9723 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-15 12:28:29 +00:00
Manolo Gouy
302200668b
Fixes STR #2887 : Fl_Scroll widget fails under Mac OS X 10.8 on MacBook Pro with retina display.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9721 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-15 08:30:44 +00:00
Manolo Gouy
82878a7225
Fix a Mac OS bug appeared with OS X 10.8: when a file is dragged on the application icon,
...
a delay of several seconds occur until the first application window opens (cont'd).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9716 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-13 09:34:54 +00:00
Manolo Gouy
e8f8434054
Fix a Mac OS bug appeared with OS X 10.8: when a file is dragged on the application icon,
...
a delay of several seconds occur until the first application window opens.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9715 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-11-12 15:57:39 +00:00
Manolo Gouy
91a300f6b6
Added missing use of NSAutoreleasePool object in calc_mac_os_version().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9688 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-28 08:07:47 +00:00
Manolo Gouy
74496aa2cc
Removed several deprecation warnings.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9685 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-27 12:49:39 +00:00
Manolo Gouy
6ec40d3676
Removed deprecation warning for FSCompareFSRefs().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9684 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-26 14:34:02 +00:00
Manolo Gouy
7ee7973040
Fix for bug described in fltk.development "fl_scroll not copying all channels on OS X"
...
http://www.fltk.org/newsgroups.php?s13117+gfltk.development+v13134+T0
Sending the CGImage message to an NSBitmapImageRep object seems to be the solution
when Mac OS X >=10.5.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9680 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-09-17 09:00:22 +00:00
Manolo Gouy
27e406f751
Mac OS: some optimization of timer objects + code reordering.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9618 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-16 08:49:52 +00:00
Manolo Gouy
51ca904eb3
Mac OS: improved Fl::repeat_timeout() so the next scheduled timeout is counted from the previous one.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-15 15:08:17 +00:00
Manolo Gouy
c0e01b24da
Mac OS: added necessary fl_open_display() in Fl::y() and Fl_X::screen_work_area() functions.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9602 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-14 12:41:19 +00:00
Manolo Gouy
f656c0627c
Mac OS: improved behavior when unhiding an application with minimized windows.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9592 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-13 10:46:53 +00:00
Manolo Gouy
3ce92f408f
Fixed STR#2848: Mac OS: close putative memory leak when detaching child threads.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9588 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-06-12 15:36:33 +00:00
Fabien Costantini
0ab2bd9dda
Added cocoa improvement inspired for from ossman improvement STR2802 for modal windows...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9407 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-28 00:46:24 +00:00
Fabien Costantini
e67e798aeb
Fixed build break on FLTK_ABI_VERSION >= 10302 introduce in r9293 as extern ref to fl_copy_offscreen would not be found anymore by linker... This can't be captured yet by the Jenkins continous intergration builds as the compilation is for the FLTK_ABIVERSION >= 10302
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9406 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-28 00:42:31 +00:00
Matthias Melcher
e2d3d400cd
Reverted flags in Fl_Widget to protected.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9388 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-23 20:12:06 +00:00
Manolo Gouy
37ea8ba9e6
Mac OS: canBecomeKeyWindow returns NO also for menu windows
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9324 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-04 19:53:11 +00:00
Manolo Gouy
cb32ceaf4d
Fix STR#2818: (Mac OS) tooltip window takes focus away from input field.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9321 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-04 16:33:09 +00:00
Manolo Gouy
08ce2e07d3
Fix STR#2641: true fullscreen windows that cover all their screen including menu bar, task bar, dock.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-23 16:47:53 +00:00
Manolo Gouy
8cd98f5236
Mac OS: Allow keyboard input with borderless windows
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9294 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-22 13:58:38 +00:00
Manolo Gouy
32d4bc4099
Fix STR#2810: removed all uses of function Fl_Device::class_name().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9293 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-18 18:48:29 +00:00
Manolo Gouy
7d0b5d05cb
Simplified Fl_Paged_Device::print_window() under Mac OS
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9282 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-14 08:49:36 +00:00
Manolo Gouy
f6cb583e27
Replaced fl_copy_offscreen_with_alpha() by Fl_GDI_Graphics_Driver::copy_offscreen_with_alpha() and
...
fl_create_offscreen_with_alpha() by Fl_Quartz_Graphics_Driver::create_offscreen_with_alpha()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9278 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-12 11:55:50 +00:00
Manolo Gouy
4715e1593e
Use a new Fl_Quartz_Graphics_Driver or Fl_GDI_Graphics_Driver instance when printing.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9276 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-12 09:39:17 +00:00
Manolo Gouy
719f72b501
Mac OS: renamed compute_macKeyLookUp() to fl_compute_macKeyLookUp().
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9271 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-10 08:45:44 +00:00
Manolo Gouy
739a6f89ae
Mac OS: the macKeyLookUp table is now computed at program start from the vktab table
...
by compute_macKeyLookUp() in file src/Fl_get_key_mac.cx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9270 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-09 21:35:45 +00:00
Manolo Gouy
b8d34a254f
Fixed the use of FL_SUBMENU_POINTER in Fl_Sys_Menu_Bar objects (cont'd).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9223 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-01-12 16:00:07 +00:00
Manolo Gouy
2d4cf9e26b
Some code simplifications.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9220 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-01-12 12:49:58 +00:00
Manolo Gouy
4be97ea19c
Fixed the use of FL_SUBMENU_POINTER in Fl_Sys_Menu_Bar objects (Mac OS-specific).
...
Modified the menubar demo program to exercise the Fl_Sys_Menu_Bar class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9218 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-01-11 16:16:31 +00:00
Manolo Gouy
67fdcb8fa3
Fix STR #2779 : clang-detected error
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9192 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-29 14:41:33 +00:00
Manolo Gouy
eab4e1f2d5
Needed after r.9181 for the Gmsh program according to its author Christophe Geuzaine
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9191 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-29 11:50:18 +00:00
Manolo Gouy
a1a9dbd961
Improved the windowShouldClose message processing.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9185 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-23 09:19:39 +00:00
Manolo Gouy
d92f2d765b
Mac OS: fix possible crash when closing window with a callback that deletes it.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9182 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-22 14:48:47 +00:00
Manolo Gouy
1962c2b6ed
Fix STR #2775 . Under Mac OS, fixed some erroneous window move/resize.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9181 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-22 12:33:49 +00:00
Manolo Gouy
12a0cb308e
Fix STR #2769 : Mac OS crash during creation of non-modal window on secondary screen
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9177 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-14 17:10:28 +00:00
Manolo Gouy
74720fd205
Mac OS: better window positioning on secondary displays at creation.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9176 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-14 15:15:03 +00:00
Manolo Gouy
409afd29cc
Mac OS: more accurate definition of the Window system-specific type.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9170 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-11-12 13:06:54 +00:00
Manolo Gouy
0cf73d4603
Mac OS: simpler processing of window closing events.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9161 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-30 17:23:42 +00:00