OpenMW
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
MWGui::EditEffectDialog Class Reference

#include <spellcreationdialog.hpp>

List of all members.

Public Types

typedef
MyGUI::delegates::CMultiDelegate1
< ESM::ENAMstruct
EventHandle_Effect

Public Member Functions

 EditEffectDialog ()
virtual void open ()
void setSkill (int skill)
void setAttribute (int attribute)
void newEffect (const ESM::MagicEffect *effect)
void editEffect (ESM::ENAMstruct effect)

Public Attributes

bool constantEffect
EventHandle_Effect eventEffectAdded
EventHandle_Effect eventEffectModified
EventHandle_Effect eventEffectRemoved

Protected Member Functions

void onRangeButtonClicked (MyGUI::Widget *sender)
void onDeleteButtonClicked (MyGUI::Widget *sender)
void onOkButtonClicked (MyGUI::Widget *sender)
void onCancelButtonClicked (MyGUI::Widget *sender)
void onMagnitudeMinChanged (MyGUI::ScrollBar *sender, size_t pos)
void onMagnitudeMaxChanged (MyGUI::ScrollBar *sender, size_t pos)
void onDurationChanged (MyGUI::ScrollBar *sender, size_t pos)
void onAreaChanged (MyGUI::ScrollBar *sender, size_t pos)
void setMagicEffect (const ESM::MagicEffect *effect)
void updateBoxes ()

Protected Attributes

MyGUI::Button * mCancelButton
MyGUI::Button * mOkButton
MyGUI::Button * mDeleteButton
MyGUI::Button * mRangeButton
MyGUI::Widget * mDurationBox
MyGUI::Widget * mMagnitudeBox
MyGUI::Widget * mAreaBox
MyGUI::TextBox * mMagnitudeMinValue
MyGUI::TextBox * mMagnitudeMaxValue
MyGUI::TextBox * mDurationValue
MyGUI::TextBox * mAreaValue
MyGUI::ScrollBar * mMagnitudeMinSlider
MyGUI::ScrollBar * mMagnitudeMaxSlider
MyGUI::ScrollBar * mDurationSlider
MyGUI::ScrollBar * mAreaSlider
MyGUI::TextBox * mAreaText
MyGUI::ImageBox * mEffectImage
MyGUI::TextBox * mEffectName
bool mEditing
ESM::ENAMstruct mEffect
ESM::ENAMstruct mOldEffect
const ESM::MagicEffectmMagicEffect

Member Typedef Documentation

typedef MyGUI::delegates::CMultiDelegate1<ESM::ENAMstruct> MWGui::EditEffectDialog::EventHandle_Effect

Constructor & Destructor Documentation


Member Function Documentation

void MWGui::EditEffectDialog::onAreaChanged ( MyGUI::ScrollBar *  sender,
size_t  pos 
) [protected]
void MWGui::EditEffectDialog::onCancelButtonClicked ( MyGUI::Widget *  sender) [protected]
void MWGui::EditEffectDialog::onDeleteButtonClicked ( MyGUI::Widget *  sender) [protected]
void MWGui::EditEffectDialog::onDurationChanged ( MyGUI::ScrollBar *  sender,
size_t  pos 
) [protected]
void MWGui::EditEffectDialog::onMagnitudeMaxChanged ( MyGUI::ScrollBar *  sender,
size_t  pos 
) [protected]
void MWGui::EditEffectDialog::onMagnitudeMinChanged ( MyGUI::ScrollBar *  sender,
size_t  pos 
) [protected]
void MWGui::EditEffectDialog::onOkButtonClicked ( MyGUI::Widget *  sender) [protected]
void MWGui::EditEffectDialog::onRangeButtonClicked ( MyGUI::Widget *  sender) [protected]
void MWGui::EditEffectDialog::open ( ) [virtual]

Reimplemented from MWGui::WindowModal.

void MWGui::EditEffectDialog::setAttribute ( int  attribute)
void MWGui::EditEffectDialog::setMagicEffect ( const ESM::MagicEffect effect) [protected]
void MWGui::EditEffectDialog::setSkill ( int  skill)

Member Data Documentation

MyGUI::Widget* MWGui::EditEffectDialog::mAreaBox [protected]
MyGUI::ScrollBar* MWGui::EditEffectDialog::mAreaSlider [protected]
MyGUI::TextBox* MWGui::EditEffectDialog::mAreaText [protected]
MyGUI::TextBox* MWGui::EditEffectDialog::mAreaValue [protected]
MyGUI::Button* MWGui::EditEffectDialog::mCancelButton [protected]
MyGUI::Button* MWGui::EditEffectDialog::mDeleteButton [protected]
MyGUI::Widget* MWGui::EditEffectDialog::mDurationBox [protected]
MyGUI::ScrollBar* MWGui::EditEffectDialog::mDurationSlider [protected]
MyGUI::TextBox* MWGui::EditEffectDialog::mDurationValue [protected]
MyGUI::ImageBox* MWGui::EditEffectDialog::mEffectImage [protected]
MyGUI::TextBox* MWGui::EditEffectDialog::mEffectName [protected]
MyGUI::Widget* MWGui::EditEffectDialog::mMagnitudeBox [protected]
MyGUI::ScrollBar* MWGui::EditEffectDialog::mMagnitudeMaxSlider [protected]
MyGUI::TextBox* MWGui::EditEffectDialog::mMagnitudeMaxValue [protected]
MyGUI::ScrollBar* MWGui::EditEffectDialog::mMagnitudeMinSlider [protected]
MyGUI::TextBox* MWGui::EditEffectDialog::mMagnitudeMinValue [protected]
MyGUI::Button* MWGui::EditEffectDialog::mOkButton [protected]
MyGUI::Button* MWGui::EditEffectDialog::mRangeButton [protected]

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