Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ValuedPickerCell< T > Class Template Reference

#include <simplepicker.h>

Inheritance diagram for ValuedPickerCell< T >:
SimplePickerCell PickerCell

Public Member Functions

 ValuedPickerCell (T value, const std::string text, const std::string &id="", const GFXColor &c=GUI_CLEAR, int newTag=0)
 
virtual ~ValuedPickerCell (void)
 
value (void) const
 
 ValuedPickerCell (const ValuedPickerCell &cell)
 
- Public Member Functions inherited from SimplePickerCell
virtual std::string text (void) const
 
virtual std::string id (void) const
 
virtual GFXColor textColor (void) const
 
virtual PickerCellschildren (void) const
 
virtual int tag (void) const
 
virtual void setTextColor (const GFXColor &c)
 
void addChild (SimplePickerCell *c)
 
SimplePickerCellscreateEmptyChildList (void)
 
 SimplePickerCell (const std::string &t, const std::string &id="", const GFXColor &c=GUI_CLEAR, int newTag=0)
 
virtual ~SimplePickerCell (void)
 
SimplePickerCelloperator= (const SimplePickerCell &cell)
 
 SimplePickerCell (const SimplePickerCell &cell)
 
- Public Member Functions inherited from PickerCell
virtual ~PickerCell ()
 
virtual bool hideChildren (void) const
 
virtual void setHideChildren (bool f)
 
 PickerCell (bool hideChildren=true)
 

Protected Attributes

m_value
 
- Protected Attributes inherited from SimplePickerCell
std::string m_text
 
std::string m_id
 
GFXColor m_textColor
 
int m_tag
 
SimplePickerCellsm_children
 
- Protected Attributes inherited from PickerCell
bool m_hideChildren
 

Detailed Description

template<class T>
class ValuedPickerCell< T >

Definition at line 150 of file simplepicker.h.

Constructor & Destructor Documentation

template<class T>
ValuedPickerCell< T >::ValuedPickerCell ( value,
const std::string  text,
const std::string &  id = "",
const GFXColor c = GUI_CLEAR,
int  newTag = 0 
)
inline

Definition at line 154 of file simplepicker.h.

158  :
159  SimplePickerCell( text, id, c, newTag )
160  , m_value( value ) {}
template<class T>
virtual ValuedPickerCell< T >::~ValuedPickerCell ( void  )
inlinevirtual

Definition at line 162 of file simplepicker.h.

162 {}
template<class T>
ValuedPickerCell< T >::ValuedPickerCell ( const ValuedPickerCell< T > &  cell)
inline

Definition at line 170 of file simplepicker.h.

170  :
171  SimplePickerCell( cell )
172  , m_value( cell.m_value ) {}

Member Function Documentation

template<class T>
T ValuedPickerCell< T >::value ( void  ) const
inline

Member Data Documentation

template<class T>
T ValuedPickerCell< T >::m_value
protected

Definition at line 175 of file simplepicker.h.

Referenced by ValuedPickerCell< T >::value().


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