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

#include <spellcreationdialog.hpp>

Inheritance diagram for MWGui::EditEffectDialog:
Collaboration diagram for MWGui::EditEffectDialog:

Public Types

typedef
MyGUI::delegates::CMultiDelegate1
< ESM::ENAMstruct
EventHandle_Effect
 
- Public Types inherited from MWGui::WindowBase
typedef
MyGUI::delegates::CMultiDelegate1
< WindowBase * > 
EventHandle_WindowBase
 

Public Member Functions

 EditEffectDialog ()
 
virtual void onOpen ()
 Notify that window has been made visible. More...
 
virtual bool exit ()
 Gracefully exits the window. More...
 
void setConstantEffect (bool constant)
 
void setSkill (int skill)
 
void setAttribute (int attribute)
 
void newEffect (const ESM::MagicEffect *effect)
 
void editEffect (ESM::ENAMstruct effect)
 
- Public Member Functions inherited from MWGui::WindowModal
 WindowModal (const std::string &parLayout)
 
virtual void onClose () override
 Notify that window has been hidden. More...
 
- Public Member Functions inherited from MWGui::WindowBase
 WindowBase (const std::string &parLayout)
 
virtual MyGUI::Widget * getDefaultKeyFocus ()
 
virtual void setPtr (const MWWorld::Ptr &ptr)
 Open this object in the GUI, for windows that support it. More...
 
virtual void onFrame (float duration)
 Called every frame if the window is in an active GUI mode. More...
 
virtual void setVisible (bool visible)
 Sets the visibility of the window. More...
 
bool isVisible ()
 Returns the visibility state of the window. More...
 
void center ()
 
virtual void clear ()
 Clear any state specific to the running game. More...
 
virtual void onResChange (int width, int height)
 Called when GUI viewport changes size. More...
 
- Public Member Functions inherited from MWGui::Layout
 Layout (const std::string &_layout, MyGUI::Widget *_parent=nullptr)
 
virtual ~Layout ()
 
MyGUI::Widget * getWidget (const std::string &_name)
 
template<typename T >
void getWidget (T *&_widget, const std::string &_name)
 
void setCoord (int x, int y, int w, int h)
 
void setText (const std::string &name, const std::string &caption)
 
void setTitle (const std::string &title)
 

Public Attributes

EventHandle_Effect eventEffectAdded
 
EventHandle_Effect eventEffectModified
 
EventHandle_Effect eventEffectRemoved
 
- Public Attributes inherited from MWGui::Layout
MyGUI::Widget * mMainWidget
 

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
 
bool mConstantEffect
 
- Protected Attributes inherited from MWGui::Layout
std::string mPrefix
 
std::string mLayoutName
 
MyGUI::VectorWidgetPtr mListWindowRoot
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

MWGui::EditEffectDialog::EditEffectDialog ( )

Here is the call graph for this function:

Member Function Documentation

void MWGui::EditEffectDialog::editEffect ( ESM::ENAMstruct  effect)

Here is the call graph for this function:

Here is the caller graph for this function:

bool MWGui::EditEffectDialog::exit ( )
virtual

Gracefully exits the window.

Reimplemented from MWGui::WindowModal.

Here is the caller graph for this function:

void MWGui::EditEffectDialog::newEffect ( const ESM::MagicEffect effect)

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EditEffectDialog::onAreaChanged ( MyGUI::ScrollBar *  sender,
size_t  pos 
)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EditEffectDialog::onCancelButtonClicked ( MyGUI::Widget *  sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EditEffectDialog::onDeleteButtonClicked ( MyGUI::Widget *  sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EditEffectDialog::onDurationChanged ( MyGUI::ScrollBar *  sender,
size_t  pos 
)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EditEffectDialog::onMagnitudeMaxChanged ( MyGUI::ScrollBar *  sender,
size_t  pos 
)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EditEffectDialog::onMagnitudeMinChanged ( MyGUI::ScrollBar *  sender,
size_t  pos 
)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EditEffectDialog::onOkButtonClicked ( MyGUI::Widget *  sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EditEffectDialog::onOpen ( )
virtual

Notify that window has been made visible.

Reimplemented from MWGui::WindowModal.

Here is the call graph for this function:

void MWGui::EditEffectDialog::onRangeButtonClicked ( MyGUI::Widget *  sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EditEffectDialog::setAttribute ( int  attribute)

Here is the caller graph for this function:

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

Here is the caller graph for this function:

void MWGui::EditEffectDialog::setMagicEffect ( const ESM::MagicEffect effect)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EditEffectDialog::setSkill ( int  skill)

Here is the caller graph for this function:

void MWGui::EditEffectDialog::updateBoxes ( )
protected

Here is the caller graph for this function:

Member Data Documentation

EventHandle_Effect MWGui::EditEffectDialog::eventEffectAdded
EventHandle_Effect MWGui::EditEffectDialog::eventEffectModified
EventHandle_Effect MWGui::EditEffectDialog::eventEffectRemoved
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
bool MWGui::EditEffectDialog::mConstantEffect
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
bool MWGui::EditEffectDialog::mEditing
protected
ESM::ENAMstruct MWGui::EditEffectDialog::mEffect
protected
MyGUI::ImageBox* MWGui::EditEffectDialog::mEffectImage
protected
MyGUI::TextBox* MWGui::EditEffectDialog::mEffectName
protected
const ESM::MagicEffect* MWGui::EditEffectDialog::mMagicEffect
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
ESM::ENAMstruct MWGui::EditEffectDialog::mOldEffect
protected
MyGUI::Button* MWGui::EditEffectDialog::mRangeButton
protected

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