forked from mirror/openmw-tes3mp
ac0c1ea986
Conflicts: apps/openmw/mwgui/dialogue.cpp
30 lines
560 B
C++
30 lines
560 B
C++
#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);
|
|
}
|
|
|
|
}
|