Otclient  14/8/2020
GraphicalApplication Class Reference

#include <graphicalapplication.h>

Inheritance diagram for GraphicalApplication:
Collaboration diagram for GraphicalApplication:

Public Member Functions

void init (std::vector< std::string > &args)
 
void deinit ()
 
void terminate ()
 
void run ()
 
void poll ()
 
void close ()
 
bool willRepaint ()
 
void repaint ()
 
void setForegroundPaneMaxFps (int maxFps)
 
void setBackgroundPaneMaxFps (int maxFps)
 
int getForegroundPaneFps ()
 
int getBackgroundPaneFps ()
 
int getForegroundPaneMaxFps ()
 
int getBackgroundPaneMaxFps ()
 
bool isOnInputEvent ()
 
- Public Member Functions inherited from Application
 Application ()
 
virtual ~Application ()
 
virtual void exit ()
 
void setName (const std::string &name)
 
void setCompactName (const std::string &compactName)
 
void setVersion (const std::string &version)
 
bool isRunning ()
 
bool isStopping ()
 
bool isTerminated ()
 
const std::string & getName ()
 
const std::string & getCompactName ()
 
const std::string & getVersion ()
 
std::string getCharset ()
 
std::string getBuildCompiler ()
 
std::string getBuildDate ()
 
std::string getBuildRevision ()
 
std::string getBuildCommit ()
 
std::string getBuildType ()
 
std::string getBuildArch ()
 
std::string getOs ()
 
std::string getStartupOptions ()
 

Protected Member Functions

void resize (const Size &size)
 
void inputEvent (const InputEvent &event)
 
- Protected Member Functions inherited from Application
void registerLuaFunctions ()
 

Additional Inherited Members

- Protected Attributes inherited from Application
std::string m_charset
 
std::string m_appName
 
std::string m_appCompactName
 
std::string m_appVersion
 
std::string m_startupOptions
 
stdext::boolean< false > m_running
 
stdext::boolean< false > m_stopping
 
stdext::boolean< false > m_terminated
 

Detailed Description

Definition at line 31 of file graphicalapplication.h.

Member Function Documentation

◆ close()

void GraphicalApplication::close ( )
virtual

Reimplemented from Application.

Definition at line 220 of file graphicalapplication.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ deinit()

void GraphicalApplication::deinit ( )
virtual

Reimplemented from Application.

Definition at line 69 of file graphicalapplication.cpp.

Here is the call graph for this function:

◆ getBackgroundPaneFps()

int GraphicalApplication::getBackgroundPaneFps ( )
inline

Definition at line 52 of file graphicalapplication.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getBackgroundPaneMaxFps()

int GraphicalApplication::getBackgroundPaneMaxFps ( )
inline

Definition at line 54 of file graphicalapplication.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getForegroundPaneFps()

int GraphicalApplication::getForegroundPaneFps ( )
inline

Definition at line 51 of file graphicalapplication.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getForegroundPaneMaxFps()

int GraphicalApplication::getForegroundPaneMaxFps ( )
inline

Definition at line 53 of file graphicalapplication.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init()

void GraphicalApplication::init ( std::vector< std::string > &  args)
virtual

Reimplemented from Application.

Definition at line 41 of file graphicalapplication.cpp.

Here is the call graph for this function:

◆ inputEvent()

void GraphicalApplication::inputEvent ( const InputEvent event)
protected

Definition at line 241 of file graphicalapplication.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isOnInputEvent()

bool GraphicalApplication::isOnInputEvent ( )
inline

Definition at line 56 of file graphicalapplication.h.

Here is the caller graph for this function:

◆ poll()

void GraphicalApplication::poll ( )
virtual

Reimplemented from Application.

Definition at line 206 of file graphicalapplication.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ repaint()

void GraphicalApplication::repaint ( )
inline

Definition at line 46 of file graphicalapplication.h.

◆ resize()

void GraphicalApplication::resize ( const Size size)
protected

Definition at line 227 of file graphicalapplication.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ run()

void GraphicalApplication::run ( )
virtual

Implements Application.

Definition at line 104 of file graphicalapplication.cpp.

Here is the call graph for this function:

◆ setBackgroundPaneMaxFps()

void GraphicalApplication::setBackgroundPaneMaxFps ( int  maxFps)
inline

Definition at line 49 of file graphicalapplication.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setForegroundPaneMaxFps()

void GraphicalApplication::setForegroundPaneMaxFps ( int  maxFps)
inline

Definition at line 48 of file graphicalapplication.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ terminate()

void GraphicalApplication::terminate ( )
virtual

Reimplemented from Application.

Definition at line 77 of file graphicalapplication.cpp.

Here is the call graph for this function:

◆ willRepaint()

bool GraphicalApplication::willRepaint ( )
inline

Definition at line 45 of file graphicalapplication.h.


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