rich2014
d9ba51bbe9
Cocoa/ScrollView: fix the issue of missing child control callback clear in lclClearCallback()
2024-12-19 00:34:45 +08:00
David Jenkins
f09e844111
Cocoa: Fix code assumption that target is always TScrollingWinControl
2024-11-08 11:01:11 +00:00
rich2014
96b5fe52c4
Revert "Cocoa: fix memory leak in LegacyScroller #41171 "
...
This reverts commit 4362298ebd
.
2024-10-05 01:19:37 +08:00
rich2014
4362298ebd
Cocoa: fix memory leak in LegacyScroller #41171
2024-10-05 00:03:37 +08:00
rich2014
08275d757b
Cocoa/Config: turn Overlay Style Scroller Config to the new Style
2024-08-21 22:03:20 +08:00
rich2014
3d7a79d4d0
Cocoa/Config: turn Legacy Style Scroller Config to the new Style
2024-08-21 21:53:00 +08:00
rich2014
bf65ea023c
Cocoa: remove some unit comments
2024-07-29 20:21:18 +08:00
rich2014
b1e0da3394
Cocoa: remove circular unit references, add CocoaCallback/CocoaListView/CocoaWSListView unit
2024-07-28 22:41:11 +08:00
rich2014
2b98b04950
Cocoa: add notice comments for NSScroller.isCompatibleWithOverlayScrollers()
2024-07-05 21:20:31 +08:00
rich2014
16fa2d2364
Cocoa: remove unused Scroller Arrow related code
...
Scroller Arrow has been removed since macOS 10.7
2024-07-05 21:20:31 +08:00
rich2014
f1a9cdfe14
Cocoa: fix the visibility of Overlay Style Scroller
2024-07-05 21:20:31 +08:00
rich2014
d5e286fd61
Cocoa: fix the visibility of Legacy Style Scroller
2024-07-05 21:20:31 +08:00
rich2014
551af85901
Cocoa: ensure that in extreme cases, the Scroller can remain Horizontal/Vertical unchanged
2024-07-05 21:20:31 +08:00
rich2014
ccadb8bbdd
Cocoa: remove duplicate code in TCocoaScrollStyleManager.updateLayout() related
2024-07-05 21:20:31 +08:00
rich2014
7f97b8379d
Cocoa: remove unnecessary Legacy Style-only code in Scroll
2024-07-05 21:20:31 +08:00
rich2014
ca2bb30540
Cocoa: unify Scroll related naming
2024-07-05 21:20:30 +08:00
rich2014
08653013fd
Cocoa: Trackpad Tapping in ManualScrollView supported
2024-07-03 22:51:47 +08:00
rich2014
35cb0e2579
Cocoa: add trackpad related to ManualScrollView
2024-07-03 22:49:46 +08:00
rich2014
317229c8db
Cocoa: prepare to add Touches Tapping to ManualScrollView
2024-07-03 22:44:58 +08:00
rich2014
37ee982ef3
Cocoa: prepare to improve ManualScrollView related
2024-07-03 22:38:51 +08:00
rich2014
d0d80cf295
Cocoa: improve the handling of the mouse passing through the Overlay Style Scroller quickly
2024-07-02 20:18:29 +08:00
rich2014
570352971d
Cocoa: fix a few issues in Scroller
2024-07-01 20:12:59 +08:00
rich2014
f57d734eba
Cocoa: comments added
2024-07-01 20:12:59 +08:00
rich2014
c71dcae1a0
Cocoa: refactor Scroller related constants to CocoaConfig and make them configurable
2024-07-01 20:12:59 +08:00
rich2014
1246669bfc
Cocoa: improve compatibility of Overlay Style on earlier macOS versions
2024-07-01 20:12:59 +08:00
rich2014
daf3b79a08
Cocoa: reduce unnecessary calls to updateLayout in TCocoaManualScrollView.setHasVerticalScroller()
...
in TCocoaManualScrollView.setHasHorizontalScroller() and TCocoaManualScrollView.setHasVerticalScroller
2024-07-01 20:12:59 +08:00
rich2014
a31d972306
Cocoa: Fix the issue when Knob Size is too small
2024-07-01 20:12:59 +08:00
rich2014
50cdfdfaae
Cocoa: Scroller Style can be dynamically updated at runtime according to macOS settings
2024-07-01 20:12:58 +08:00
rich2014
fc40f7730d
Cocoa: Unify the Hidden concept of different ScrollBar Styles into the Available concept
2024-07-01 20:12:58 +08:00
rich2014
10363b7140
Cocoa: Scroller Style can be configured according to the System/Legacy fixed/Overlay fixed
2024-07-01 20:12:58 +08:00
rich2014
71d3a8aebb
Cocoa: Integrate not Managed ScrollBar and Legacy Implement
2024-07-01 20:12:58 +08:00
rich2014
79b3c78ac0
Cocoa: Overlay Style ScrollBar implement added
2024-07-01 20:12:58 +08:00
rich2014
b081e349c1
Cocoa: integrate ScrollView / ScrollBar / Legacy Implement
2024-07-01 20:12:58 +08:00
rich2014
b1529da111
Cocoa: Legacy Style ScrollBar implement added
2024-07-01 20:12:58 +08:00
rich2014
633de2ccec
Cocoa: prepare to fix ManualScrollView and add three basic classes
2024-07-01 20:12:58 +08:00
rich2014
75e896342d
Cocoa: scrollContentViewBoundsChanged() removed
2024-06-20 22:06:59 +08:00
rich2014
dfc1bbeec2
Cocoa: Fix the issue that the ScrollBars of corresponding TScrollingWinControl were not updated correctly
2024-06-20 22:06:59 +08:00
rich2014
2bb8922ae8
Cocoa: remove circular unit references, add CocoaWSScrollers unit
2024-06-20 22:06:59 +08:00
rich2014
595fd26f3f
Cocoa: fix the size issue of Scrolling Control with Overlay Style Scroller
2024-06-20 22:06:59 +08:00
rich2014
95b9ef2414
Cocoa: set the size of documentView directly
2024-06-20 22:06:59 +08:00
rich2014
1686a8c9d1
Cocoa: fix the setting of ScrollView with Flipped coordinates
2024-06-10 10:35:00 +08:00
rich2014
5a556f6074
Cocoa: Fix the position issue in TCocoaManualScrollHost.setFrame()
...
for example: TTreeView
2024-05-19 17:27:17 +08:00
rich2014
5ad1922ccb
Cocoa: Fix an issue where the position was reset when changing the size of a scrollable control
...
for example, Source Editor in Lazarus IDE.
2024-05-16 23:38:58 +08:00
rich2014
dca0f86606
Cocoa: Fix the scrollWheel event processing logic on TCocoaScrollBar
2024-05-13 23:18:13 +08:00
rich2014
ed95006509
Cocoa: Fix the issue that NSScrollView always consumes scrollWheel by itself
...
when NSScrollView itself does not need to scroll, scrollWheel should be passed to the upper NSScrollView.
it's intuitive and consistent with usage habits.
for example, the usability of "Lazarus IDE - Options Dialog" can be greatly improved.
2024-03-17 22:21:58 +08:00
rich2014
5cb028ee29
Cocoa: Fix Vertical Scroll Bar visibility issue in TCocoaWidgetSet.GetScrollbarVisible()
...
details:
1. in macOS system settings, set the scroll bar to always be shown.
2. the height of DocumentView does not exceed the visual vertical size of NSScrollView, but the difference is smaller than the scroll bar size.
3. the width of DocumentView exceeds the visible horizontal size of NSScrollView.
at this time, the horizontal scroll bar is shown correctly, but the vertical scroll bar is not shown. the correct result should be that because the horizontal scroll bar occupies vertical space, a vertical scroll bar should appear.
2024-03-17 22:21:58 +08:00
rich2014
142678cee6
Cocoa: keep the precision of getting and setting ScrollBar consistent
2024-03-17 22:21:58 +08:00
rich2014
5a7b7dbf37
Cocoa: NSScrollViewSetScrollPos refactored
2024-03-17 22:21:58 +08:00
rich2014
48c3b8d61b
Cocoa: NSScrollerGetScrollInfo & NSScrollViewGetScrollInfo refactored
2024-03-17 22:21:58 +08:00
rich2014
308f3acce6
Cocoa: Fix the issue when the ScrollBar Visibility is toggled due to the frame size being changed
...
after the frame size changes, if one ScrollBar Visibility is toggled, which may cause the size of another ScrollBar to change.
on Cocoa, after calling setHasXXXScrollBar(), we must calculate and set all two ScrollBars again.
2024-03-17 22:21:58 +08:00