mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 20:59:08 +02:00
Cocoa: cleanup in CocoaUtils
This commit is contained in:
parent
408f836d14
commit
a58d6acc3d
@ -51,7 +51,6 @@ function NSPrimaryScreen: NSScreen;
|
|||||||
function NSPrimaryScreenFrame: NSRect;
|
function NSPrimaryScreenFrame: NSRect;
|
||||||
function NSGlobalScreenFrame: NSRect;
|
function NSGlobalScreenFrame: NSRect;
|
||||||
function NSGlobalScreenLCLFrame: NSRect;
|
function NSGlobalScreenLCLFrame: NSRect;
|
||||||
function NSGlobalScreenHeight: CGFloat;
|
|
||||||
function NSGlobalScreenBottom: CGFloat;
|
function NSGlobalScreenBottom: CGFloat;
|
||||||
|
|
||||||
function IndexToHMonitor(i: NSUInteger): HMonitor;
|
function IndexToHMonitor(i: NSUInteger): HMonitor;
|
||||||
@ -828,12 +827,6 @@ begin
|
|||||||
Result.origin.y:= NSPrimaryScreenFrame.size.height - NSMaxY(Result);
|
Result.origin.y:= NSPrimaryScreenFrame.size.height - NSMaxY(Result);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
// the height of global full virtual display
|
|
||||||
function NSGlobalScreenHeight: CGFloat;
|
|
||||||
begin
|
|
||||||
Result:= NSGlobalScreenFrame.size.height;
|
|
||||||
end;
|
|
||||||
|
|
||||||
// the bottom of global full virtual display
|
// the bottom of global full virtual display
|
||||||
// for cocoa window/screen to lcl coordinate
|
// for cocoa window/screen to lcl coordinate
|
||||||
function NSGlobalScreenBottom: CGFloat;
|
function NSGlobalScreenBottom: CGFloat;
|
||||||
|
Loading…
Reference in New Issue
Block a user