mirror of
https://github.com/OpenMW/openmw.git
synced 2025-11-29 12: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(mPrice, "PriceLabel");
|
||||
getWidget(mPriceText, "PriceTextLabel");
|
||||
getWidget(mPlayerGold, "PlayerGold");
|
||||
|
||||
setWidgets(mAvailableEffectsList, mUsedEffectsView);
|
||||
|
||||
mCancelButton->eventMouseButtonClick += MyGUI::newDelegate(this, &EnchantingDialog::onCancelButtonClicked);
|
||||
|
|
@ -65,10 +65,6 @@ namespace MWGui
|
|||
{
|
||||
center();
|
||||
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)
|
||||
|
|
|
|||
|
|
@ -70,7 +70,6 @@ namespace MWGui
|
|||
MyGUI::TextBox* mSuccessChance;
|
||||
MyGUI::TextBox* mPrice;
|
||||
MyGUI::TextBox* mPriceText;
|
||||
MyGUI::TextBox* mPlayerGold;
|
||||
|
||||
MWMechanics::Enchanting mEnchanting;
|
||||
ESM::EffectList mEffectList;
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@
|
|||
|
||||
namespace
|
||||
{
|
||||
|
||||
bool sortMagicEffects(short id1, short id2)
|
||||
{
|
||||
const MWWorld::Store<ESM::GameSetting>& gmst
|
||||
|
|
|
|||
Loading…
Reference in a new issue