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

CP_Graphics_Application Class Reference

Application class for the CP_Graphics demo.

List of all members.

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 ()


Member Typedef Documentation

typedef CPLAT::CP_Application<CPLAT::CP_DocumentPolicy_Multi, CPLAT::CP_PrintPolicy_None, CPLAT::CP_UndoPolicy_None> CP_Graphics_Application::inherited [private]
 


Constructor & Destructor Documentation

CP_Graphics_Application::CP_Graphics_Application  ) 
 

Constructor.

Exceptions:
none 

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

Destructor.

Exceptions:
none 


Member Function Documentation

CPLAT::CP_String CP_Graphics_Application::GetAboutBoxDescription  )  const [protected, virtual]
 

Return the string that describes the purpose of the application in the AboutBox.

Exceptions:
none 
Returns:
CP_String const The description, displayed in the about box.

void CP_Graphics_Application::HandleOpenApplication  )  [protected, virtual]
 

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.

Exceptions:
none 
Returns:
void

void CP_Graphics_Application::HandleShapes CPLAT::OSStatus &  inOutStatus,
CPLAT::CP_CommandNo inCommandNo
[private]
 

Handle the show shapes command to display a window that displays various shapes available with CP_Graphics.

Parameters:
inOutStatus Not used.
inCommandNo Not used.
Exceptions:
none 
Returns:
void

void CP_Graphics_Application::HandlePaths CPLAT::OSStatus &  inOutStatus,
CPLAT::CP_CommandNo inCommandNo
[private]
 

Handle the show paths command to display a window that displays various paths available with CP_Graphics.

Parameters:
inOutStatus Not used.
inCommandNo Not used.
Exceptions:
none 
Returns:
void

void CP_Graphics_Application::HandleImages CPLAT::OSStatus &  inOutStatus,
CPLAT::CP_CommandNo inCommandNo
[private]
 

Handle the show images command to display a window that displays various images using CP_Graphics.

Parameters:
inOutStatus Not used.
inCommandNo Not used.
Exceptions:
none 
Returns:
void

CPLAT::CP_FileSystemSpec CP_Graphics_Application::AskForImageFile  )  [private]
 

Present the user with a GetFileDialog to allow them to select the image file to be displayed.

Exceptions:
none 
Returns:
CP_FileSystemSpec The file system spec of the image file to be used.


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