1 #ifndef MWGUI_SpellBuyingWINDOW_H
2 #define MWGUI_SpellBuyingWINDOW_H
7 #include "../mwworld/esmstore.hpp"
void clearSpells()
Definition: spellbuyingwindow.cpp:77
MyGUI::TextBox * mPlayerGold
Definition: spellbuyingwindow.hpp:38
std::map< MyGUI::Widget *, std::string > mSpellsWidgetMap
Definition: spellbuyingwindow.hpp:42
MyGUI::ScrollView * mSpellsView
Definition: spellbuyingwindow.hpp:40
void updateLabels()
Definition: spellbuyingwindow.cpp:174
Definition: loadspel.hpp:14
void onSpellButtonClick(MyGUI::Widget *_sender)
Definition: spellbuyingwindow.cpp:147
void clear()
Clear any state specific to the running game.
Definition: spellbuyingwindow.hpp:32
void setPtr(const MWWorld::Ptr &actor)
Open this object in the GUI, for windows that support it.
Definition: spellbuyingwindow.cpp:86
SpellBuyingWindow()
Definition: spellbuyingwindow.cpp:21
bool playerHasSpell(const std::string &id)
Definition: spellbuyingwindow.cpp:141
void center()
Definition: windowbase.cpp:49
MyGUI::Button * mCancelButton
Definition: spellbuyingwindow.hpp:37
void onMouseWheel(MyGUI::Widget *_sender, int _rel)
Definition: spellbuyingwindow.cpp:193
void checkReferenceAvailable()
closes the window, if the MW-reference has become unavailable
Definition: referenceinterface.cpp:13
Definition: windowbase.hpp:21
void onCancelButtonClicked(MyGUI::Widget *_sender)
Definition: spellbuyingwindow.cpp:169
int mCurrentY
Definition: spellbuyingwindow.hpp:49
this class is intended for GUI interfaces that access an MW-Reference for example dialogue window acc...
Definition: referenceinterface.hpp:12
static bool sortSpells(const ESM::Spell *left, const ESM::Spell *right)
Definition: spellbuyingwindow.cpp:32
void onFrame(float dt)
Called every frame if the window is in an active GUI mode.
Definition: spellbuyingwindow.hpp:31
void addSpell(const ESM::Spell &spell)
Definition: spellbuyingwindow.cpp:40
Pointer to a LiveCellRef.
Definition: ptr.hpp:19
virtual void onReferenceUnavailable()
called when reference has become unavailable
Definition: spellbuyingwindow.cpp:186
Definition: spellbuyingwindow.hpp:23
virtual void resetReference()
Definition: referenceinterface.hpp:20
void onResChange(int, int)
Called when GUI viewport changes size.
Definition: spellbuyingwindow.hpp:34