Public Member Functions | |
Constructor / Destructor | |
CP_HelloWorld_View (CPLAT::CP_View *inSuperview, const CPLAT::CP_Point &inUpperLeft, const CPLAT::CP_Size &inContentSize) | |
Constructor. | |
virtual | ~CP_HelloWorld_View () throw () |
Destructor. | |
Protected Member Functions | |
Drawing | |
virtual void | OnDraw (CPLAT::CP_Canvas &inCanvas, CPLAT::CP_Region &inUpdateArea) |
|
Constructor.
|
|
Destructor.
|
|
Called when the view needs to update the visual appearance of itself. In this demo we use the CP_Graphics class to display the line "Hello World from CPLAT" in the default font for a view.
|