OpenMW
|
#include <spellcreationdialog.hpp>
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::MagicEffect * | mMagicEffect |
bool | mConstantEffect |
Protected Attributes inherited from MWGui::Layout | |
std::string | mPrefix |
std::string | mLayoutName |
MyGUI::VectorWidgetPtr | mListWindowRoot |
typedef MyGUI::delegates::CMultiDelegate1<ESM::ENAMstruct> MWGui::EditEffectDialog::EventHandle_Effect |
MWGui::EditEffectDialog::EditEffectDialog | ( | ) |
void MWGui::EditEffectDialog::editEffect | ( | ESM::ENAMstruct | effect | ) |
|
virtual |
Gracefully exits the window.
Reimplemented from MWGui::WindowModal.
void MWGui::EditEffectDialog::newEffect | ( | const ESM::MagicEffect * | effect | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
virtual |
Notify that window has been made visible.
Reimplemented from MWGui::WindowModal.
|
protected |
void MWGui::EditEffectDialog::setAttribute | ( | int | attribute | ) |
void MWGui::EditEffectDialog::setConstantEffect | ( | bool | constant | ) |
|
protected |
void MWGui::EditEffectDialog::setSkill | ( | int | skill | ) |
|
protected |
EventHandle_Effect MWGui::EditEffectDialog::eventEffectAdded |
EventHandle_Effect MWGui::EditEffectDialog::eventEffectModified |
EventHandle_Effect MWGui::EditEffectDialog::eventEffectRemoved |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |