mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 12:49:56 +00:00
31 lines
667 B
C++
31 lines
667 B
C++
#ifndef MWGUI_ENCHANTINGDIALOG_H
|
|
#define MWGUI_ENCHANTINGDIALOG_H
|
|
|
|
#include "window_base.hpp"
|
|
#include "referenceinterface.hpp"
|
|
#include "spellcreationdialog.hpp"
|
|
|
|
#include "../mwbase/windowmanager.hpp"
|
|
|
|
namespace MWGui
|
|
{
|
|
|
|
class EnchantingDialog : public WindowBase, public ReferenceInterface, public EffectEditorBase
|
|
{
|
|
public:
|
|
EnchantingDialog(MWBase::WindowManager& parWindowManager);
|
|
|
|
virtual void open();
|
|
void startEnchanting(MWWorld::Ptr actor);
|
|
|
|
protected:
|
|
virtual void onReferenceUnavailable();
|
|
|
|
void onCancelButtonClicked(MyGUI::Widget* sender);
|
|
|
|
MyGUI::Button* mCancelButton;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|