|
OpenMW
|
#include <spellbuyingwindow.hpp>
Public Member Functions | |
| SpellBuyingWindow () | |
| void | startSpellBuying (const MWWorld::Ptr &actor) |
Protected Member Functions | |
| void | onCancelButtonClicked (MyGUI::Widget *_sender) |
| void | onSpellButtonClick (MyGUI::Widget *_sender) |
| void | onMouseWheel (MyGUI::Widget *_sender, int _rel) |
| void | addSpell (const std::string &spellID) |
| void | clearSpells () |
| void | updateLabels () |
| virtual void | onReferenceUnavailable () |
| called when reference has become unavailable | |
| bool | playerHasSpell (const std::string &id) |
Protected Attributes | |
| MyGUI::Button * | mCancelButton |
| MyGUI::TextBox * | mPlayerGold |
| MyGUI::ScrollView * | mSpellsView |
| std::map< MyGUI::Widget *, std::string > | mSpellsWidgetMap |
| int | mLastPos |
| int | mCurrentY |
Static Protected Attributes | |
| static const int | sLineHeight = 18 |
| void MWGui::SpellBuyingWindow::addSpell | ( | const std::string & | spellID | ) | [protected] |
| void MWGui::SpellBuyingWindow::clearSpells | ( | ) | [protected] |
| void MWGui::SpellBuyingWindow::onCancelButtonClicked | ( | MyGUI::Widget * | _sender | ) | [protected] |
| void MWGui::SpellBuyingWindow::onMouseWheel | ( | MyGUI::Widget * | _sender, |
| int | _rel | ||
| ) | [protected] |
| void MWGui::SpellBuyingWindow::onReferenceUnavailable | ( | ) | [protected, virtual] |
called when reference has become unavailable
Implements MWGui::ReferenceInterface.
| void MWGui::SpellBuyingWindow::onSpellButtonClick | ( | MyGUI::Widget * | _sender | ) | [protected] |
| bool MWGui::SpellBuyingWindow::playerHasSpell | ( | const std::string & | id | ) | [protected] |
| void MWGui::SpellBuyingWindow::startSpellBuying | ( | const MWWorld::Ptr & | actor | ) |
| void MWGui::SpellBuyingWindow::updateLabels | ( | ) | [protected] |
MyGUI::Button* MWGui::SpellBuyingWindow::mCancelButton [protected] |
int MWGui::SpellBuyingWindow::mCurrentY [protected] |
int MWGui::SpellBuyingWindow::mLastPos [protected] |
MyGUI::TextBox* MWGui::SpellBuyingWindow::mPlayerGold [protected] |
MyGUI::ScrollView* MWGui::SpellBuyingWindow::mSpellsView [protected] |
std::map<MyGUI::Widget*, std::string> MWGui::SpellBuyingWindow::mSpellsWidgetMap [protected] |
const int MWGui::SpellBuyingWindow::sLineHeight = 18 [static, protected] |
1.7.6.1