mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-11-26 21:40:44 +00:00
Fix "parameter name omitted" For CGWindowLevelForKey. Add Note About CGWindowLevel.
This commit is contained in:
parent
624da5b8e1
commit
3159ee117c
@ -1,6 +1,6 @@
|
||||
#import <CoreGraphics/CGWindowLevel.h>
|
||||
|
||||
CGWindowLevel CGWindowLevelForKey(CGWindowLevelKey)
|
||||
CGWindowLevel CGWindowLevelForKey(CGWindowLevelKey key)
|
||||
{
|
||||
return kCGNormalWindowLevel;
|
||||
}
|
||||
|
@ -3,6 +3,10 @@
|
||||
|
||||
#import <CoreFoundation/CoreFoundation.h>
|
||||
|
||||
// TODO: Fix CGWindowLevel
|
||||
// CGWindowLevel actually isn't a ENUM, but is just a typedef.
|
||||
// https://developer.apple.com/documentation/coregraphics/cgwindowlevel?language=objc
|
||||
|
||||
typedef CF_ENUM(int32_t, CGWindowLevel)
|
||||
{
|
||||
kCGNormalWindowLevel,
|
||||
|
Loading…
Reference in New Issue
Block a user