File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 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 {
33333333 unsafe fn visibleFrame ( self ) -> NSRect ;
33343334 unsafe fn colorSpace ( self ) -> id /* (NSColorSpace *) */ ;
33353335 unsafe fn screensHaveSeparateSpaces ( _: Self ) -> BOOL ;
3336+ unsafe fn maximumRefreshInterval ( self ) -> NSTimeInterval ;
3337+ unsafe fn minimumRefreshInterval ( self ) -> NSTimeInterval ;
33363338
33373339 // Screen Backing Coordinate Conversion
33383340 unsafe fn backingAlignedRect_options_ (
@@ -3390,6 +3392,14 @@ impl NSScreen for id {
33903392 msg_send ! [ class!( NSScreen ) , screensHaveSeparateSpaces]
33913393 }
33923394
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+
33933403 // Screen Backing Coordinate Conversion
33943404
33953405 unsafe fn backingAlignedRect_options_ (
You can’t perform that action at this time.
0 commit comments