2012-09-27 06:47:47 +00:00
|
|
|
#ifndef MWGUI_ENCHANTINGDIALOG_H
|
|
|
|
#define MWGUI_ENCHANTINGDIALOG_H
|
|
|
|
|
|
|
|
#include "window_base.hpp"
|
|
|
|
#include "referenceinterface.hpp"
|
2012-10-03 13:36:10 +00:00
|
|
|
#include "spellcreationdialog.hpp"
|
2012-09-27 06:47:47 +00:00
|
|
|
|
|
|
|
#include "../mwbase/windowmanager.hpp"
|
|
|
|
|
|
|
|
namespace MWGui
|
|
|
|
{
|
|
|
|
|
2012-10-03 13:36:10 +00:00
|
|
|
class EnchantingDialog : public WindowBase, public ReferenceInterface, public EffectEditorBase
|
2012-09-27 06:47:47 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
EnchantingDialog(MWBase::WindowManager& parWindowManager);
|
|
|
|
|
|
|
|
virtual void open();
|
|
|
|
void startEnchanting(MWWorld::Ptr actor);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void onReferenceUnavailable();
|
2012-10-03 13:06:54 +00:00
|
|
|
|
|
|
|
void onCancelButtonClicked(MyGUI::Widget* sender);
|
|
|
|
|
|
|
|
MyGUI::Button* mCancelButton;
|
2012-09-27 06:47:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|