#include <guiScrollContainer.h>
|
| GUIScrollContainer (gui::IGUIEnvironment *env, gui::IGUIElement *parent, s32 id, const core::rect< s32 > &rectangle, const std::string &orientation, f32 scrollfactor) |
|
virtual bool | OnEvent (const SEvent &event) override |
|
virtual void | draw () override |
|
void | onScrollEvent (gui::IGUIElement *caller) |
|
void | setScrollBar (GUIScrollBar *scrollbar) |
|
◆ OrientationEnum
Enumerator |
---|
VERTICAL | |
HORIZONTAL | |
UNDEFINED | |
◆ GUIScrollContainer()
GUIScrollContainer::GUIScrollContainer |
( |
gui::IGUIEnvironment * |
env, |
|
|
gui::IGUIElement * |
parent, |
|
|
s32 |
id, |
|
|
const core::rect< s32 > & |
rectangle, |
|
|
const std::string & |
orientation, |
|
|
f32 |
scrollfactor |
|
) |
| |
◆ draw()
void GUIScrollContainer::draw |
( |
| ) |
|
|
overridevirtual |
◆ OnEvent()
bool GUIScrollContainer::OnEvent |
( |
const SEvent & |
event | ) |
|
|
overridevirtual |
◆ onScrollEvent()
void GUIScrollContainer::onScrollEvent |
( |
gui::IGUIElement * |
caller | ) |
|
|
inline |
◆ setScrollBar()
void GUIScrollContainer::setScrollBar |
( |
GUIScrollBar * |
scrollbar | ) |
|
|
inline |
◆ updateScrolling()
void GUIScrollContainer::updateScrolling |
( |
| ) |
|
|
private |
◆ m_orientation
◆ m_scrollbar
◆ m_scrollfactor
f32 GUIScrollContainer::m_scrollfactor |
|
private |
The documentation for this class was generated from the following files: