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

#include <topmenu.h>

Inheritance diagram for Stark::TopMenu:
Collaboration diagram for Stark::TopMenu:

List of all members.

Public Member Functions

 TopMenu (Gfx::Driver *gfx, Cursor *cursor)
 ~TopMenu () override
void onGameLoop () override
void onRender () override
void onMouseMove (const Common::Point &pos) override
void onClick (const Common::Point &pos) override
void onScreenChanged ()
 The screen resolution changed, rebuild the text textures accordingly.
void notifyInventoryItemEnabled (uint16 itemIndex)
 A new item has been added to the player's inventory.
void notifyDiaryEntryEnabled ()
 A new entry has been added to the player's diary.

Private Member Functions

ButtongetButtonAtPosition (const Common::Point &point) const
bool isAnimationPlaying () const
void updateAnimations ()

Private Attributes

bool _widgetsVisible
Button_inventoryButton
Button_exitButton
Button_optionsButton
int _newInventoryItemExplosionAnimTimeRemaining
int _newInventoryItemChestClosingAnimTimeRemaining
int _newDiaryEntryAnimTimeRemaining
Resources::Sound_inventoryNewItemSound

Detailed Description

Definition at line 40 of file topmenu.h.


Constructor & Destructor Documentation

Stark::TopMenu::TopMenu ( Gfx::Driver gfx,
Cursor cursor 
)

Definition at line 43 of file topmenu.cpp.

Stark::TopMenu::~TopMenu (  )  [override]

Definition at line 64 of file topmenu.cpp.


Member Function Documentation

Button * Stark::TopMenu::getButtonAtPosition ( const Common::Point point  )  const [private]

Definition at line 159 of file topmenu.cpp.

bool Stark::TopMenu::isAnimationPlaying (  )  const [private]

Definition at line 96 of file topmenu.cpp.

void Stark::TopMenu::notifyDiaryEntryEnabled (  ) 

A new entry has been added to the player's diary.

Play relevant animation

Definition at line 189 of file topmenu.cpp.

void Stark::TopMenu::notifyInventoryItemEnabled ( uint16  itemIndex  ) 

A new item has been added to the player's inventory.

Play relevant animation

Definition at line 177 of file topmenu.cpp.

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

Reimplemented from Stark::Window.

Definition at line 140 of file topmenu.cpp.

void Stark::TopMenu::onGameLoop (  )  [override, virtual]

Reimplemented from Stark::Window.

Definition at line 70 of file topmenu.cpp.

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

Reimplemented from Stark::Window.

Definition at line 126 of file topmenu.cpp.

void Stark::TopMenu::onRender (  )  [override, virtual]

Implements Stark::Window.

Definition at line 86 of file topmenu.cpp.

void Stark::TopMenu::onScreenChanged (  ) 

The screen resolution changed, rebuild the text textures accordingly.

Definition at line 171 of file topmenu.cpp.

void Stark::TopMenu::updateAnimations (  )  [private]

Definition at line 102 of file topmenu.cpp.


Member Data Documentation

Definition at line 68 of file topmenu.h.

Definition at line 67 of file topmenu.h.

Definition at line 73 of file topmenu.h.

Definition at line 72 of file topmenu.h.

Definition at line 69 of file topmenu.h.

Definition at line 65 of file topmenu.h.


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


Generated on Sat May 25 2019 05:06:43 for ResidualVM by doxygen 1.7.1
curved edge   curved edge