OpenMW
|
#include <widgets.hpp>
Public Types | |
typedef MWMechanics::Stat< int > | SpellValue |
Public Member Functions | |
MWSpell () | |
void | setSpellId (const std::string &id) |
void | createEffectWidgets (std::vector< MyGUI::Widget * > &effects, MyGUI::Widget *creator, MyGUI::IntCoord &coord, int flags) |
const std::string & | getSpellId () const |
Protected Member Functions | |
virtual | ~MWSpell () |
virtual void | initialiseOverride () |
Private Member Functions | |
void | updateWidgets () |
Private Attributes | |
std::string | mId |
MyGUI::TextBox * | mSpellNameWidget |
typedef MWMechanics::Stat<int> MWGui::Widgets::MWSpell::SpellValue |
MWGui::Widgets::MWSpell::~MWSpell | ( | ) | [protected, virtual] |
void MWGui::Widgets::MWSpell::createEffectWidgets | ( | std::vector< MyGUI::Widget * > & | effects, |
MyGUI::Widget * | creator, | ||
MyGUI::IntCoord & | coord, | ||
int | flags | ||
) |
vector | to store the created effect widgets |
parent | widget |
coordinates | to use, will be expanded if more space is needed |
spell | category, if this is 0, this means the spell effects are permanent and won't display e.g. duration |
various | flags, see MWEffectList::EffectFlags |
const std::string& MWGui::Widgets::MWSpell::getSpellId | ( | ) | const [inline] |
void MWGui::Widgets::MWSpell::initialiseOverride | ( | ) | [protected, virtual] |
void MWGui::Widgets::MWSpell::setSpellId | ( | const std::string & | id | ) |
void MWGui::Widgets::MWSpell::updateWidgets | ( | ) | [private] |
std::string MWGui::Widgets::MWSpell::mId [private] |
MyGUI::TextBox* MWGui::Widgets::MWSpell::mSpellNameWidget [private] |