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

#include <enchantingdialog.hpp>

Inheritance diagram for MWGui::EnchantingDialog:
Collaboration diagram for MWGui::EnchantingDialog:

Public Member Functions

 EnchantingDialog ()
 
virtual ~EnchantingDialog ()
 
virtual void open ()
 Notify that window has been made visible. More...
 
virtual void exit ()
 Gracefully exits the window. More...
 
void setSoulGem (const MWWorld::Ptr &gem)
 
void setItem (const MWWorld::Ptr &item)
 
void startEnchanting (MWWorld::Ptr actor)
 
void startSelfEnchanting (MWWorld::Ptr soulgem)
 
virtual void resetReference ()
 
- Public Member Functions inherited from MWGui::WindowBase
 WindowBase (const std::string &parLayout)
 
virtual void close ()
 Notify that window has been hidden. 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 ()
 
- 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 Member Functions inherited from MWGui::ReferenceInterface
 ReferenceInterface ()
 
virtual ~ReferenceInterface ()
 
void checkReferenceAvailable ()
 closes the window, if the MW-reference has become unavailable More...
 
- Public Member Functions inherited from MWGui::EffectEditorBase
 EffectEditorBase (Type type)
 
virtual ~EffectEditorBase ()
 
void setConstantEffect (bool constant)
 

Protected Member Functions

virtual void onReferenceUnavailable ()
 called when reference has become unavailable More...
 
virtual void notifyEffectsChanged ()
 
void onCancelButtonClicked (MyGUI::Widget *sender)
 
void onSelectItem (MyGUI::Widget *sender)
 
void onSelectSoul (MyGUI::Widget *sender)
 
void onItemSelected (MWWorld::Ptr item)
 
void onItemCancel ()
 
void onSoulSelected (MWWorld::Ptr item)
 
void onSoulCancel ()
 
void onBuyButtonClicked (MyGUI::Widget *sender)
 
void updateLabels ()
 
void onTypeButtonClicked (MyGUI::Widget *sender)
 
- Protected Member Functions inherited from MWGui::EffectEditorBase
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)
 

Protected Attributes

ItemSelectionDialogmItemSelectionDialog
 
MyGUI::Button * mCancelButton
 
ItemWidgetmItemBox
 
ItemWidgetmSoulBox
 
MyGUI::Button * mTypeButton
 
MyGUI::Button * mBuyButton
 
MyGUI::TextBox * mName
 
MyGUI::TextBox * mEnchantmentPoints
 
MyGUI::TextBox * mCastCost
 
MyGUI::TextBox * mCharge
 
MyGUI::TextBox * mPrice
 
MyGUI::TextBox * mPriceText
 
MWMechanics::Enchanting mEnchanting
 
ESM::EffectList mEffectList
 
- Protected Attributes inherited from MWGui::Layout
std::string mPrefix
 
std::string mLayoutName
 
MyGUI::VectorWidgetPtr mListWindowRoot
 
- Protected Attributes inherited from MWGui::ReferenceInterface
MWWorld::Ptr mPtr
 
- Protected Attributes inherited from MWGui::EffectEditorBase
std::map< int, short > mButtonMapping
 
Gui::MWListmAvailableEffectsList
 
MyGUI::ScrollView * mUsedEffectsView
 
EditEffectDialog mAddEffectDialog
 
SelectAttributeDialogmSelectAttributeDialog
 
SelectSkillDialogmSelectSkillDialog
 
int mSelectedEffect
 
short mSelectedKnownEffectId
 
bool mConstantEffect
 
std::vector< ESM::ENAMstructmEffects
 

Additional Inherited Members

- Public Types inherited from MWGui::WindowBase
typedef
MyGUI::delegates::CMultiDelegate1
< WindowBase * > 
EventHandle_WindowBase
 
- Public Types inherited from MWGui::EffectEditorBase
enum  Type { Spellmaking, Enchanting }
 
- Public Attributes inherited from MWGui::Layout
MyGUI::Widget * mMainWidget
 

Constructor & Destructor Documentation

MWGui::EnchantingDialog::EnchantingDialog ( )

Here is the call graph for this function:

MWGui::EnchantingDialog::~EnchantingDialog ( )
virtual

Member Function Documentation

void MWGui::EnchantingDialog::exit ( )
virtual

Gracefully exits the window.

Reimplemented from MWGui::WindowBase.

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EnchantingDialog::notifyEffectsChanged ( )
protectedvirtual

Reimplemented from MWGui::EffectEditorBase.

Here is the call graph for this function:

void MWGui::EnchantingDialog::onBuyButtonClicked ( MyGUI::Widget *  sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EnchantingDialog::onItemCancel ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EnchantingDialog::onItemSelected ( MWWorld::Ptr  item)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EnchantingDialog::onReferenceUnavailable ( )
protectedvirtual

called when reference has become unavailable

Implements MWGui::ReferenceInterface.

Here is the call graph for this function:

void MWGui::EnchantingDialog::onSelectItem ( MyGUI::Widget *  sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EnchantingDialog::onSelectSoul ( MyGUI::Widget *  sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EnchantingDialog::onSoulCancel ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EnchantingDialog::onSoulSelected ( MWWorld::Ptr  item)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EnchantingDialog::onTypeButtonClicked ( MyGUI::Widget *  sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EnchantingDialog::open ( )
virtual

Notify that window has been made visible.

Reimplemented from MWGui::WindowBase.

Here is the call graph for this function:

void MWGui::EnchantingDialog::resetReference ( )
virtual

Reimplemented from MWGui::ReferenceInterface.

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EnchantingDialog::setItem ( const MWWorld::Ptr item)

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EnchantingDialog::setSoulGem ( const MWWorld::Ptr gem)

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EnchantingDialog::startEnchanting ( MWWorld::Ptr  actor)

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EnchantingDialog::startSelfEnchanting ( MWWorld::Ptr  soulgem)

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::EnchantingDialog::updateLabels ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

MyGUI::Button* MWGui::EnchantingDialog::mBuyButton
protected
MyGUI::Button* MWGui::EnchantingDialog::mCancelButton
protected
MyGUI::TextBox* MWGui::EnchantingDialog::mCastCost
protected
MyGUI::TextBox* MWGui::EnchantingDialog::mCharge
protected
ESM::EffectList MWGui::EnchantingDialog::mEffectList
protected
MWMechanics::Enchanting MWGui::EnchantingDialog::mEnchanting
protected
MyGUI::TextBox* MWGui::EnchantingDialog::mEnchantmentPoints
protected
ItemWidget* MWGui::EnchantingDialog::mItemBox
protected
ItemSelectionDialog* MWGui::EnchantingDialog::mItemSelectionDialog
protected
MyGUI::TextBox* MWGui::EnchantingDialog::mName
protected
MyGUI::TextBox* MWGui::EnchantingDialog::mPrice
protected
MyGUI::TextBox* MWGui::EnchantingDialog::mPriceText
protected
ItemWidget* MWGui::EnchantingDialog::mSoulBox
protected
MyGUI::Button* MWGui::EnchantingDialog::mTypeButton
protected

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