Om
1.0.0
A universal framework for multimedia simulation
|
A class that contains function objects that recieve TabView events. More...
#include <omGUITabView.h>
Public Attributes | |
Function< Bool(TabView &, const Size2D &)> | resize |
A function object that is called whenever an attached TabView is resized. More... | |
Function< Bool(TabView &, const Vector2i &)> | move |
A function object that is called whenever an attached TabView is moved. More... | |
Function< Bool(TabView &, Index)> | selectTab |
A function object that is called whenever the selected tab of a TabView is changed. More... | |
Function< void(TabView &, Index)> | deselectTab |
A function object that is called whenever a tab of a TabView is deselected. More... | |
UserData | data |
An object that stores an opaque pointer to delegate data. More... | |
A class that contains function objects that recieve TabView events.
A function object that is called whenever an attached TabView is resized.
The delegate function may choose to return either a value of TRUE, indicating that the change in size is allowed, or a value of FALSE, indicating that the change in size should be ignored.
The TabView provides the desired new size of the view as a (width, height) pair.
A function object that is called whenever an attached TabView is moved.
The delegate function may choose to return either a value of TRUE, indicating that the change in position is allowed, or a value of FALSE, indicating that the change in position should be ignored.
The TabView provides the desired new position of the view as a 2D vector.
A function object that is called whenever the selected tab of a TabView is changed.
The delegate function may choose to return either a value of TRUE, indicating that the change in tab is allowed, or a value of FALSE, indicating that the tab change should be ignored.
The TabView provides the index of the tab that was selected.
UserData om::gui::objects::TabView::Delegate::data |
An object that stores an opaque pointer to delegate data.