public

Inheritance Graph

graph BT
	ScrollableContainer
	ScrollableContainer --> Container
	Panel --> ScrollableContainer
	click ScrollableContainer "classGUI_1_1ScrollableContainer"
	click Container "classGUI_1_1Container"
	click Panel "classGUI_1_1Panel"

Description

Public Functions

   
   
  ScrollableContainer( GUI_Manager & gui, flag_t flags)
   
  ~ScrollableContainer()
   
void scrollTo(const Geometry::Vec2 & pos)
   
void scrollTo(const Geometry::Vec2 & pos, float duration)
   
const Geometry::Vec2 & getScrollPos() const
   
Container * getContentContainer() const
   
void addContent(const Ref & child)
   
void clearContents()
   
std::vector< Component * > getContents()
   
void removeContent(const Ref & child)
   
void insertAfter(const Ref & child, const Ref & after)
   
void insertBefore(const Ref & child, const Ref & after)
   
size_t getContentsCount() const
   
void doDisplay(const Geometry::Rect & region)
   
void doLayout()

Documentation

function
GUI::ScrollableContainer::ScrollableContainer

public
     
     
ScrollableContainer( GUI_Manager & gui,
  flag_t flags
)    

Defined in GUI/Components/ScrollableContainer.h:29


function
GUI::ScrollableContainer::~ScrollableContainer

public virtual
   
   
~ScrollableContainer( )

Defined in GUI/Components/ScrollableContainer.h:30


function
GUI::ScrollableContainer::scrollTo

public
     
     
void scrollTo( const Geometry::Vec2 & pos )

Defined in GUI/Components/ScrollableContainer.h:32


function
GUI::ScrollableContainer::scrollTo

public
     
     
void scrollTo( const Geometry::Vec2 & pos,
  float duration
)    

Defined in GUI/Components/ScrollableContainer.h:33


function
GUI::ScrollableContainer::getScrollPos

public const inline
   
   
const Geometry::Vec2 & getScrollPos( ) const

Defined in GUI/Components/ScrollableContainer.h:34


function
GUI::ScrollableContainer::getContentContainer

public const inline
   
   
Container * getContentContainer( ) const

Defined in GUI/Components/ScrollableContainer.h:36


function
GUI::ScrollableContainer::addContent

public inline virtual
     
     
void addContent( const Ref & child )

Defined in GUI/Components/ScrollableContainer.h:39


function
GUI::ScrollableContainer::clearContents

public inline virtual
   
   
void clearContents( )

Defined in GUI/Components/ScrollableContainer.h:40


function
GUI::ScrollableContainer::getContents

public inline virtual
   
   
std::vector< Component * > getContents( )

Defined in GUI/Components/ScrollableContainer.h:41


function
GUI::ScrollableContainer::removeContent

public inline virtual
     
     
void removeContent( const Ref & child )

Defined in GUI/Components/ScrollableContainer.h:42


function
GUI::ScrollableContainer::insertAfter

public inline virtual
     
     
void insertAfter( const Ref & child,
  const Ref & after
)    

Defined in GUI/Components/ScrollableContainer.h:43


function
GUI::ScrollableContainer::insertBefore

public inline virtual
     
     
void insertBefore( const Ref & child,
  const Ref & after
)    

Defined in GUI/Components/ScrollableContainer.h:44


function
GUI::ScrollableContainer::getContentsCount

public const inline virtual
   
   
size_t getContentsCount( ) const

Defined in GUI/Components/ScrollableContainer.h:45


function
GUI::ScrollableContainer::doDisplay

public virtual
     
     
void doDisplay( const Geometry::Rect & region )

Defined in GUI/Components/ScrollableContainer.h:48


function
GUI::ScrollableContainer::doLayout

public virtual
   
   
void doLayout( )

Defined in GUI/Components/ScrollableContainer.h:49