OpenMW
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
MWGui::MapWindow Class Reference

#include <mapwindow.hpp>

List of all members.

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::GlobalMapmGlobalMapRender

Constructor & Destructor Documentation

MWGui::MapWindow::MapWindow ( const std::string &  cacheDir)

Member Function Documentation

void MWGui::MapWindow::addVisitedLocation ( const std::string &  name,
int  x,
int  y 
)
void MWGui::MapWindow::cellExplored ( int  x,
int  y 
)
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]
void MWGui::MapWindow::onWorldButtonClicked ( MyGUI::Widget *  _sender) [private]
void MWGui::MapWindow::open ( ) [virtual]

Reimplemented from MWGui::WindowBase.

void MWGui::MapWindow::setCellName ( const std::string &  cellName)
void MWGui::MapWindow::setGlobalMapPlayerPosition ( float  worldX,
float  worldY 
)

Member Data Documentation

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]

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