OpenMW
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
MWGui::TravelWindow Class Reference

#include <travelwindow.hpp>

List of all members.

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

Constructor & Destructor Documentation


Member Function Documentation

void MWGui::TravelWindow::addDestination ( const std::string &  destinationID,
ESM::Position  pos,
bool  interior 
) [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::updateLabels ( ) [protected]

Member Data Documentation

MyGUI::Button* MWGui::TravelWindow::mCancelButton [protected]
MyGUI::TextBox* MWGui::TravelWindow::mDestinations [protected]
MyGUI::ScrollView* MWGui::TravelWindow::mDestinationsView [protected]
std::map<MyGUI::Widget*, std::string> MWGui::TravelWindow::mDestinationsWidgetMap [protected]
MyGUI::TextBox* MWGui::TravelWindow::mPlayerGold [protected]
MyGUI::TextBox* MWGui::TravelWindow::mSelect [protected]
const int MWGui::TravelWindow::sLineHeight = 18 [static, protected]

The documentation for this class was generated from the following files: