doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Functions
PickMonitor.cpp File Reference
#include "../../idlib/precompiled.h"
#include <Carbon/Carbon.h>
#include "PickMonitor.h"

Go to the source code of this file.

Classes

struct  Monitor
 

Macros

#define kMaxMonitors   16
 

Functions

OSErr SetupUserPaneProcs (ControlRef inUserPane, ControlUserPaneDrawProcPtr inDrawProc, ControlUserPaneHitTestProcPtr inHitTestProc, ControlUserPaneTrackingProcPtr inTrackingProc)
 
OSErr DisposeUserPaneProcs (ControlRef inUserPane)
 
OSErr SetupPickMonitorPane (ControlRef inPane, DisplayIDType inDefaultMonitor)
 
OSErr TearDownPickMonitorPane (ControlRef inPane)
 
Boolean CanUserPickMonitor (void)
 
OSStatus PickMonitor (DisplayIDType *inOutDisplayID, WindowRef parentWindow)
 

Macro Definition Documentation

#define kMaxMonitors   16

Definition at line 37 of file PickMonitor.cpp.

Function Documentation

Boolean CanUserPickMonitor ( void  )

Definition at line 436 of file PickMonitor.cpp.

OSErr DisposeUserPaneProcs ( ControlRef  inUserPane)

Definition at line 147 of file PickMonitor.cpp.

OSStatus PickMonitor ( DisplayIDType *  inOutDisplayID,
WindowRef  parentWindow 
)

Definition at line 462 of file PickMonitor.cpp.

OSErr SetupPickMonitorPane ( ControlRef  inPane,
DisplayIDType  inDefaultMonitor 
)

Definition at line 285 of file PickMonitor.cpp.

OSErr SetupUserPaneProcs ( ControlRef  inUserPane,
ControlUserPaneDrawProcPtr  inDrawProc,
ControlUserPaneHitTestProcPtr  inHitTestProc,
ControlUserPaneTrackingProcPtr  inTrackingProc 
)

Definition at line 86 of file PickMonitor.cpp.

OSErr TearDownPickMonitorPane ( ControlRef  inPane)

Definition at line 382 of file PickMonitor.cpp.