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

#include <widgets.hpp>

Inheritance diagram for MWGui::Widgets::MWEffectList:
Collaboration diagram for MWGui::Widgets::MWEffectList:

Public Types

enum  EffectFlags { EF_NoTarget = 0x01, EF_Constant = 0x02 }
 
typedef MWMechanics::Stat< intEnchantmentValue
 

Public Member Functions

 MWEffectList ()
 
void setEffectList (const SpellEffectList &list)
 
void createEffectWidgets (std::vector< MyGUI::Widget * > &effects, MyGUI::Widget *creator, MyGUI::IntCoord &coord, bool center, int flags)
 

Static Public Member Functions

static SpellEffectList effectListFromESM (const ESM::EffectList *effects)
 

Protected Member Functions

virtual ~MWEffectList ()
 
virtual void initialiseOverride ()
 

Private Member Functions

void updateWidgets ()
 

Private Attributes

SpellEffectList mEffectList
 

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
EF_NoTarget 
EF_Constant 

Constructor & Destructor Documentation

MWGui::Widgets::MWEffectList::MWEffectList ( )
MWGui::Widgets::MWEffectList::~MWEffectList ( )
protectedvirtual

Member Function Documentation

void MWGui::Widgets::MWEffectList::createEffectWidgets ( std::vector< MyGUI::Widget * > &  effects,
MyGUI::Widget *  creator,
MyGUI::IntCoord &  coord,
bool  center,
int  flags 
)
Parameters
vectorto store the created effect widgets
parentwidget
coordinatesto use, will be expanded if more space is needed
centerthe effect widgets horizontally
variousflags, see MWEffectList::EffectFlags

Here is the call graph for this function:

Here is the caller graph for this function:

SpellEffectList MWGui::Widgets::MWEffectList::effectListFromESM ( const ESM::EffectList effects)
static

Here is the caller graph for this function:

void MWGui::Widgets::MWEffectList::initialiseOverride ( )
protectedvirtual
void MWGui::Widgets::MWEffectList::setEffectList ( const SpellEffectList list)

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the caller graph for this function:

Member Data Documentation

SpellEffectList MWGui::Widgets::MWEffectList::mEffectList
private

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