Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <simplepicker.h>
Public Member Functions | |
virtual std::string | text (void) const |
virtual std::string | id (void) const |
virtual GFXColor | textColor (void) const |
virtual PickerCells * | children (void) const |
virtual int | tag (void) const |
virtual void | setTextColor (const GFXColor &c) |
void | addChild (SimplePickerCell *c) |
SimplePickerCells * | createEmptyChildList (void) |
SimplePickerCell (const std::string &t, const std::string &id="", const GFXColor &c=GUI_CLEAR, int newTag=0) | |
virtual | ~SimplePickerCell (void) |
SimplePickerCell & | operator= (const SimplePickerCell &cell) |
SimplePickerCell (const SimplePickerCell &cell) | |
![]() | |
virtual | ~PickerCell () |
virtual bool | hideChildren (void) const |
virtual void | setHideChildren (bool f) |
PickerCell (bool hideChildren=true) | |
Protected Attributes | |
std::string | m_text |
std::string | m_id |
GFXColor | m_textColor |
int | m_tag |
SimplePickerCells * | m_children |
![]() | |
bool | m_hideChildren |
Definition at line 33 of file simplepicker.h.
SimplePickerCell::SimplePickerCell | ( | const std::string & | t, |
const std::string & | id = "" , |
||
const GFXColor & | c = GUI_CLEAR , |
||
int | newTag = 0 |
||
) |
Definition at line 45 of file simplepicker.cpp.
|
virtual |
Definition at line 54 of file simplepicker.cpp.
References m_children.
SimplePickerCell::SimplePickerCell | ( | const SimplePickerCell & | cell) |
Definition at line 73 of file simplepicker.cpp.
void SimplePickerCell::addChild | ( | SimplePickerCell * | c) |
Definition at line 29 of file simplepicker.cpp.
References SimplePickerCells::addCell(), createEmptyChildList(), and m_children.
Referenced by NavComputer::loadCriteriaPickerCell(), and BaseComputer::loadListPicker().
|
inlinevirtual |
Implements PickerCell.
Definition at line 52 of file simplepicker.h.
References m_children.
Referenced by BaseComputer::createCategoryCell().
SimplePickerCells * SimplePickerCell::createEmptyChildList | ( | void | ) |
Definition at line 37 of file simplepicker.cpp.
References m_children.
Referenced by addChild(), and BaseComputer::createCategoryCell().
|
inlinevirtual |
SimplePickerCell & SimplePickerCell::operator= | ( | const SimplePickerCell & | cell) |
Definition at line 60 of file simplepicker.cpp.
References m_children, m_id, m_tag, m_text, and m_textColor.
|
inlinevirtual |
Definition at line 62 of file simplepicker.h.
References c, and m_textColor.
Referenced by BaseComputer::loadBuyUpgradeControls().
|
inlinevirtual |
|
inlinevirtual |
Implements PickerCell.
Definition at line 37 of file simplepicker.h.
References m_text.
Referenced by BaseComputer::loadBuyUpgradeControls().
|
inlinevirtual |
Implements PickerCell.
Definition at line 47 of file simplepicker.h.
References m_textColor.
Referenced by BaseComputer::loadBuyUpgradeControls().
|
protected |
Definition at line 85 of file simplepicker.h.
Referenced by addChild(), children(), createEmptyChildList(), operator=(), and ~SimplePickerCell().
|
protected |
Definition at line 82 of file simplepicker.h.
Referenced by id(), and operator=().
|
protected |
Definition at line 84 of file simplepicker.h.
Referenced by operator=(), and tag().
|
protected |
Definition at line 81 of file simplepicker.h.
Referenced by operator=(), and text().
|
protected |
Definition at line 83 of file simplepicker.h.
Referenced by operator=(), setTextColor(), and textColor().