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

Stark::Resources::InventoryItem Class Reference

An inventory item. More...

#include <item.h>

Inheritance diagram for Stark::Resources::InventoryItem:
Collaboration diagram for Stark::Resources::InventoryItem:

List of all members.

Public Member Functions

 InventoryItem (Object *parent, byte subType, uint16 index, const Common::String &name)
virtual ~InventoryItem ()
Gfx::RenderEntrygetRenderEntry (const Common::Point &positionOffset) override
 Obtain the render entry to use to display the item.
void setEnabled (bool enabled) override
 Enable or disable the item.
VisualgetActionVisual (bool active) const
 Obtain an action menu icon.
VisualgetCursorVisual () const
 Obtain an inventory item cursor.

Detailed Description

An inventory item.

Definition at line 281 of file item.h.

Constructor & Destructor Documentation

Stark::Resources::InventoryItem::InventoryItem ( Object parent,
byte  subType,
uint16  index,
const Common::String name 

Definition at line 568 of file item.cpp.

Stark::Resources::InventoryItem::~InventoryItem (  )  [virtual]

Definition at line 565 of file item.cpp.

Member Function Documentation

Visual * Stark::Resources::InventoryItem::getActionVisual ( bool  active  )  const

Obtain an action menu icon.

Definition at line 606 of file item.cpp.

Visual * Stark::Resources::InventoryItem::getCursorVisual (  )  const

Obtain an inventory item cursor.

Definition at line 614 of file item.cpp.

Gfx::RenderEntry * Stark::Resources::InventoryItem::getRenderEntry ( const Common::Point positionOffset  )  [override, virtual]

Obtain the render entry to use to display the item.

Reimplemented from Stark::Resources::Item.

Definition at line 572 of file item.cpp.

void Stark::Resources::InventoryItem::setEnabled ( bool  enabled  )  [override, virtual]

Enable or disable the item.

Reimplemented from Stark::Resources::ItemVisual.

Definition at line 587 of file item.cpp.

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

Generated on Sat Aug 1 2020 05:04:29 for ResidualVM by doxygen 1.7.1
curved edge   curved edge