Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Base-class this if you want an object to contain one, or several, scroll-bars. More...
#include <IGUIScrollBarOwner.h>
Public Member Functions | |
IGUIScrollBarOwner (IGUIObject &m_pObject) | |
virtual | ~IGUIScrollBarOwner () |
virtual void | Draw (CCanvas2D &canvas) |
virtual void | HandleMessage (SGUIMessage &Message) |
virtual void | ResetStates () |
virtual const SGUIScrollBarStyle * | GetScrollBarStyle (const CStr8 &style) const |
Interface for the m_ScrollBar to use. More... | |
virtual void | AddScrollBar (std::unique_ptr< IGUIScrollBar > scrollbar) |
Add a scroll-bar. More... | |
virtual IGUIScrollBar & | GetScrollBar (const int &index) |
Get Scroll Bar reference (it should be transparent it's actually pointers). More... | |
virtual float | GetScrollBarPos (const int index) const |
Get the position of the scroll bar at. More... | |
Protected Attributes | |
std::vector< std::unique_ptr< IGUIScrollBar > > | m_ScrollBars |
Predominately you will only have one, but you can have as many as you like. More... | |
Private Member Functions | |
NONCOPYABLE (IGUIScrollBarOwner) | |
Private Attributes | |
IGUIObject & | m_pObject |
Reference to the IGUIObject. More... | |
Friends | |
class | IGUIScrollBar |
Base-class this if you want an object to contain one, or several, scroll-bars.
IGUIScrollBarOwner::IGUIScrollBarOwner | ( | IGUIObject & | m_pObject | ) |
|
virtualdefault |
|
virtual |
Add a scroll-bar.
|
virtual |
|
inlinevirtual |
Get Scroll Bar reference (it should be transparent it's actually pointers).
|
virtual |
Get the position of the scroll bar at.
index. | Equivalent to GetScrollbar(index).GetPos(). |
|
virtual |
Interface for the m_ScrollBar to use.
|
virtual |
|
private |
|
virtual |
|
friend |
|
private |
Reference to the IGUIObject.
Private, because we don't want to inherit it in multiple classes.
|
protected |
Predominately you will only have one, but you can have as many as you like.