Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_MacAppearanceMgrHelpers.h File Reference


Defines

#define NewControlColorUPP(userRoutine)   (ControlColorUPP)NewRoutineDescriptor((ProcPtr)(userRoutine), uppControlColorProcInfo, GetCurrentArchitecture())
#define DisposeControlColorUPP(userUPP)   DisposeRoutineDescriptor(userUPP)

Typedefs

typedef UniversalProcPtr(* NewRoutineDescriptorProcPtr )(ProcPtr, ProcInfoType, ISAType)
typedef void(* DisposeRoutineDescriptorProcPtr )(UniversalProcPtr)

Enumerations

enum  { uppControlColorProcInfo = 0x00001AF0 }

Functions

CPLAT_Begin_Namespace_CPLAT
typedef 
CALLBACK_API (::OSStatus, ControlColorProcPtr)(ControlRef inControl
typedef STACK_UPP_TYPE (ControlColorProcPtr) ControlColorUPP
 SetControlColorProc (ControlRef inControl, ControlColorUPP inProc)
pascal::OSStatus CP_ControlColorProc (ControlHandle inControl, SInt16 inMessage, SInt16 inDepth, Boolean inIsColor)

Variables

CPLAT_Begin_Namespace_CPLAT
typedef SInt16 
inMessage
CPLAT_Begin_Namespace_CPLAT
typedef SInt16 SInt16 
inDrawDepth
CPLAT_Begin_Namespace_CPLAT
typedef SInt16 SInt16 Boolean 
inDrawInColor
const OSType CP_ControlPropertyCPLAT = CP_FOUR_CHAR_CODE('CPLA')
const OSType CP_ControlPropertyView = CP_FOUR_CHAR_CODE('CPVI')

Define Documentation

#define NewControlColorUPP userRoutine   )     (ControlColorUPP)NewRoutineDescriptor((ProcPtr)(userRoutine), uppControlColorProcInfo, GetCurrentArchitecture())
 

#define DisposeControlColorUPP userUPP   )     DisposeRoutineDescriptor(userUPP)
 


Typedef Documentation

typedef UniversalProcPtr(* NewRoutineDescriptorProcPtr)(ProcPtr, ProcInfoType, ISAType)
 

typedef void(* DisposeRoutineDescriptorProcPtr)(UniversalProcPtr)
 


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
uppControlColorProcInfo 


Function Documentation

CPLAT_Begin_Namespace_CPLAT typedef CALLBACK_API ::OSStatus  ,
ControlColorProcPtr 
 

typedef STACK_UPP_TYPE ControlColorProcPtr   ) 
 

SetControlColorProc ControlRef  inControl,
ControlColorUPP  inProc
 

pascal ::OSStatus CP_ControlColorProc ControlHandle  inControl,
SInt16  inMessage,
SInt16  ,
Boolean 
 

Callback routine to handle setting of the background and text color for Appearance Manager controls under MacOS. The CP_View objecct will setup the correct foreground color, and the superview of the CP_View will setup the correct background color.

Parameters:
inControl The MacOS control needing the color information.
inMessage The message from the control about the action needing to be performed.
inDepth The bit depth of the display.
inIsColor Flag to indicate if this is a color display.
Exceptions:
none 
Returns:
OSStatus Result of the operation.


Variable Documentation

CPLAT_Begin_Namespace_CPLAT typedef SInt16 inMessage
 

CPLAT_Begin_Namespace_CPLAT typedef SInt16 SInt16 inDrawDepth
 

CPLAT_Begin_Namespace_CPLAT typedef SInt16 SInt16 Boolean inDrawInColor
 

const OSType CP_ControlPropertyCPLAT = CP_FOUR_CHAR_CODE('CPLA')
 

const OSType CP_ControlPropertyView = CP_FOUR_CHAR_CODE('CPVI')
 


Generated on Tue Sep 20 20:21:29 2005 for CPLAT_MacOS by  doxygen 1.4.0