OpenMW
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
MWGui::Widgets::MWSpell Class Reference

#include <widgets.hpp>

List of all members.

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

Member Typedef Documentation


Constructor & Destructor Documentation

MWGui::Widgets::MWSpell::~MWSpell ( ) [protected, virtual]

Member Function Documentation

void MWGui::Widgets::MWSpell::createEffectWidgets ( std::vector< MyGUI::Widget * > &  effects,
MyGUI::Widget *  creator,
MyGUI::IntCoord &  coord,
int  flags 
)
Parameters:
vectorto store the created effect widgets
parentwidget
coordinatesto use, will be expanded if more space is needed
spellcategory, if this is 0, this means the spell effects are permanent and won't display e.g. duration
variousflags, 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)

Member Data Documentation

std::string MWGui::Widgets::MWSpell::mId [private]
MyGUI::TextBox* MWGui::Widgets::MWSpell::mSpellNameWidget [private]

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