File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -3333,6 +3333,8 @@ pub trait NSScreen: Sized {
3333
3333
unsafe fn visibleFrame ( self ) -> NSRect ;
3334
3334
unsafe fn colorSpace ( self ) -> id /* (NSColorSpace *) */ ;
3335
3335
unsafe fn screensHaveSeparateSpaces ( _: Self ) -> BOOL ;
3336
+ unsafe fn maximumRefreshInterval ( self ) -> NSTimeInterval ;
3337
+ unsafe fn minimumRefreshInterval ( self ) -> NSTimeInterval ;
3336
3338
3337
3339
// Screen Backing Coordinate Conversion
3338
3340
unsafe fn backingAlignedRect_options_ (
@@ -3390,6 +3392,14 @@ impl NSScreen for id {
3390
3392
msg_send ! [ class!( NSScreen ) , screensHaveSeparateSpaces]
3391
3393
}
3392
3394
3395
+ unsafe fn maximumRefreshInterval ( self ) -> NSTimeInterval {
3396
+ msg_send ! [ self , maximumRefreshInterval]
3397
+ }
3398
+
3399
+ unsafe fn minimumRefreshInterval ( self ) -> NSTimeInterval {
3400
+ msg_send ! [ self , minimumRefreshInterval]
3401
+ }
3402
+
3393
3403
// Screen Backing Coordinate Conversion
3394
3404
3395
3405
unsafe fn backingAlignedRect_options_ (
You can’t perform that action at this time.
0 commit comments