22 #ifndef TITANIC_PET_INVENTORY_GLYPHS_H 23 #define TITANIC_PET_INVENTORY_GLYPHS_H 25 #include "titanic/carry/carry.h" 26 #include "titanic/pet_control/pet_glyphs.h" 27 #include "titanic/support/screen_manager.h" 36 int populateItem(
CGameObject *item,
bool isLoading);
43 int getItemIndex(
CGameObject *item,
bool isLoading);
48 void startRepeatedMovie();
54 void startSingularMovie();
64 void reposition(
const Point &pt);
72 _repeated(
nullptr), _singular(
nullptr) {}
74 _active(active), _repeated(
nullptr), _singular(
nullptr) {}
79 void enter()
override;
84 void leave()
override;
119 bool isValid()
const override {
return _item && _repeated; }
Definition: mouse_messages.h:150
Definition: pet_inventory_glyphs.h:31
Definition: text_control.h:35
Definition: pet_inventory_glyphs.h:137
void setItem(CGameObject *item, bool isLoading)
bool dragGlyph(const Point &topLeft, CMouseDragStartMsg *msg) override
void drawAt(CScreenManager *screenManager, const Point &pt, bool isHighlighted) override
void getTooltip(CTextControl *text) override
bool isHighlighted() const
void highlightCurrent(const Point &pt) override
void glyphFocused(const Point &topLeft, bool flag) override
Definition: screen_manager.h:49
Definition: game_object.h:79
Definition: pet_glyphs.h:53
Definition: pet_glyphs.h:244
void unhighlightCurrent() override
bool isValid() const override
Definition: pet_inventory_glyphs.h:119
CGameObject * getObjectAt() override
Definition: pet_inventory_glyphs.h:124
bool doAction(CGlyphAction *action) override
Definition: pet_inventory_glyphs.h:145
Definition: pet_glyphs.h:43