Vuo  2.0.2
Classes | Functions | Variables
VuoGraphicsWindow.m File Reference

Description

VuoGraphicsWindow implementation.

Definition in file VuoGraphicsWindow.m.

Go to the source code of this file.

Functions

static void __attribute__ ((constructor)) VuoGraphicsWindow_init()
 Initialize VuoGraphicsWindow_fullScreenTransitionSemaphore. More...
 

Variables

const int VuoGraphicsWindowMinSize = 5
 Mac OS 10.8's Cocoa crashes below 5. More...
 
const NSInteger VuoViewMenuItemTag = 1000
 The "View" menu. More...
 
const NSInteger VuoFullScreenMenuItemTag = 1001
 The menu item for toggling full screen mode. More...
 
dispatch_semaphore_t VuoGraphicsWindow_fullScreenTransitionSemaphore
 Serialize making windows fullscreen, since Mac OS X beeps at you (!) if you try to fullscreen two windows too quickly. More...
 

Function Documentation

◆ __attribute__()

static void __attribute__ ( (constructor)  )
static

Initialize VuoGraphicsWindow_fullScreenTransitionSemaphore.

Definition at line 50 of file VuoGraphicsWindow.m.

Variable Documentation

◆ VuoFullScreenMenuItemTag

const NSInteger VuoFullScreenMenuItemTag = 1001

The menu item for toggling full screen mode.

Definition at line 42 of file VuoGraphicsWindow.m.

◆ VuoGraphicsWindow_fullScreenTransitionSemaphore

dispatch_semaphore_t VuoGraphicsWindow_fullScreenTransitionSemaphore

Serialize making windows fullscreen, since Mac OS X beeps at you (!) if you try to fullscreen two windows too quickly.

Definition at line 45 of file VuoGraphicsWindow.m.

◆ VuoGraphicsWindowMinSize

const int VuoGraphicsWindowMinSize = 5

Mac OS 10.8's Cocoa crashes below 5.

Smallest window width and height that Cocoa can properly render.

macOS 10.12's Cocoa crashes below 4.

Definition at line 39 of file VuoGraphicsWindow.m.

◆ VuoViewMenuItemTag

const NSInteger VuoViewMenuItemTag = 1000

The "View" menu.

Definition at line 41 of file VuoGraphicsWindow.m.