Vuo  1.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros | Functions
VuoScreenCommon.m File Reference

Description

VuoScreenCommon implementation.

Classes

category  NSScreen(VuoAdditions)
 Some convenience methods for fetching information about an NSScreen. More...
 

Functions

NSScreen * getPrimaryNSScreen (void)
 Returns the primary screen.
 
NSScreen * getSecondaryNSScreen (void)
 Returns a secondary (non-primary) screen if present, or the primary screen otherwise.
 
void * VuoScreen_getNSScreen (VuoScreen screen)
 Returns a platform screen (NSScreen) matching screen.
 
static VuoScreen VuoScreen_makeFromNSScreen (NSScreen *screen)
 Fills in a VuoScreen structure describing an NSScreen.
 
VuoList_VuoScreen VuoScreen_getList (void)
 Returns a list of the currently-active screens.
 
VuoScreen VuoScreen_getActive (void)
 Returns the screen with the window that has keyboard focus.
 
VuoScreen VuoScreen_getPrimary (void)
 Returns the primary screen.
 
VuoScreen VuoScreen_getSecondary (void)
 Returns a secondary (non-primary) screen if present, or the primary screen otherwise.
 

Function Documentation

NSScreen* getPrimaryNSScreen ( void  )

Returns the primary screen.

(In System Preferences > Displays > Arrangement, the primary screen is the one with the menu bar.)

NSScreen* getSecondaryNSScreen ( void  )

Returns a secondary (non-primary) screen if present, or the primary screen otherwise.

VuoScreen VuoScreen_getActive ( void  )

Returns the screen with the window that has keyboard focus.

VuoList_VuoScreen VuoScreen_getList ( void  )

Returns a list of the currently-active screens.

void* VuoScreen_getNSScreen ( VuoScreen  screen)

Returns a platform screen (NSScreen) matching screen.

VuoScreen VuoScreen_getPrimary ( void  )

Returns the primary screen.

(In System Preferences > Displays > Arrangement, the primary screen is the one with the menu bar.)

VuoScreen VuoScreen_getSecondary ( void  )

Returns a secondary (non-primary) screen if present, or the primary screen otherwise.

static VuoScreen VuoScreen_makeFromNSScreen ( NSScreen *  screen)
static

Fills in a VuoScreen structure describing an NSScreen.