#include "enchantingdialog.hpp" namespace MWGui { EnchantingDialog::EnchantingDialog(MWBase::WindowManager &parWindowManager) : WindowBase("openmw_enchanting_dialog.layout", parWindowManager) { } void EnchantingDialog::open() { center(); } void EnchantingDialog::startEnchanting (MWWorld::Ptr actor) { mPtr = actor; } void EnchantingDialog::onReferenceUnavailable () { mWindowManager.removeGuiMode (GM_Dialogue); mWindowManager.removeGuiMode (GM_Enchanting); } }