mirror of
https://github.com/OpenMW/openmw.git
synced 2025-11-29 16:34:30 +00:00
Remove enchanting dialog, missing empty lines
This commit is contained in:
parent
fce73395e5
commit
30e5e17e4c
3 changed files with 2 additions and 6 deletions
|
|
@ -50,7 +50,7 @@ namespace MWGui
|
||||||
getWidget(mBuyButton, "BuyButton");
|
getWidget(mBuyButton, "BuyButton");
|
||||||
getWidget(mPrice, "PriceLabel");
|
getWidget(mPrice, "PriceLabel");
|
||||||
getWidget(mPriceText, "PriceTextLabel");
|
getWidget(mPriceText, "PriceTextLabel");
|
||||||
getWidget(mPlayerGold, "PlayerGold");
|
|
||||||
setWidgets(mAvailableEffectsList, mUsedEffectsView);
|
setWidgets(mAvailableEffectsList, mUsedEffectsView);
|
||||||
|
|
||||||
mCancelButton->eventMouseButtonClick += MyGUI::newDelegate(this, &EnchantingDialog::onCancelButtonClicked);
|
mCancelButton->eventMouseButtonClick += MyGUI::newDelegate(this, &EnchantingDialog::onCancelButtonClicked);
|
||||||
|
|
@ -65,10 +65,6 @@ namespace MWGui
|
||||||
{
|
{
|
||||||
center();
|
center();
|
||||||
MWBase::Environment::get().getWindowManager()->setKeyFocusWidget(mName);
|
MWBase::Environment::get().getWindowManager()->setKeyFocusWidget(mName);
|
||||||
|
|
||||||
MWWorld::Ptr player = MWMechanics::getPlayer();
|
|
||||||
int playerGold = player.getClass().getContainerStore(player).count(MWWorld::ContainerStore::sGoldId);
|
|
||||||
mPlayerGold->setCaptionWithReplacing(MyGUI::utility::toString(playerGold));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void EnchantingDialog::setSoulGem(const MWWorld::Ptr& gem)
|
void EnchantingDialog::setSoulGem(const MWWorld::Ptr& gem)
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,6 @@ namespace MWGui
|
||||||
MyGUI::TextBox* mSuccessChance;
|
MyGUI::TextBox* mSuccessChance;
|
||||||
MyGUI::TextBox* mPrice;
|
MyGUI::TextBox* mPrice;
|
||||||
MyGUI::TextBox* mPriceText;
|
MyGUI::TextBox* mPriceText;
|
||||||
MyGUI::TextBox* mPlayerGold;
|
|
||||||
|
|
||||||
MWMechanics::Enchanting mEnchanting;
|
MWMechanics::Enchanting mEnchanting;
|
||||||
ESM::EffectList mEffectList;
|
ESM::EffectList mEffectList;
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
|
||||||
bool sortMagicEffects(short id1, short id2)
|
bool sortMagicEffects(short id1, short id2)
|
||||||
{
|
{
|
||||||
const MWWorld::Store<ESM::GameSetting>& gmst
|
const MWWorld::Store<ESM::GameSetting>& gmst
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue