Linderdaum Engine: iFlowProvider Class Reference
Updated: Mon May 14 2012 05:02:36
iFlowProvider Class Reference

Data source for the FlowUI (a.k.a. model in the MVC) More...

#include <FlowUI.h>

List of all members.

Public Member Functions

 iFlowProvider ()
virtual size_t GetNumElements () const
 Total number of elements in the stream.
virtual float GetAverageWidth () const
 Get the average length of a single element.
virtual float GetWidth (int i) const
 The width of the element.
virtual float GetHeight (int i) const
 The height of the element.
virtual float GetAspect (int Idx) const
 Aspect ratio of the element.
virtual iTextureGetTextureForElement (int i) const =0
 The current element's texture. Active element may require some custom processing.
virtual void Update (float dt)
 Custom update.

Detailed Description

Data source for the FlowUI (a.k.a. model in the MVC)

Provides access to the elements

"Selected" element can be different and even provide some user interface


Constructor & Destructor Documentation

iFlowProvider::iFlowProvider ( ) [inline]

Member Function Documentation

virtual float iFlowProvider::GetAspect ( int  Idx) const [inline, virtual]

Aspect ratio of the element.

virtual float iFlowProvider::GetAverageWidth ( ) const [inline, virtual]

Get the average length of a single element.

virtual float iFlowProvider::GetHeight ( int  i) const [inline, virtual]

The height of the element.

virtual size_t iFlowProvider::GetNumElements ( ) const [inline, virtual]

Total number of elements in the stream.

Reimplemented in clImageListFlowProvider.

virtual iTexture* iFlowProvider::GetTextureForElement ( int  i) const [pure virtual]

The current element's texture. Active element may require some custom processing.

Implemented in clImageListFlowProvider.

virtual float iFlowProvider::GetWidth ( int  i) const [inline, virtual]

The width of the element.

virtual void iFlowProvider::Update ( float  dt) [inline, virtual]

Custom update.


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