ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <gamewindow.h>

Inheritance diagram for Stark::GameWindow:
Collaboration diagram for Stark::GameWindow:

List of all members.

Public Member Functions

 GameWindow (Gfx::Driver *gfx, Cursor *cursor, ActionMenu *actionMenu, InventoryWindow *inventory)
virtual ~GameWindow ()
void reset ()
 Clear the location dependent state.
void onScreenChanged ()
 Update when the screen resolution has changed.
void toggleExitDisplay ()
 Toggle the display of exit locations.

Protected Member Functions

void onMouseMove (const Common::Point &pos) override
void onClick (const Common::Point &pos) override
void onRightClick (const Common::Point &pos) override
void onDoubleClick (const Common::Point &pos) override
void onRender () override
void checkObjectAtPos (const Common::Point &pos, int16 selectedInventoryItem, int16 &singlePossibleAction, bool &isDefaultAction)

Protected Attributes

ActionMenu_actionMenu
InventoryWindow_inventory
Gfx::RenderEntryArray _renderEntries
Resources::ItemVisual_objectUnderCursor
Common::Point _objectRelativePosition
Gfx::FadeRenderer_fadeRenderer
VisualImageXMG_exitArrow
VisualImageXMG_exitArrowLeft
VisualImageXMG_exitArrowRight
int _exitLeftBoundary
int _exitRightBoundary
bool _displayExit

Detailed Description

Definition at line 40 of file gamewindow.h.


Constructor & Destructor Documentation

Stark::GameWindow::GameWindow ( Gfx::Driver gfx,
Cursor cursor,
ActionMenu actionMenu,
InventoryWindow inventory 
)

Definition at line 50 of file gamewindow.cpp.

Stark::GameWindow::~GameWindow (  )  [virtual]

Definition at line 70 of file gamewindow.cpp.


Member Function Documentation

void Stark::GameWindow::checkObjectAtPos ( const Common::Point pos,
int16  selectedInventoryItem,
int16 singlePossibleAction,
bool &  isDefaultAction 
) [protected]

Definition at line 223 of file gamewindow.cpp.

void Stark::GameWindow::onClick ( const Common::Point pos  )  [override, protected, virtual]

Reimplemented from Stark::Window.

Definition at line 168 of file gamewindow.cpp.

void Stark::GameWindow::onDoubleClick ( const Common::Point pos  )  [override, protected, virtual]

Reimplemented from Stark::Window.

Definition at line 212 of file gamewindow.cpp.

void Stark::GameWindow::onMouseMove ( const Common::Point pos  )  [override, protected, virtual]

Reimplemented from Stark::Window.

Definition at line 117 of file gamewindow.cpp.

void Stark::GameWindow::onRender (  )  [override, protected, virtual]

Implements Stark::Window.

Definition at line 74 of file gamewindow.cpp.

void Stark::GameWindow::onRightClick ( const Common::Point pos  )  [override, protected, virtual]

Reimplemented from Stark::Window.

Definition at line 198 of file gamewindow.cpp.

void Stark::GameWindow::onScreenChanged (  ) 

Update when the screen resolution has changed.

Definition at line 280 of file gamewindow.cpp.

void Stark::GameWindow::reset (  ) 

Clear the location dependent state.

Definition at line 273 of file gamewindow.cpp.

void Stark::GameWindow::toggleExitDisplay (  )  [inline]

Toggle the display of exit locations.

Definition at line 52 of file gamewindow.h.


Member Data Documentation

Definition at line 63 of file gamewindow.h.

Definition at line 75 of file gamewindow.h.

Definition at line 72 of file gamewindow.h.

Definition at line 72 of file gamewindow.h.

Definition at line 72 of file gamewindow.h.

Definition at line 73 of file gamewindow.h.

Definition at line 73 of file gamewindow.h.

Definition at line 70 of file gamewindow.h.

Definition at line 64 of file gamewindow.h.


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


Generated on Sat Mar 16 2019 05:06:57 for ResidualVM by doxygen 1.7.1
curved edge   curved edge