OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
MWGui::Widgets::MWSpell Class Reference

#include <widgets.hpp>

Inheritance diagram for MWGui::Widgets::MWSpell:
Collaboration diagram for MWGui::Widgets::MWSpell:

Public Types

typedef MWMechanics::Stat< intSpellValue
 

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 ( )
MWGui::Widgets::MWSpell::~MWSpell ( )
protectedvirtual

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

Here is the call graph for this function:

Here is the caller graph for this function:

const std::string& MWGui::Widgets::MWSpell::getSpellId ( ) const
inline
void MWGui::Widgets::MWSpell::initialiseOverride ( )
protectedvirtual
void MWGui::Widgets::MWSpell::setSpellId ( const std::string &  id)

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::Widgets::MWSpell::updateWidgets ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

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: