1 #ifndef MWGUI_SpellBuyingWINDOW_H
2 #define MWGUI_SpellBuyingWINDOW_H
41 void addSpell(
const std::string& spellID);
void startSpellBuying(const MWWorld::Ptr &actor)
Definition: spellbuyingwindow.cpp:88
void clearSpells()
Definition: spellbuyingwindow.cpp:79
MyGUI::TextBox * mPlayerGold
Definition: spellbuyingwindow.hpp:32
std::map< MyGUI::Widget *, std::string > mSpellsWidgetMap
Definition: spellbuyingwindow.hpp:36
MyGUI::ScrollView * mSpellsView
Definition: spellbuyingwindow.hpp:34
void updateLabels()
Definition: spellbuyingwindow.cpp:159
void onSpellButtonClick(MyGUI::Widget *_sender)
Definition: spellbuyingwindow.cpp:132
SpellBuyingWindow()
Definition: spellbuyingwindow.cpp:24
bool playerHasSpell(const std::string &id)
Definition: spellbuyingwindow.cpp:126
static const int sLineHeight
Definition: spellbuyingwindow.hpp:45
MyGUI::Button * mCancelButton
Definition: spellbuyingwindow.hpp:31
void addSpell(const std::string &spellID)
Definition: spellbuyingwindow.cpp:43
void onMouseWheel(MyGUI::Widget *_sender, int _rel)
Definition: spellbuyingwindow.cpp:178
virtual void exit()
Gracefully exits the window.
Definition: spellbuyingwindow.cpp:38
Definition: windowbase.hpp:16
void onCancelButtonClicked(MyGUI::Widget *_sender)
Definition: spellbuyingwindow.cpp:154
int mCurrentY
Definition: spellbuyingwindow.hpp:43
int mLastPos
Definition: spellbuyingwindow.hpp:43
this class is intended for GUI interfaces that access an MW-Reference for example dialogue window acc...
Definition: referenceinterface.hpp:12
Pointer to a LiveCellRef.
Definition: ptr.hpp:19
virtual void onReferenceUnavailable()
called when reference has become unavailable
Definition: spellbuyingwindow.cpp:171
Definition: spellbuyingwindow.hpp:21