Om  1.0.0
A universal framework for multimedia simulation
Public Attributes | List of all members
om::graphics::gui::base::GUIImage::Delegate Class Reference

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...
 

Detailed Description

A class that contains function objects that recieve GUIImage events.

Member Data Documentation

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.


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