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

CP_WindowTypeBase Class Reference
[UI]

Base class for a window type definition. More...

Inheritance diagram for CP_WindowTypeBase:

CP_AlertWindowType CP_DocumentWindowType CP_DrawerWindowType CP_FloatingWindowType CP_MDIClientWindowType CP_MDIFrameWindowType CP_ModalDialogWindowType CP_ModelessDialogWindowType CP_SheetWindowType List of all members.

Public Member Functions

void SetWindowBackgroundColor (const CP_RGBColor &inColor)
Constructor / Destructor
 CP_WindowTypeBase ()
 Constructor.
 CP_WindowTypeBase (const CP_WindowTypeBase &inWindowBase)
virtual ~CP_WindowTypeBase () throw ()
 Destructor.
Operators
CP_WindowTypeBaseoperator= (const CP_WindowTypeBase &inWindowBase)

Protected Attributes

UInt32 fWindowClass
UInt32 fWindowAttributes
UInt32 fWindowFlags
UInt32 fExtendedWindowFlags
SInt16 fThemeBrush
CP_RGBColor fBackgroundColor

Detailed Description


Constructor & Destructor Documentation

CP_WindowTypeBase::CP_WindowTypeBase  ) 
 

Constructor.

Exceptions:
none 

CP_WindowTypeBase::CP_WindowTypeBase const CP_WindowTypeBase inWindowBase  ) 
 

Copy constructor.

Parameters:
inWindowBase Class to copy the fields for.
Exceptions:
none 

CP_WindowTypeBase::~CP_WindowTypeBase  )  throw () [virtual]
 

Destructor.

Exceptions:
none 


Member Function Documentation

UInt32 CP_WindowTypeBase::GetWindowClass  )  const
 

Return the class this window belongs to (MacOS).

Returns:
UInt32 const Class the window belongs to.

UInt32 CP_WindowTypeBase::GetWindowAttributes  )  const
 

Return the attributes of this window (MacOS).

Returns:
UInt32 const Attributes of the window.

UInt32 CP_WindowTypeBase::GetWindowFlags  )  const
 

Return the window flags (Windows).

Returns:
UInt32 const Window flags.

UInt32 CP_WindowTypeBase::GetExtendedWindowFlags  )  const
 

Return the extended window flags (Windows).

Returns:
UInt32 const Extended window flags.

void CP_WindowTypeBase::SetWindowClass const UInt32  inWindowClass  ) 
 

void CP_WindowTypeBase::SetWindowAttributes const UInt32  inWindowAttributes  ) 
 

void CP_WindowTypeBase::SetWindowFlags const UInt32  inWindowFlags  ) 
 

void CP_WindowTypeBase::SetExtendedWindowFlags const UInt32  inExtendedWindowFlags  ) 
 

CP_WindowTypeBase & CP_WindowTypeBase::operator= const CP_WindowTypeBase inWindowBase  ) 
 

Assignment operator.

Parameters:
inWindowBase Class to copy the fields for.
Exceptions:
none 
Returns:
CP_WindowTypeBase& Returns a reference to ourselves.

SInt16 CP_WindowTypeBase::GetThemeBrush  )  const
 

Color of the windows background.

void CP_WindowTypeBase::SetThemeBrush const SInt16  inThemeBrush  ) 
 

char * CP_WindowTypeBase::GetWindowsWindowClass  )  const [virtual]
 

Returns the class name used to register a window class with Windows.

Exceptions:
none 
Returns:
char / CPUniChar * Returns the class name. Will return a CPUniChar * if the flag UNICODE is defined, otherwise a char * is returned.

Reimplemented in CP_DocumentWindowType, CP_MDIClientWindowType, and CP_MDIFrameWindowType.

CP_RGBColor CP_WindowTypeBase::GetWindowBackgroundColor  )  const
 

void CP_WindowTypeBase::SetWindowBackgroundColor const CP_RGBColor inColor  ) 
 

void CP_WindowTypeBase::RegisterWindowClass  )  [protected]
 

Register the window classes we use in the CPLAT framework with the Windows OS.

Exceptions:
none 
Returns:
void

Reimplemented in CP_DocumentWindowType, and CP_MDIFrameWindowType.


Member Data Documentation

UInt32 CP_WindowTypeBase::fWindowClass [protected]
 

UInt32 CP_WindowTypeBase::fWindowAttributes [protected]
 

Class that window belongs to. (MacOS)

UInt32 CP_WindowTypeBase::fWindowFlags [protected]
 

Attributes used to create the window. (MacOS)

UInt32 CP_WindowTypeBase::fExtendedWindowFlags [protected]
 

Flags passed to the window. (Windows)

SInt16 CP_WindowTypeBase::fThemeBrush [protected]
 

Extended flags passed to the window. (Windows)

CP_RGBColor CP_WindowTypeBase::fBackgroundColor [protected]
 


The documentation for this class was generated from the following files:
Generated on Sat Sep 17 20:02:35 2005 for CPLAT by  doxygen 1.4.0