Commit Graph

208 Commits

Author SHA1 Message Date
dmitry
b1a7028cfe cocoa: revise the color selection for controls. Patch by Zoë Peterson. bug #38280
git-svn-id: trunk@64452 -
2021-01-31 06:07:53 +00:00
dmitry
bd85539715 cocoa: doing the proper hit testing using the bounds of the handle frame. bug #38362
git-svn-id: trunk@64446 -
2021-01-30 22:53:53 +00:00
mattias
187d646104 lcl: cocoa: fixed vert/horz scrollbar for small controls
git-svn-id: trunk@62594 -
2020-01-26 21:13:34 +00:00
ondrej
98c349fc08 Cocoa fonts: comments
git-svn-id: trunk@62530 -
2020-01-12 01:01:18 +00:00
dmitry
4ac51dd8f4 cocoa: updating font dialog to return the selected font size. bug #33990
git-svn-id: trunk@62528 -
2020-01-11 23:57:57 +00:00
dmitry
eb25ab2a98 cocoa: checking for enabled flag of the controls hierarchy
git-svn-id: trunk@62502 -
2020-01-06 00:21:59 +00:00
dmitry
0094808177 cocoa: releasing capture, if present on disabling or destroying a window. bug #36491
git-svn-id: trunk@62500 -
2020-01-05 07:54:22 +00:00
dmitry
16d8971fa2 cocoa: using the primary display (index 0) as a base for screen coordinates. Patch by David Jenkins. bug #36049
git-svn-id: trunk@62437 -
2019-12-23 19:55:02 +00:00
dmitry
62146e35bf cocoa: updating lclRelativePos function, based on the patch by David Jenkins. bug #36049
git-svn-id: trunk@62434 -
2019-12-23 17:12:40 +00:00
dmitry
0f2e400fb5 cocoa: prevent all windows from being enabled if modal session is active
git-svn-id: trunk@62198 -
2019-11-05 05:33:35 +00:00
dmitry
bbe61721bd cocoa: range check errors resolution, modified patch by C Western. bug #36171
git-svn-id: trunk@62052 -
2019-10-14 00:09:39 +00:00
dmitry
f4ad53c071 cocoa: replacing use of GetNSObjectView with lclContentView
git-svn-id: trunk@61765 -
2019-08-27 19:21:10 +00:00
dmitry
0b60492e47 cocoa: restoring pen and brush states for DrawEdge call. bug #35998
git-svn-id: trunk@61761 -
2019-08-27 18:37:05 +00:00
dmitry
3b11854e5c cocoa: removing extra null-character from the clipboard text. Patch by Zoë Peterson. bug #35984
git-svn-id: trunk@61731 -
2019-08-20 15:07:04 +00:00
dmitry
1e8719327f cocoa: placing a customcontrol manualscrollview into manualscrollhost. The host itself is a scrollview. But it is not used for Scroll, but rather for the feature of drawing the border. bug #34761
git-svn-id: trunk@61694 -
2019-08-14 19:51:42 +00:00
dmitry
2e83444e6f cocoa: softer color selection for shadows and pseudo 3d for 10.14, rather than deprecated methods call
git-svn-id: trunk@61648 -
2019-07-31 20:04:11 +00:00
dmitry
b79e2dd90e cocoa: drawedge implementation
git-svn-id: trunk@61617 -
2019-07-23 13:56:32 +00:00
dmitry
3123d5b440 cocoa: update focus notification to run during SetFocus, if current event is processed for another window
git-svn-id: trunk@61401 -
2019-06-16 13:23:22 +00:00
dmitry
2d8ade5a97 cocoa: initial (out of event loop) focus setting
git-svn-id: trunk@61398 -
2019-06-15 18:52:15 +00:00
dmitry
b90ad3cc88 cocoa: updating setFocus to return null handle, if the focus cannot be changed
git-svn-id: trunk@61391 -
2019-06-14 17:16:52 +00:00
dmitry
b2792fdba7 cocoa: change the implementation of HMonitor. Switching from a direct mapping of NSScreen object to index in NSScreen.screen array
git-svn-id: trunk@61345 -
2019-06-09 16:09:02 +00:00
dmitry
c1bdbf99b0 cocoa: replace SendMessage implementation with performSelectorOnMainThread_withObject_waitUntilDone
git-svn-id: trunk@61337 -
2019-06-07 15:13:25 +00:00
dmitry
86aa535424 cocoa: change PostMessage event processing to use performSelectorOnMainThread
git-svn-id: trunk@61336 -
2019-06-07 13:01:20 +00:00
dmitry
c660a2042f cocoa: implement GetDCOriginRelativeToWindow for a nicer component editor
git-svn-id: trunk@61315 -
2019-06-04 05:26:05 +00:00
dmitry
80def7d927 cocoa: fix typo 1028 to 128 for display bpp
git-svn-id: trunk@61297 -
2019-05-27 19:00:53 +00:00
dmitry
06e3b096ec cocoa: removing the use of the deprecated CGDisplayBitsPerPixel
git-svn-id: trunk@61296 -
2019-05-27 16:39:07 +00:00
dmitry
daa05e2732 cocoa: getting rid of code duplication in event processing
git-svn-id: trunk@61208 -
2019-05-12 01:20:44 +00:00
dmitry
357ea31186 cocoa: adding hardcoded implementation of SM_CXDRAG and SM_CYDRAG
git-svn-id: trunk@61173 -
2019-05-07 14:33:41 +00:00
dmitry
aea75fde5e cocoa: making hint color theme aware. #34360
git-svn-id: trunk@61055 -
2019-04-25 15:24:38 +00:00
dmitry
6431fb7b03 cocoa: change BTNFACE color from controlColor to controlBackground color. Thus any text drawn using controlTextColor would be shown properly. #35074
git-svn-id: trunk@61023 -
2019-04-20 01:23:07 +00:00
dmitry
878e61d619 cocoa: shrink focus rect by one pixel from far sides
git-svn-id: trunk@60963 -
2019-04-13 22:37:53 +00:00
dmitry
ebb0d843ec cocoa: update the behaviour of GetFocus function to use HandleView stored with callback object. #34450
git-svn-id: trunk@59363 -
2018-10-27 04:22:36 +00:00
dmitry
11a50ac7d2 cocoa: additional methods (nsview, nscontrol, nsbuttons, nstextfield) for handling fpc issue #34411
git-svn-id: trunk@59331 -
2018-10-21 05:32:52 +00:00
dmitry
b1d9f29b89 cocoa: additional methods for handling fpc issue #34411
git-svn-id: trunk@59330 -
2018-10-21 04:31:32 +00:00
dmitry
9b98baa793 cocoa: memory management - removing unneeded autorelease pools. There's one global and one per each event
git-svn-id: trunk@59231 -
2018-10-03 02:48:42 +00:00
dmitry
ed5c165da1 cocoa: adding exception for processing key equivalents and return key, if a first responder is capable of processing the return key. #34354
git-svn-id: trunk@59183 -
2018-09-29 15:54:28 +00:00
dmitry
46bb1236fc cocoa: remove the direct reference between TCocoaWindow and LCLForm
git-svn-id: trunk@59020 -
2018-09-15 22:54:14 +00:00
dmitry
4590a4f178 cocoa: prevent MainMenu from being set on a designed form
git-svn-id: trunk@59017 -
2018-09-15 21:57:04 +00:00
dmitry
a0ce476b68 cocoa: remove lclIsHandle method completetly. Handle use is defined on WS level and stored with the callback object
git-svn-id: trunk@59015 -
2018-09-15 20:56:42 +00:00
dmitry
1871fb6f58 cocoa: updating showing and hiding of modal windows
git-svn-id: trunk@59000 -
2018-09-15 02:20:05 +00:00
dmitry
7ff50b386f cocoa: update detection of focused HWND. Updated handling of fieldEditor. No need for an extra field, as editors delegate property is populated by the system
git-svn-id: trunk@58994 -
2018-09-14 19:01:14 +00:00
dmitry
aa058f523f cocoa: caret code cleanup
git-svn-id: trunk@58985 -
2018-09-14 06:04:52 +00:00
dmitry
3c3e35edaa cocoa: dynamically recreating color for system brushes (as OS theme can change on the fly)
git-svn-id: trunk@58977 -
2018-09-13 22:07:21 +00:00
dmitry
28dc96b03e cocoa: support for dynamic tooltip color. #34260
git-svn-id: trunk@58965 -
2018-09-12 15:10:05 +00:00
dmitry
3797a72f85 cocoa: fixing ExcludeClipRect on Cocoa side. #34196
git-svn-id: trunk@58887 -
2018-09-06 02:53:29 +00:00
dmitry
101b71c148 cocoa: updating scrollView to keep scroll information after resize
git-svn-id: trunk@58865 -
2018-09-05 04:15:44 +00:00
dmitry
8032ce639a cocoa: cleaning up compiler warnings
git-svn-id: trunk@58833 -
2018-09-02 23:08:24 +00:00
dmitry
16334b0b94 cocoa: fixing compiler warnings
git-svn-id: trunk@58732 -
2018-08-16 23:58:49 +00:00
dmitry
c03952b491 cocoa: fix compilation for i386
git-svn-id: trunk@58709 -
2018-08-14 20:59:09 +00:00
dmitry
728361e306 cocoa: update interface ClientToScreen api call to recognize clientOffset for non-composite controls. todo: ScreenToClient must be updated accordingly
git-svn-id: trunk@58704 -
2018-08-14 15:37:28 +00:00