More Foundation bindings.

This commit is contained in:
Vitalii Kravchenko
2024-08-16 00:00:29 +01:00
parent 1761802330
commit 004036dc59
6 changed files with 104 additions and 24 deletions
+4
View File
@@ -31,3 +31,7 @@ Screen_visibleFrame :: proc "c" (self: ^Screen) -> Rect {
Screen_colorSpace :: proc "c" (self: ^Screen) -> ^ColorSpace {
return msgSend(^ColorSpace, self, "colorSpace")
}
@(objc_type=Screen, objc_name="backingScaleFactor")
Screen_backingScaleFactor :: proc "c" (self: ^Screen) -> Float {
return msgSend(Float, self, "backingScaleFactor")
}