ScummVM API documentation
Titanic::CPetInventoryGlyphs Class Reference
Inheritance diagram for Titanic::CPetInventoryGlyphs:
Titanic::CPetGlyphs Titanic::List< CPetGlyph > Titanic::CSaveableObject Common::List< CPetGlyph *>

Public Member Functions

bool doAction (CInventoryGlyphAction *item)
 
- Public Member Functions inherited from Titanic::CPetGlyphs
void setNumVisible (int total)
 
void clear ()
 
virtual void setup (int numVisible, CPetSection *owner)
 
virtual void reset ()
 
virtual void enter ()
 
virtual void leave ()
 
void setFlags (int flags)
 
void draw (CScreenManager *screenManager)
 
void highlight (int index)
 
void highlight (const CPetGlyph *glyph)
 
CPetSectiongetOwner () const
 
CPetControlgetPetControl () const
 
bool MouseButtonDownMsg (const Point &pt)
 
bool MouseButtonUpMsg (const Point &pt)
 
bool MouseDoubleClickMsg (const Point &pt)
 
bool MouseDragStartMsg (CMouseDragStartMsg *msg)
 
bool MouseDragMoveMsg (CMouseDragMoveMsg *msg)
 
bool MouseDragEndMsg (CMouseDragEndMsg *msg)
 
bool KeyCharMsg (int key)
 
bool VirtualKeyCharMsg (CVirtualKeyCharMsg *msg)
 
bool enterHighlighted ()
 
void leaveHighlighted ()
 
void startDragging (CPetGlyph *glyph, CMouseDragStartMsg *msg)
 
void endDragging ()
 
void resetHighlight ()
 
bool highlighted14 ()
 
int indexOf (const CPetGlyph *glyph) const
 
void scrollToStart ()
 
void scrollLeft ()
 
void scrollRight ()
 
void incSelection ()
 
void decSelection ()
 
CGameObjectgetObjectAt (const Point &pt) const
 
bool isGlyphHighlighted (const CPetGlyph *glyph) const
 
int getHighlightIndex () const
 
Point getHighlightedGlyphPos () const
 
void removeInvalid ()
 
- Public Member Functions inherited from Titanic::List< CPetGlyph >
void save (SimpleFile *file, int indent) override
 
void load (SimpleFile *file) override
 
void destroyContents ()
 
CPetGlyphadd ()
 
bool contains (const CPetGlyph *item) const
 
- Public Member Functions inherited from Titanic::CSaveableObject
virtual ClassDefgetType () const
 
bool isInstanceOf (const ClassDef *classDef) const
 
virtual void saveHeader (SimpleFile *file, int indent)
 
virtual void saveFooter (SimpleFile *file, int indent)
 
- Public Member Functions inherited from Common::List< CPetGlyph *>
constexpr List ()
 
 List (const List< CPetGlyph * > &list)
 
iterator insert (iterator pos, const CPetGlyph * &element)
 
void insert (iterator pos, iterator2 first, iterator2 last)
 
iterator erase (iterator pos)
 
iterator erase (iterator first, iterator last)
 
iterator reverse_erase (iterator pos)
 
void remove (const CPetGlyph * &val)
 
void push_front (const CPetGlyph * &element)
 
void push_back (const CPetGlyph * &element)
 
void pop_front ()
 
void pop_back ()
 
CPetGlyph * & front ()
 
const CPetGlyph * & front () const
 
CPetGlyph * & back ()
 
const CPetGlyph * & back () const
 
List< CPetGlyph * > & operator= (const List< CPetGlyph * > &list)
 
size_type size () const
 
void clear ()
 
bool empty () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator reverse_begin ()
 
const_iterator reverse_begin () const
 
iterator end ()
 
const_iterator end () const
 

Additional Inherited Members

- Public Types inherited from Common::List< CPetGlyph *>
typedef ListInternal::Iterator< CPetGlyph * > iterator
 
typedef ListInternal::ConstIterator< CPetGlyph * > const_iterator
 
typedef CPetGlyph * value_type
 
typedef uint size_type
 
- Static Public Member Functions inherited from Titanic::CSaveableObject
static void initClassList ()
 
static void freeClassList ()
 
static CSaveableObjectcreateInstance (const Common::String &name)
 
- Static Public Attributes inherited from Titanic::CSaveableObject
static ClassDef_type
 
- Protected Types inherited from Common::List< CPetGlyph *>
typedef ListInternal::NodeBase NodeBase
 
typedef ListInternal::Node< CPetGlyph * > Node
 
- Protected Member Functions inherited from Titanic::CPetGlyphs
void changeHighlight (int index)
 
- Protected Member Functions inherited from Common::List< CPetGlyph *>
void insert (NodeBase *pos, const CPetGlyph * &element)
 
NodeBase erase (NodeBase *pos)
 
- Protected Attributes inherited from Titanic::CPetGlyphs
int _firstVisibleIndex
 
int _totalGlyphs
 
int _numVisibleGlyphs
 
int _highlightIndex
 
int _field1C
 
int _flags
 
CPetGlyph_dragGlyph
 
CPetSection_owner
 
CPetGfxElement _selection
 
CPetGfxElement _scrollLeft
 
CPetGfxElement _scrollRight
 
- Protected Attributes inherited from Common::List< CPetGlyph *>
NodeBase _anchor
 

Member Function Documentation

◆ doAction()

bool Titanic::CPetInventoryGlyphs::doAction ( CInventoryGlyphAction item)

Do an action on the glyphs


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