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

#include <actionmenu.h>

Inheritance diagram for Stark::ActionMenu:
Collaboration diagram for Stark::ActionMenu:

List of all members.

Classes

struct  ActionButton

Public Member Functions

 ActionMenu (Gfx::Driver *gfx, Cursor *cursor)
 ~ActionMenu () override
void setInventory (InventoryWindow *inventory)
void open (Resources::ItemVisual *item, const Common::Point &itemRelativePos)
void close ()
void onScreenChanged ()

Protected Member Functions

Common::Rect computePosition (const Common::Point &mouse) const
void onMouseMove (const Common::Point &pos) override
void onClick (const Common::Point &pos) override
void onGameLoop () override
void onRender () override

Private Types

enum  ActionMenuType { kActionHand = 0, kActionEye = 1, kActionMouth = 2 }

Private Member Functions

void clearActions ()
void enableAction (uint32 action)

Private Attributes

bool _fromInventory
ActionButton _buttons [3]
VisualImageXMG_background
VisualText_itemDescription
Common::Point _itemRelativePos
Resources::ItemVisual_item
InventoryWindow_inventory
int32 _autoCloseTimeRemaining

Detailed Description

Definition at line 40 of file actionmenu.h.


Member Enumeration Documentation

Enumerator:
kActionHand 
kActionEye 
kActionMouth 

Definition at line 64 of file actionmenu.h.


Constructor & Destructor Documentation

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

Definition at line 54 of file actionmenu.cpp.

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

Definition at line 80 of file actionmenu.cpp.


Member Function Documentation

void Stark::ActionMenu::clearActions (  )  [private]

Definition at line 156 of file actionmenu.cpp.

void Stark::ActionMenu::close (  ) 

Definition at line 117 of file actionmenu.cpp.

Common::Rect Stark::ActionMenu::computePosition ( const Common::Point mouse  )  const [protected]

Definition at line 122 of file actionmenu.cpp.

void Stark::ActionMenu::enableAction ( uint32  action  )  [private]

Definition at line 162 of file actionmenu.cpp.

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

Reimplemented from Stark::Window.

Definition at line 188 of file actionmenu.cpp.

void Stark::ActionMenu::onGameLoop (  )  [override, protected, virtual]

Reimplemented from Stark::Window.

Definition at line 214 of file actionmenu.cpp.

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

Reimplemented from Stark::Window.

Definition at line 171 of file actionmenu.cpp.

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

Implements Stark::Window.

Definition at line 136 of file actionmenu.cpp.

void Stark::ActionMenu::onScreenChanged (  ) 

Definition at line 227 of file actionmenu.cpp.

void Stark::ActionMenu::open ( Resources::ItemVisual item,
const Common::Point itemRelativePos 
)

Definition at line 84 of file actionmenu.cpp.

void Stark::ActionMenu::setInventory ( InventoryWindow inventory  ) 

Definition at line 210 of file actionmenu.cpp.


Member Data Documentation

Definition at line 87 of file actionmenu.h.

Definition at line 79 of file actionmenu.h.

Definition at line 77 of file actionmenu.h.

Definition at line 76 of file actionmenu.h.

Definition at line 85 of file actionmenu.h.

Definition at line 83 of file actionmenu.h.

Definition at line 80 of file actionmenu.h.

Definition at line 82 of file actionmenu.h.


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


Generated on Sat Jul 13 2019 05:04:50 for ResidualVM by doxygen 1.7.1
curved edge   curved edge