Cafu Engine
AppCafuT Class Reference

This class represents the Cafu Engine application. More...

#include "AppCafu.hpp"

Inheritance diagram for AppCafuT:

Public Member Functions

cf::CompositeConsoleTGetConComposite () const
 Returns the composite console that is also available via the global Console pointer. More...
 
cf::ConsoleStringBufferTGetConBuffer () const
 Returns the console that buffers all output. More...
 
bool IsCustomVideoMode () const
 Returns whether we successfully set a custom video mode (screen resolution) during initialization. More...
 
const wxVideoMode & GetCurrentMode () const
 This method returns the current video mode, which may be identical to the desktops video mode (in which case the mode as not switched at all at app init), or any custom mode. More...
 
MainFrameTGetMainFrame () const
 Returns the main frame of the Cafu application. More...
 
bool OnInit ()
 
int OnExit ()
 

Detailed Description

This class represents the Cafu Engine application.

Member Function Documentation

cf::ConsoleStringBufferT& AppCafuT::GetConBuffer ( ) const
inline

Returns the console that buffers all output.

cf::CompositeConsoleT & AppCafuT::GetConComposite ( ) const

Returns the composite console that is also available via the global Console pointer.

const wxVideoMode& AppCafuT::GetCurrentMode ( ) const
inline

This method returns the current video mode, which may be identical to the desktops video mode (in which case the mode as not switched at all at app init), or any custom mode.

MainFrameT* AppCafuT::GetMainFrame ( ) const
inline

Returns the main frame of the Cafu application.

bool AppCafuT::IsCustomVideoMode ( ) const
inline

Returns whether we successfully set a custom video mode (screen resolution) during initialization.


The documentation for this class was generated from the following files: