Commit Graph

124 Commits

Author SHA1 Message Date
dmitry
b5a54b56f0 cocoa: update in Get-SetScrollInfo for CocoaScrollView - making it documentViewRect based. Processing LMScroll messages whenever user scrolls. Removed implementation of ScrollBy in basic CocoaWSWinControl
git-svn-id: trunk@57074 -
2018-01-13 15:35:25 +00:00
dmitry
db4dc7c254 cocoa: adding a basis to implement sorting of controls, whenever a z-order changes. should not be used rightaway due to slow performance, compared to remove add-related approach
git-svn-id: trunk@57044 -
2018-01-11 04:11:46 +00:00
dmitry
350709605d cocoa: additional checks to prevent doublicating messages about control resizes. (check for client rect changed vs frame rect changed). Added check for a failed draw (an event, whenever a control frame changed while processing Draw()). Forcing repaint #32970. Additional check for scrollbars - preventing dormant resize events
git-svn-id: trunk@57007 -
2018-01-08 00:34:26 +00:00
dmitry
9afa5bf6b8 cocoa: additional key code mapping
git-svn-id: trunk@57000 -
2018-01-07 07:03:03 +00:00
dmitry
2f120dcde2 cocoa: accurate reporting of modifier key changes
git-svn-id: trunk@56999 -
2018-01-07 05:45:53 +00:00
dmitry
98712b414a cocoa: rework TCocoaScrollBar implementation - removed direct binding to LCL control. Initial implementation of ScrollWindowsEx. added scrolling messages for TCocoaManualScrollView
git-svn-id: trunk@56944 -
2018-01-04 02:54:59 +00:00
dmitry
edee7ec8ef cocoa: remove isAllowCustomScroll from TCocoaScrollView. Instead, introducing TCocoaManualScrollView to support non-control size based ScrollInfo api
git-svn-id: trunk@56943 -
2018-01-04 00:49:03 +00:00
dmitry
8557db7ed1 cocoa: prevent mouse events on window's non-client area for consistency with other widgetsets
git-svn-id: trunk@56895 -
2017-12-31 21:36:30 +00:00
dmitry
c31964a7b0 cocoa: inverting mouse pos, only if coordinate system of control needs it
git-svn-id: trunk@56894 -
2017-12-31 16:53:22 +00:00
dmitry
6e53952a43 cocoa: correct (control vs client) bounds information retrieval. #32227
git-svn-id: trunk@56837 -
2017-12-23 23:06:24 +00:00
juha
a3649ec49b LCL: Extend horizontal mouse wheel messages for Carbon and Cocoa. Remove ssHyper. Issue #32753, patch from AlexeyT.
git-svn-id: trunk@56659 -
2017-12-07 14:58:36 +00:00
dmitry
6273cd1d79 cocoa: implementing SetChildZPosition for CocoaWSCommon, allowing run-time Z-order change, related #32722 and #32740
git-svn-id: trunk@56588 -
2017-12-03 04:24:14 +00:00
sekelsenmat
8387b30537 Fixes compilation of lcl-carbon and lcl-cocoa in fpc 2.6
git-svn-id: trunk@55825 -
2017-09-09 09:14:31 +00:00
sekelsenmat
0af5c2d943 cocoa: Patch for scrollby from bug #32363
git-svn-id: trunk@55824 -
2017-09-09 08:46:59 +00:00
freq
0b5d2d5ef5 cocoa: fix mouse move bug
git-svn-id: trunk@54617 -
2017-04-13 04:37:10 +00:00
freq
437e9605f2 cocoa: fix crash on mouse click
git-svn-id: trunk@53942 -
2017-01-14 15:10:08 +00:00
sekelsenmat
b2399e3114 cocoa - patch #30129 - support Alt key in cocoa
git-svn-id: trunk@52523 -
2016-06-19 20:19:10 +00:00
ondrej
aa7d1d4437 carbon, cocoa: add WinHandle check into CheckMouseButtonDownUp in case AWinControl is nil. Issue #29769
git-svn-id: trunk@51805 -
2016-03-02 14:51:07 +00:00
ondrej
af575ea5ea cocoa: use unified multiclick mouse message handling
git-svn-id: trunk@51738 -
2016-02-28 07:09:10 +00:00
ondrej
132fb04646 cocoa: fix mouse messages sent twice to LCL
git-svn-id: trunk@51737 -
2016-02-28 06:54:43 +00:00
juha
6bb18f6fbd LCL: Implement TCustomMemo.ScrollBy. Refactor widgetset ScrollBy from ScrollingWinControl to WinControl. Solves issue #29067.
git-svn-id: trunk@50523 -
2015-11-29 18:45:53 +00:00
sekelsenmat
1950d6e64d cocoa: Implements work around to support TMemo.OnClick
git-svn-id: trunk@50335 -
2015-11-15 20:00:10 +00:00
sekelsenmat
52234a77bd cocoa: Fixes bug #28655, groupbox click issues
git-svn-id: trunk@49826 -
2015-09-14 20:19:26 +00:00
sekelsenmat
1fc9cadb0e cocoa: Attempt at fixing event issues in GroupBox, not yet fully working
git-svn-id: trunk@49821 -
2015-09-14 04:46:02 +00:00
sekelsenmat
0d1f9bd856 cocoa: Implements key up/pressed/down for TEdit, but only keyDown is not ideal due to cocoa limitations
git-svn-id: trunk@49817 -
2015-09-12 07:37:40 +00:00
sekelsenmat
3c0233d4ed cocoa: Moves all menu code to CocoaWSMenus to have more related code together
git-svn-id: trunk@49729 -
2015-08-31 06:23:13 +00:00
sekelsenmat
6f9a817ae1 cocoa: Fixes drawing of labels inside groupbox
git-svn-id: trunk@49700 -
2015-08-23 07:45:01 +00:00
sekelsenmat
491e74c6e9 cocoa: identation fix
git-svn-id: trunk@49668 -
2015-08-14 19:38:13 +00:00
sekelsenmat
79e2da2c5e cocoa: Rewrites modal form support to fix bugs #28499 and #28490
git-svn-id: trunk@49657 -
2015-08-12 19:25:48 +00:00
sekelsenmat
3560b2d25d cocoa: Fixes empty mouse wheel events (bug #28491) and starts improving the apple menu
git-svn-id: trunk@49628 -
2015-08-10 18:12:18 +00:00
sekelsenmat
2bd8349602 cocoa: Fixes tab sheet positioning (bug #28489) and starts improving main menu code
git-svn-id: trunk@49626 -
2015-08-10 05:12:52 +00:00
sekelsenmat
77e8b6e2d1 cocoa: Fixes crash due to ReleaseDC freeing wrongly control DCs
git-svn-id: trunk@49602 -
2015-08-06 06:43:36 +00:00
sekelsenmat
29edd0c013 cocoa: Implements spinedit.OnChange
git-svn-id: trunk@49588 -
2015-08-03 06:17:42 +00:00
sekelsenmat
e81da26d56 cocoa: Protects calls to fittingSize to support 10.6
git-svn-id: trunk@49090 -
2015-05-18 20:35:41 +00:00
sekelsenmat
5973d8ebed cocoa: Fixes mouse wheel delta
git-svn-id: trunk@49043 -
2015-05-16 09:00:42 +00:00
freq
acfee8fe08 Fix list out of bounds exception if TabOrderList is empty
git-svn-id: trunk@47213 -
2014-12-17 12:10:17 +00:00
dmitry
77a8f82264 cocoa: fix for TCocoaComboBox not getting LCL object target (was there a reason?). added a note about incorrect implementation of GetPreferredSize - to be resolved
git-svn-id: trunk@47178 -
2014-12-12 03:39:24 +00:00
mattias
a087d98729 lcl: cocoa: fixed some compilation issue
git-svn-id: trunk@46781 -
2014-11-07 16:32:16 +00:00
sekelsenmat
a0642273b5 lcl-cocoa: Further implements SpinEdit, now clicking changes the value
git-svn-id: trunk@46628 -
2014-10-20 20:35:42 +00:00
sekelsenmat
f1c6358aeb lcl-cocoa: Fixes TBitBtn.Glyph, the image data was being freed together with the glyph TBitmap
git-svn-id: trunk@46620 -
2014-10-20 06:01:39 +00:00
sekelsenmat
0c23fdc9d4 lcl-cocoa: Fixes regression introduced in 46166: tab in TEdit was inputting char instead of switching to next control; Implements support for TabOrder; Starts fixings TBitBtn.Glyph but this isnt working yet
git-svn-id: trunk@46594 -
2014-10-18 17:50:33 +00:00
sekelsenmat
8d1660b99e lcl-cocoa: Fixes compilation errors in last cocoa commit
git-svn-id: trunk@46423 -
2014-10-04 09:45:03 +00:00
sekelsenmat
2ce331b46a cocoa: Fixes crashes in TTreeView related to events being sent to destroyed objects, fixes TEdit focus lost event it was being sent on focus gain
git-svn-id: trunk@46166 -
2014-09-09 16:40:29 +00:00
dmitry
108f83e4ef cocoa: retaining object before the removingFromSuperview, since the object is released again afterwards. unclear the purpose of autorelease pool that could be part of the problem
git-svn-id: trunk@46088 -
2014-08-29 05:45:17 +00:00
sekelsenmat
90d7c92c6b cocoa: Support for TLabel and other graphic controls inside TPageControl tab views; Implements many properties and methods from TListView
git-svn-id: trunk@44877 -
2014-05-01 22:45:25 +00:00
sekelsenmat
594e1f2069 cocoa: Fixes the display of controls in tabs
git-svn-id: trunk@44864 -
2014-04-30 21:57:35 +00:00
sekelsenmat
633131dd11 lcl-cocoa: Minor improvements in debug info for the tab control problem, implements correct height calculation for tabviewitem children
git-svn-id: trunk@44849 -
2014-04-30 10:55:00 +00:00
sekelsenmat
194ab88119 lcl-cocoa: Converts NSView casting to GetNSObjectView and NSWindow casting to GetNSObjectWindow, moves TPageControl objc class to CocoaPrivate and extends it
git-svn-id: trunk@44793 -
2014-04-23 10:39:40 +00:00
sekelsenmat
be57a75758 lcl-cocoa: Moves the TListView objc class to CocoaPrivate and greatly extends it, fixes memleak, implements a callback for it, etc
git-svn-id: trunk@44785 -
2014-04-22 11:58:17 +00:00
sekelsenmat
b50fcc983d lcl-cocoa: Various fixes and improvements related to TPageControl, it can already show all tabs and the contents of the initially selected tab
git-svn-id: trunk@44774 -
2014-04-21 10:56:41 +00:00