Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

CP_UIClasses_Tab_BackView Class Reference

CP_View class that draws a frame around its border.

List of all members.

Public Member Functions

Constructor / Destructor
 CP_UIClasses_Tab_BackView (CPLAT::CP_View *inSuperview, const CPLAT::CP_Point &inUpperLeft, const CPLAT::CP_Size &inContentSize)
 Constructor.
virtual ~CP_UIClasses_Tab_BackView () throw ()
 Destructor.

Protected Member Functions

Drawing
virtual void OnDraw (CPLAT::CP_Canvas &inCanvas, CPLAT::CP_Region &inUpdateArea)
Misc
virtual void SetForeBackColors ()


Constructor & Destructor Documentation

CP_UIClasses_Tab_BackView::CP_UIClasses_Tab_BackView CPLAT::CP_View *  inSuperview,
const CPLAT::CP_Point &  inUpperLeft,
const CPLAT::CP_Size &  inContentSize
 

Constructor.

Parameters:
inSuperview The subview handler that contains this pane.
inUpperLeft Upper left corner of pane in releation to its superview.
inContentSize Content size of the pane.
Exceptions:
none 

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

Destructor.

Exceptions:
none 


Member Function Documentation

void CP_UIClasses_Tab_BackView::OnDraw CPLAT::CP_Canvas &  inCanvas,
CPLAT::CP_Region &  inUpdateArea
[protected, virtual]
 

Called when the view needs to update the visual appearance of itself. In this demo we use the CP_Graphics class to display a border around the view to visualize its location and size in the tab view.

Parameters:
inCanvas The CP_Canvas to draw into.
inUpdateArea The area that needs to be drawn.
Exceptions:
none 
Returns:
void

void CP_UIClasses_Tab_BackView::SetForeBackColors  )  [protected, virtual]
 

MacOS - Sets up the foreground and background colors of the view to match the containing tab view. This is only needed and called on platforms that still need to setup the background colors for AppearanceManager.

Exceptions:
none 
Returns:
void


The documentation for this class was generated from the following files:
Generated on Tue Sep 20 20:28:53 2005 for CPLAT_MacOS by  doxygen 1.4.0