ScummVM API documentation
M4::Burger::GUI::Inventory Class Reference
Inheritance diagram for M4::Burger::GUI::Inventory:
M4::Burger::GUI::RectClass

Public Member Functions

 Inventory (const RectClass &r, int32 sprite, int16 cells_h, int16 cells_v, int16 cell_w, int16 cell_h, int16 tag)
 
void draw (GrBuff *interface_buffer)
 
int16 inside (int16 x, int16 y) const override
 
ControlStatus track (int32 eventType, int16 x, int16 y)
 
bool add (const Common::String &name, const Common::String &verb, int32 cel, int32 cursor)
 
bool remove (const Common::String &name)
 
void highlight_part (int16 index)
 
bool need_left () const
 
bool need_right () const
 
void set_scroll (int32 new_scroll)
 
- Public Member Functions inherited from M4::Burger::GUI::RectClass
 RectClass (int16 x1, int16 y1, int16 x2, int16 y2)
 
 RectClass (const RectClass *)
 
void copyInto (RectClass *r) const
 
void set (int16 x1, int16 y1, int16 x2, int16 y2)
 
void set (const RectClass *r)
 

Public Attributes

int16 _scroll = 0
 
int16 _cells_h = 0
 
int16 _cells_v = 0
 
int16 _cell_w = 0
 
int16 _cell_h = 0
 
int16 _must_redraw1 = 0
 
int16 _must_redraw2 = 0
 
int16 _highlight = 0
 
bool _must_redraw_all = false
 
Entry _items [INVENTORY_CELLS_COUNT]
 
- Public Attributes inherited from M4::Burger::GUI::RectClass
int16 _x1 = 0
 
int16 _x2 = 0
 
int16 _y1 = 0
 
int16 _y2 = 0
 

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