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

#include <spellcreationdialog.hpp>

Inheritance diagram for MWGui::EffectEditorBase:
Collaboration diagram for MWGui::EffectEditorBase:

Public Types

enum  Type { Spellmaking, Enchanting }
 

Public Member Functions

 EffectEditorBase (Type type)
 
virtual ~EffectEditorBase ()
 
void setConstantEffect (bool constant)
 

Protected Member Functions

void onEffectAdded (ESM::ENAMstruct effect)
 
void onEffectModified (ESM::ENAMstruct effect)
 
void onEffectRemoved (ESM::ENAMstruct effect)
 
void onAvailableEffectClicked (MyGUI::Widget *sender)
 
void onAttributeOrSkillCancel ()
 
void onSelectAttribute ()
 
void onSelectSkill ()
 
void onEditEffect (MyGUI::Widget *sender)
 
void updateEffectsView ()
 
void startEditing ()
 
void setWidgets (Gui::MWList *availableEffectsList, MyGUI::ScrollView *usedEffectsView)
 
virtual void notifyEffectsChanged ()
 

Protected Attributes

std::map< int, short > mButtonMapping
 
Gui::MWListmAvailableEffectsList
 
MyGUI::ScrollView * mUsedEffectsView
 
EditEffectDialog mAddEffectDialog
 
SelectAttributeDialogmSelectAttributeDialog
 
SelectSkillDialogmSelectSkillDialog
 
int mSelectedEffect
 
short mSelectedKnownEffectId
 
bool mConstantEffect
 
std::vector< ESM::ENAMstructmEffects
 

Private Attributes

Type mType
 

Member Enumeration Documentation

Enumerator
Spellmaking 
Enchanting 

Constructor & Destructor Documentation

MWGui::EffectEditorBase::EffectEditorBase ( Type  type)

Here is the call graph for this function:

MWGui::EffectEditorBase::~EffectEditorBase ( )
virtual

Member Function Documentation

virtual void MWGui::EffectEditorBase::notifyEffectsChanged ( )
inlineprotectedvirtual

Reimplemented in MWGui::SpellCreationDialog, and MWGui::EnchantingDialog.

Here is the caller graph for this function:

void MWGui::EffectEditorBase::onAttributeOrSkillCancel ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EffectEditorBase::onAvailableEffectClicked ( MyGUI::Widget *  sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EffectEditorBase::onEditEffect ( MyGUI::Widget *  sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EffectEditorBase::onEffectAdded ( ESM::ENAMstruct  effect)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EffectEditorBase::onEffectModified ( ESM::ENAMstruct  effect)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EffectEditorBase::onEffectRemoved ( ESM::ENAMstruct  effect)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EffectEditorBase::onSelectAttribute ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EffectEditorBase::onSelectSkill ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EffectEditorBase::setConstantEffect ( bool  constant)

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EffectEditorBase::setWidgets ( Gui::MWList availableEffectsList,
MyGUI::ScrollView *  usedEffectsView 
)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EffectEditorBase::startEditing ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EffectEditorBase::updateEffectsView ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

EditEffectDialog MWGui::EffectEditorBase::mAddEffectDialog
protected
Gui::MWList* MWGui::EffectEditorBase::mAvailableEffectsList
protected
std::map<int, short> MWGui::EffectEditorBase::mButtonMapping
protected
bool MWGui::EffectEditorBase::mConstantEffect
protected
std::vector<ESM::ENAMstruct> MWGui::EffectEditorBase::mEffects
protected
SelectAttributeDialog* MWGui::EffectEditorBase::mSelectAttributeDialog
protected
int MWGui::EffectEditorBase::mSelectedEffect
protected
short MWGui::EffectEditorBase::mSelectedKnownEffectId
protected
SelectSkillDialog* MWGui::EffectEditorBase::mSelectSkillDialog
protected
Type MWGui::EffectEditorBase::mType
private
MyGUI::ScrollView* MWGui::EffectEditorBase::mUsedEffectsView
protected

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