OpenMW
|
#include <widgets.hpp>
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 |
MWGui::Widgets::MWEffectList::~MWEffectList | ( | ) | [protected, virtual] |
void MWGui::Widgets::MWEffectList::createEffectWidgets | ( | std::vector< MyGUI::Widget * > & | effects, |
MyGUI::Widget * | creator, | ||
MyGUI::IntCoord & | coord, | ||
bool | center, | ||
int | flags | ||
) |
vector | to store the created effect widgets |
parent | widget |
coordinates | to use, will be expanded if more space is needed |
center | the effect widgets horizontally |
various | flags, see MWEffectList::EffectFlags |
SpellEffectList MWGui::Widgets::MWEffectList::effectListFromESM | ( | const ESM::EffectList * | effects | ) | [static] |
void MWGui::Widgets::MWEffectList::initialiseOverride | ( | ) | [protected, virtual] |
void MWGui::Widgets::MWEffectList::setEffectList | ( | const SpellEffectList & | list | ) |
void MWGui::Widgets::MWEffectList::updateWidgets | ( | ) | [private] |