OpenMW
|
#include <travelwindow.hpp>
Public Member Functions | |
TravelWindow () | |
void | startTravel (const MWWorld::Ptr &actor) |
Protected Member Functions | |
void | onCancelButtonClicked (MyGUI::Widget *_sender) |
void | onTravelButtonClick (MyGUI::Widget *_sender) |
void | onMouseWheel (MyGUI::Widget *_sender, int _rel) |
void | addDestination (const std::string &destinationID, ESM::Position pos, bool interior) |
void | clearDestinations () |
void | updateLabels () |
virtual void | onReferenceUnavailable () |
called when reference has become unavailable | |
Protected Attributes | |
MyGUI::Button * | mCancelButton |
MyGUI::TextBox * | mPlayerGold |
MyGUI::TextBox * | mDestinations |
MyGUI::TextBox * | mSelect |
MyGUI::ScrollView * | mDestinationsView |
std::map< MyGUI::Widget *, std::string > | mDestinationsWidgetMap |
int | mLastPos |
int | mCurrentY |
Static Protected Attributes | |
static const int | sLineHeight = 18 |
void MWGui::TravelWindow::addDestination | ( | const std::string & | destinationID, |
ESM::Position | pos, | ||
bool | interior | ||
) | [protected] |
void MWGui::TravelWindow::clearDestinations | ( | ) | [protected] |
void MWGui::TravelWindow::onCancelButtonClicked | ( | MyGUI::Widget * | _sender | ) | [protected] |
void MWGui::TravelWindow::onMouseWheel | ( | MyGUI::Widget * | _sender, |
int | _rel | ||
) | [protected] |
void MWGui::TravelWindow::onReferenceUnavailable | ( | ) | [protected, virtual] |
called when reference has become unavailable
Implements MWGui::ReferenceInterface.
void MWGui::TravelWindow::onTravelButtonClick | ( | MyGUI::Widget * | _sender | ) | [protected] |
void MWGui::TravelWindow::startTravel | ( | const MWWorld::Ptr & | actor | ) |
void MWGui::TravelWindow::updateLabels | ( | ) | [protected] |
MyGUI::Button* MWGui::TravelWindow::mCancelButton [protected] |
int MWGui::TravelWindow::mCurrentY [protected] |
MyGUI::TextBox* MWGui::TravelWindow::mDestinations [protected] |
MyGUI::ScrollView* MWGui::TravelWindow::mDestinationsView [protected] |
std::map<MyGUI::Widget*, std::string> MWGui::TravelWindow::mDestinationsWidgetMap [protected] |
int MWGui::TravelWindow::mLastPos [protected] |
MyGUI::TextBox* MWGui::TravelWindow::mPlayerGold [protected] |
MyGUI::TextBox* MWGui::TravelWindow::mSelect [protected] |
const int MWGui::TravelWindow::sLineHeight = 18 [static, protected] |