PixelLightAPI
.
|
Frontend application class. More...
#include <FrontendApplication.h>
Protected Member Functions | |
PLCORE_API | FrontendApplication (Frontend &cFrontend) |
Returns the frontend this application is running in. | |
virtual PLCORE_API | ~FrontendApplication () |
Destructor. | |
virtual PLCORE_API void | OnStop () override |
De-initialization function that is called after OnDeInit() | |
virtual PLCORE_API void | OnSize () override |
Called when the window size has been changed. | |
virtual PLCORE_API void | OnFullscreenMode () override |
Called when the fullscreen mode was changed. | |
virtual PLCORE_API void | OnDraw () override |
Called to let the frontend draw into it's window. | |
virtual PLCORE_API void | OnUpdate () override |
Called to let the frontend update it's states. | |
virtual PLCORE_API void | OnDrop (const Container< String > &lstFiles) override |
Called when string data has been dropped onto the frontend window. | |
virtual PLCORE_API void | OnInitConfig () override |
Called when application should initialize it's configuration. | |
virtual PLCORE_API void | OnInitPlugins () override |
Called when application should load it's plugins. | |
virtual PLCORE_API void | OnInitData () override |
Called when application should set it's data paths. |
Frontend application class.
PLCORE_API PLCore::FrontendApplication::FrontendApplication | ( | Frontend & | cFrontend | ) | [protected] |
Returns the frontend this application is running in.
[in] | cFrontend | Frontend this application instance is running in |
virtual PLCORE_API PLCore::FrontendApplication::~FrontendApplication | ( | ) | [protected, virtual] |
Destructor.
virtual PLCORE_API void PLCore::FrontendApplication::OnStop | ( | ) | [override, protected, virtual] |
De-initialization function that is called after OnDeInit()
Reimplemented from PLCore::CoreApplication.
Reimplemented in PLEngine::EngineApplication, PLScene::SceneApplication, and PLRenderer::RendererApplication.
virtual PLCORE_API void PLCore::FrontendApplication::OnSize | ( | ) | [override, protected, virtual] |
Called when the window size has been changed.
Implements PLCore::AbstractFrontend.
virtual PLCORE_API void PLCore::FrontendApplication::OnFullscreenMode | ( | ) | [override, protected, virtual] |
Called when the fullscreen mode was changed.
Implements PLCore::AbstractFrontend.
Reimplemented in PLRenderer::RendererApplication.
virtual PLCORE_API void PLCore::FrontendApplication::OnDraw | ( | ) | [override, protected, virtual] |
Called to let the frontend draw into it's window.
Implements PLCore::AbstractFrontend.
Reimplemented in PLRenderer::RendererApplication.
virtual PLCORE_API void PLCore::FrontendApplication::OnUpdate | ( | ) | [override, protected, virtual] |
Called to let the frontend update it's states.
Implements PLCore::AbstractFrontend.
Reimplemented in PLEngine::EngineApplication, PLEngine::ScriptApplication, PLRenderer::RendererApplication, and PLScene::SceneApplication.
virtual PLCORE_API void PLCore::FrontendApplication::OnDrop | ( | const Container< String > & | lstFiles | ) | [override, protected, virtual] |
Called when string data has been dropped onto the frontend window.
[in] | lstFiles | List of file names |
Implements PLCore::AbstractFrontend.
virtual PLCORE_API void PLCore::FrontendApplication::OnInitConfig | ( | ) | [override, protected, virtual] |
Called when application should initialize it's configuration.
Reimplemented from PLCore::CoreApplication.
virtual PLCORE_API void PLCore::FrontendApplication::OnInitPlugins | ( | ) | [override, protected, virtual] |
Called when application should load it's plugins.
Reimplemented from PLCore::CoreApplication.
virtual PLCORE_API void PLCore::FrontendApplication::OnInitData | ( | ) | [override, protected, virtual] |
Called when application should set it's data paths.
Reimplemented from PLCore::CoreApplication.
|