Om
1.0.0
A universal framework for multimedia simulation
|
A class that contains function objects that recieve GUIImage events. More...
#include <omGraphicsGUIImage.h>
Public Attributes | |
Function< Bool(const GUIImage &image, const AABB2f &bounds, renderers::GUIRenderer &renderer)> | draw |
A callback function that is called whenever a GUI image needs to be drawn. More... | |
A class that contains function objects that recieve GUIImage events.
Function<Bool ( const GUIImage& image, const AABB2f& bounds, renderers::GUIRenderer& renderer )> om::graphics::gui::base::GUIImage::Delegate::draw |
A callback function that is called whenever a GUI image needs to be drawn.
The delegate should use the GUI renderer to draw the internal image data to the specified bounding box in the current local coordinate system.
If this function is not set, the image's raster representation is used to draw the image.