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

CP_MacAppearanceMgrHelpers.cpp File Reference


Typedefs

typedef OSStatus(* SetControlColorProcPtr )(ControlRef, ControlColorUPP)

Functions

CPLAT_Begin_Namespace_CPLAT
pascal::OSStatus 
CP_ControlColorProc (ControlHandle inControl, SInt16 inMessage, SInt16, Boolean)

Typedef Documentation

typedef OSStatus(* SetControlColorProcPtr)(ControlRef, ControlColorUPP)
 


Function Documentation

CPLAT_Begin_Namespace_CPLAT 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.


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