PixelLightAPI
.
|
Abstract frontend class. More...
#include <AbstractFrontend.h>
Public Member Functions | |
virtual void | OnSize ()=0 |
Called when the window size has been changed. | |
virtual void | OnFullscreenMode ()=0 |
Called when the fullscreen mode was changed. | |
virtual void | OnDraw ()=0 |
Called to let the frontend draw into it's window. | |
virtual void | OnUpdate ()=0 |
Called to let the frontend update it's states. | |
virtual void | OnDrop (const Container< String > &lstFiles)=0 |
Called when string data has been dropped onto the frontend window. | |
Protected Member Functions | |
AbstractFrontend () | |
Default constructor. | |
virtual | ~AbstractFrontend () |
Destructor. |
Abstract frontend class.
PLCore::AbstractFrontend::AbstractFrontend | ( | ) | [protected] |
Default constructor.
virtual PLCore::AbstractFrontend::~AbstractFrontend | ( | ) | [protected, virtual] |
Destructor.
virtual void PLCore::AbstractFrontend::OnSize | ( | ) | [pure virtual] |
Called when the window size has been changed.
Implemented in PLCore::FrontendApplication, PLCore::FrontendPixelLight, PLCore::FrontendImpl, and PLCore::FrontendOpenGL.
virtual void PLCore::AbstractFrontend::OnFullscreenMode | ( | ) | [pure virtual] |
Called when the fullscreen mode was changed.
Implemented in PLRenderer::RendererApplication, PLCore::FrontendApplication, PLCore::FrontendPixelLight, PLCore::FrontendImpl, and PLCore::FrontendOpenGL.
virtual void PLCore::AbstractFrontend::OnDraw | ( | ) | [pure virtual] |
Called to let the frontend draw into it's window.
Implemented in PLRenderer::RendererApplication, PLCore::FrontendApplication, PLCore::FrontendPixelLight, PLCore::FrontendImpl, and PLCore::FrontendOpenGL.
virtual void PLCore::AbstractFrontend::OnUpdate | ( | ) | [pure virtual] |
Called to let the frontend update it's states.
Implemented in PLEngine::EngineApplication, PLEngine::ScriptApplication, PLRenderer::RendererApplication, PLCore::FrontendApplication, PLScene::SceneApplication, PLCore::FrontendPixelLight, PLCore::FrontendImpl, and PLCore::FrontendOpenGL.
virtual void PLCore::AbstractFrontend::OnDrop | ( | const Container< String > & | lstFiles | ) | [pure virtual] |
Called when string data has been dropped onto the frontend window.
[in] | lstFiles | List of file names |
Implemented in PLCore::FrontendApplication, PLCore::FrontendPixelLight, PLCore::FrontendImpl, and PLCore::FrontendOpenGL.
|