OpenMW
|
#include <mapwindow.hpp>
Public Member Functions | |
MapWindow (const std::string &cacheDir) | |
virtual | ~MapWindow () |
void | setCellName (const std::string &cellName) |
void | renderGlobalMap (Loading::Listener *loadingListener) |
void | addVisitedLocation (const std::string &name, int x, int y) |
void | cellExplored (int x, int y) |
void | setGlobalMapPlayerPosition (float worldX, float worldY) |
virtual void | open () |
Protected Member Functions | |
virtual void | onPinToggled () |
virtual void | notifyPlayerUpdate () |
virtual void | notifyMapChanged () |
Private Member Functions | |
void | onDragStart (MyGUI::Widget *_sender, int _left, int _top, MyGUI::MouseButton _id) |
void | onMouseDrag (MyGUI::Widget *_sender, int _left, int _top, MyGUI::MouseButton _id) |
void | onWorldButtonClicked (MyGUI::Widget *_sender) |
void | globalMapUpdatePlayer () |
Private Attributes | |
MyGUI::ScrollView * | mGlobalMap |
MyGUI::ImageBox * | mGlobalMapImage |
MyGUI::ImageBox * | mGlobalMapOverlay |
MyGUI::ImageBox * | mPlayerArrowLocal |
MyGUI::ImageBox * | mPlayerArrowGlobal |
MyGUI::Button * | mButton |
MyGUI::IntPoint | mLastDragPos |
bool | mGlobal |
MyGUI::Button * | mEventBoxGlobal |
MyGUI::Button * | mEventBoxLocal |
MWRender::GlobalMap * | mGlobalMapRender |
MWGui::MapWindow::MapWindow | ( | const std::string & | cacheDir | ) |
MWGui::MapWindow::~MapWindow | ( | ) | [virtual] |
void MWGui::MapWindow::addVisitedLocation | ( | const std::string & | name, |
int | x, | ||
int | y | ||
) |
void MWGui::MapWindow::cellExplored | ( | int | x, |
int | y | ||
) |
void MWGui::MapWindow::globalMapUpdatePlayer | ( | ) | [private] |
void MWGui::MapWindow::notifyMapChanged | ( | ) | [protected, virtual] |
Reimplemented from MWGui::LocalMapBase.
void MWGui::MapWindow::notifyPlayerUpdate | ( | ) | [protected, virtual] |
Reimplemented from MWGui::LocalMapBase.
void MWGui::MapWindow::onDragStart | ( | MyGUI::Widget * | _sender, |
int | _left, | ||
int | _top, | ||
MyGUI::MouseButton | _id | ||
) | [private] |
void MWGui::MapWindow::onMouseDrag | ( | MyGUI::Widget * | _sender, |
int | _left, | ||
int | _top, | ||
MyGUI::MouseButton | _id | ||
) | [private] |
void MWGui::MapWindow::onPinToggled | ( | ) | [protected, virtual] |
Implements MWGui::WindowPinnableBase.
void MWGui::MapWindow::onWorldButtonClicked | ( | MyGUI::Widget * | _sender | ) | [private] |
void MWGui::MapWindow::open | ( | ) | [virtual] |
Reimplemented from MWGui::WindowBase.
void MWGui::MapWindow::renderGlobalMap | ( | Loading::Listener * | loadingListener | ) |
void MWGui::MapWindow::setCellName | ( | const std::string & | cellName | ) |
void MWGui::MapWindow::setGlobalMapPlayerPosition | ( | float | worldX, |
float | worldY | ||
) |
MyGUI::Button* MWGui::MapWindow::mButton [private] |
MyGUI::Button* MWGui::MapWindow::mEventBoxGlobal [private] |
MyGUI::Button* MWGui::MapWindow::mEventBoxLocal [private] |
bool MWGui::MapWindow::mGlobal [private] |
MyGUI::ScrollView* MWGui::MapWindow::mGlobalMap [private] |
MyGUI::ImageBox* MWGui::MapWindow::mGlobalMapImage [private] |
MyGUI::ImageBox* MWGui::MapWindow::mGlobalMapOverlay [private] |
MyGUI::IntPoint MWGui::MapWindow::mLastDragPos [private] |
MyGUI::ImageBox* MWGui::MapWindow::mPlayerArrowGlobal [private] |
MyGUI::ImageBox* MWGui::MapWindow::mPlayerArrowLocal [private] |