mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 01:49:27 +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 NSGlobalScreenFrame: NSRect;
|
||||
function NSGlobalScreenLCLFrame: NSRect;
|
||||
function NSGlobalScreenHeight: CGFloat;
|
||||
function NSGlobalScreenBottom: CGFloat;
|
||||
|
||||
function IndexToHMonitor(i: NSUInteger): HMonitor;
|
||||
@ -828,12 +827,6 @@ begin
|
||||
Result.origin.y:= NSPrimaryScreenFrame.size.height - NSMaxY(Result);
|
||||
end;
|
||||
|
||||
// the height of global full virtual display
|
||||
function NSGlobalScreenHeight: CGFloat;
|
||||
begin
|
||||
Result:= NSGlobalScreenFrame.size.height;
|
||||
end;
|
||||
|
||||
// the bottom of global full virtual display
|
||||
// for cocoa window/screen to lcl coordinate
|
||||
function NSGlobalScreenBottom: CGFloat;
|
||||
|
Loading…
Reference in New Issue
Block a user