Om
1.0.0
A universal framework for multimedia simulation
|
A class that represents a set of delegate methods for demo event handling. More...
#include <omSimpleDemo.h>
Public Attributes | |
Function< Bool(const Shared< GraphicsContext > &)> | initialize |
A delegate method that is called when the demo should be initialized. More... | |
Function< void()> | deinitialize |
A delegate method that is called when the demo should be cleaned up. More... | |
Function< void(const Shared< GraphicsContext > &)> | draw |
A delegate method that is called when the demo view should be drawn. More... | |
Function< void(const Size2D &)> | resize |
A delegate method that is called when the demo view should be resized. More... | |
Function< void(const TextEvent &)> | textEvent |
A delegate method that is called when a text event is received. More... | |
Function< void(const KeyEvent &)> | keyEvent |
A delegate method that is called when a keyboard event is received. More... | |
Function< void(const MouseButtonEvent &)> | mouseButtonEvent |
A delegate method that is called when a mouse button event is received. More... | |
Function< void(const MouseWheelEvent &)> | mouseWheelEvent |
A delegate method that is called when a mouse wheel event is received. More... | |
Function< void(const MouseMotionEvent &)> | mouseMotionEvent |
A delegate method that is called when a mouse motion event is received. More... | |
A class that represents a set of delegate methods for demo event handling.
Function<Bool ( const Shared<GraphicsContext>& )> om::engine::SimpleDemo::Delegate::initialize |
A delegate method that is called when the demo should be initialized.
Function<void ()> om::engine::SimpleDemo::Delegate::deinitialize |
A delegate method that is called when the demo should be cleaned up.
Function<void ( const Shared<GraphicsContext>& )> om::engine::SimpleDemo::Delegate::draw |
A delegate method that is called when the demo view should be drawn.
A delegate method that is called when the demo view should be resized.
A delegate method that is called when a text event is received.
A delegate method that is called when a keyboard event is received.
Function<void ( const MouseButtonEvent& )> om::engine::SimpleDemo::Delegate::mouseButtonEvent |
A delegate method that is called when a mouse button event is received.
Function<void ( const MouseWheelEvent& )> om::engine::SimpleDemo::Delegate::mouseWheelEvent |
A delegate method that is called when a mouse wheel event is received.
Function<void ( const MouseMotionEvent& )> om::engine::SimpleDemo::Delegate::mouseMotionEvent |
A delegate method that is called when a mouse motion event is received.