Public Member Functions | |
Constructor / Destructor | |
CP_Graphics_Application () | |
Constructor. | |
virtual | ~CP_Graphics_Application () throw () |
Destructor. | |
Protected Member Functions | |
AboutBox | |
virtual CPLAT::CP_String | GetAboutBoxDescription () const |
Commands | |
virtual void | HandleOpenApplication () |
Private Types | |
typedef CPLAT::CP_Application< CPLAT::CP_DocumentPolicy_Multi, CPLAT::CP_PrintPolicy_None, CPLAT::CP_UndoPolicy_None > | inherited |
Private Member Functions | |
Commands | |
void | HandleShapes (CPLAT::OSStatus &inOutStatus, CPLAT::CP_CommandNo &inCommandNo) |
void | HandlePaths (CPLAT::OSStatus &inOutStatus, CPLAT::CP_CommandNo &inCommandNo) |
void | HandleImages (CPLAT::OSStatus &inOutStatus, CPLAT::CP_CommandNo &inCommandNo) |
Misc | |
CPLAT::CP_FileSystemSpec | AskForImageFile () |
|
|
|
Constructor.
|
|
Destructor.
|
|
Return the string that describes the purpose of the application in the AboutBox.
|
|
Called when the application is starting up. We take this opportunity to create our initial window and views. In this demo, we will open the buttons window.
|
|
Handle the show shapes command to display a window that displays various shapes available with CP_Graphics.
|
|
Handle the show paths command to display a window that displays various paths available with CP_Graphics.
|
|
Handle the show images command to display a window that displays various images using CP_Graphics.
|
|
Present the user with a GetFileDialog to allow them to select the image file to be displayed.
|