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
PickerCell Class Referenceabstract

#include <picker.h>

Inheritance diagram for PickerCell:
SimplePickerCell ValuedPickerCell< T >

Public Member Functions

virtual ~PickerCell ()
 
virtual std::string text (void) const =0
 
virtual std::string id (void) const =0
 
virtual GFXColor textColor (void) const =0
 
virtual PickerCellschildren (void) const =0
 
virtual int tag (void) const =0
 
virtual bool hideChildren (void) const
 
virtual void setHideChildren (bool f)
 
 PickerCell (bool hideChildren=true)
 

Protected Attributes

bool m_hideChildren
 

Detailed Description

Definition at line 39 of file picker.h.

Constructor & Destructor Documentation

virtual PickerCell::~PickerCell ( )
inlinevirtual

Definition at line 42 of file picker.h.

42 {}
PickerCell::PickerCell ( bool  hideChildren = true)
inline

Definition at line 65 of file picker.h.

Member Function Documentation

virtual bool PickerCell::hideChildren ( void  ) const
inlinevirtual

Definition at line 55 of file picker.h.

References m_hideChildren.

Referenced by Picker::addListToDisplay(), PickerCells::saveOpenCategories(), and Picker::selectCell().

56  {
57  return m_hideChildren;
58  }
virtual std::string PickerCell::id ( void  ) const
pure virtual
virtual void PickerCell::setHideChildren ( bool  f)
inlinevirtual
virtual std::string PickerCell::text ( void  ) const
pure virtual
virtual GFXColor PickerCell::textColor ( void  ) const
pure virtual

Implemented in SimplePickerCell.

Referenced by Picker::draw().

Member Data Documentation

bool PickerCell::m_hideChildren
protected

Definition at line 68 of file picker.h.

Referenced by hideChildren(), and setHideChildren().


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