mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 01:57:57 +02:00
Cocoa: add notice comments for NSScroller.isCompatibleWithOverlayScrollers()
This commit is contained in:
parent
16fa2d2364
commit
2b98b04950
@ -193,6 +193,11 @@ type
|
||||
procedure setManager( newManager:TCocoaScrollBarStyleManager );
|
||||
message 'setManager:';
|
||||
|
||||
// Note:
|
||||
// Do not override isCompatibleWithOverlayScrollers(), which will cause
|
||||
// the Scroller to enable NSView.Layer, leading to various problems.
|
||||
// class function isCompatibleWithOverlayScrollers: ObjCBOOL; override;
|
||||
|
||||
procedure drawKnob; override;
|
||||
procedure drawKnobSlotInRect_highlight(slotRect: NSRect; flag: ObjCBOOL); override;
|
||||
procedure setDoubleValue(newValue: double); override;
|
||||
@ -203,6 +208,7 @@ type
|
||||
|
||||
procedure actionScrolling(sender: NSObject); message 'actionScrolling:';
|
||||
function IsHorizontal: Boolean; message 'IsHorizontal';
|
||||
|
||||
function acceptsFirstResponder: LCLObjCBoolean; override;
|
||||
function lclGetCallback: ICommonCallback; override;
|
||||
procedure lclClearCallback; override;
|
||||
|
Loading…
Reference in New Issue
Block a user