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

#include <widgets.hpp>

List of all members.

Public Types

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

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


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
void MWGui::Widgets::MWEffectList::initialiseOverride ( ) [protected, virtual]

Member Data Documentation


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