Public Member Functions | |
bool | reset () override |
bool | MouseButtonUpMsg (const Point &pt) override |
bool | KeyCharMsg (int key) override |
void | unhighlightCurrent () override |
void | highlightCurrent (const Point &pt) override |
void | getTooltip (CTextControl *text) override |
bool | enterHighlighted () override |
void | leaveHighlighted () override |
void | highlightSave (int index) override |
void | unhighlightSave (int index) override |
void | execute () override |
Public Member Functions inherited from Titanic::CPetLoadSave | |
bool | setup (CPetControl *petControl, CPetGlyphs *owner) override |
void | draw2 (CScreenManager *screenManager) override |
bool | MouseButtonDownMsg (const Point &pt) override |
virtual void | resetSaves () |
Public Member Functions inherited from Titanic::CPetGlyph | |
virtual void | enter () |
virtual void | leave () |
virtual void | drawAt (CScreenManager *screenManager, const Point &pt, bool isHighlighted) |
virtual void | updateTooltip () |
virtual Rect | getBounds () const |
virtual bool | MouseDragStartMsg (CMouseDragStartMsg *msg) |
virtual bool | MouseDragMoveMsg (CMouseDragMoveMsg *msg) |
virtual bool | MouseDragEndMsg (CMouseDragEndMsg *msg) |
virtual bool | MouseDoubleClickMsg (const CMouseDoubleClickMsg *msg) |
virtual bool | VirtualKeyCharMsg (CVirtualKeyCharMsg *msg) |
virtual void | glyphFocused (const Point &topLeft, bool flag) |
virtual void | selectGlyph (const Point &topLeft, const Point &pt) |
virtual bool | dragGlyph (const Point &topLeft, CMouseDragStartMsg *msg) |
virtual bool | contains (const Point &delta, const Point &pt) |
virtual void | saveGlyph (SimpleFile *file, int indent) |
virtual bool | proc33 (CPetGlyph *glyph) |
virtual bool | isValid () const |
virtual CGameObject * | getObjectAt () |
virtual bool | doAction (CGlyphAction *action) |
void | translate (const Point &pt) |
void | translateBack (const Point &pt) |
CPetGlyphs * | getOwner () |
CPetControl * | getPetControl () const |
void | setName (const CString &name, CPetControl *petControl) |
bool | isHighlighted () const |
Public Member Functions inherited from Titanic::ListItem | |
void | save (SimpleFile *file, int indent) override |
void | load (SimpleFile *file) override |
Public Member Functions inherited from Titanic::CSaveableObject | |
virtual ClassDef * | getType () const |
bool | isInstanceOf (const ClassDef *classDef) const |
virtual void | saveHeader (SimpleFile *file, int indent) |
virtual void | saveFooter (SimpleFile *file, int indent) |
Additional Inherited Members | |
Static Public Member Functions inherited from Titanic::CSaveableObject | |
static void | initClassList () |
static void | freeClassList () |
static CSaveableObject * | createInstance (const Common::String &name) |
Public Attributes inherited from Titanic::CPetGlyph | |
CPetGfxElement | _element |
CPetGlyphs * | _owner |
Public Attributes inherited from Titanic::ListItem | |
CLASSDEF | |
Static Public Attributes inherited from Titanic::CSaveableObject | |
static ClassDef * | _type |
Protected Member Functions inherited from Titanic::CPetLoadSave | |
void | resetSlots () |
void | highlightSlot (int index) |
Protected Member Functions inherited from Titanic::CPetGlyph | |
CPetSection * | getPetSection () const |
Protected Attributes inherited from Titanic::CPetLoadSave | |
CTextControl | _slotNames [5] |
bool | _slotInUse [5] |
CPetGfxElement | _btnLoadSave |
CPetGfxElement | _gutter |
Static Protected Attributes inherited from Titanic::CPetLoadSave | |
static int | _savegameSlotNum |
|
overridevirtual |
Reset the glyph
Reimplemented from Titanic::CPetLoadSave.
|
overridevirtual |
Handles mouse button up messages
Reimplemented from Titanic::CPetGlyph.
|
overridevirtual |
Handles keypresses when the glyph is focused
Reimplemented from Titanic::CPetLoadSave.
|
inlineoverridevirtual |
Unhighlight any currently highlighted element
Reimplemented from Titanic::CPetGlyph.
|
overridevirtual |
Highlight any currently highlighted element
Reimplemented from Titanic::CPetGlyph.
|
overridevirtual |
Returns the tooltip text for when the glyph is selected
Reimplemented from Titanic::CPetGlyph.
|
inlineoverridevirtual |
Called on a highlighted item when PET area is entered
Reimplemented from Titanic::CPetGlyph.
|
inlineoverridevirtual |
Called on a highlighted item when PET area is left
Reimplemented from Titanic::CPetGlyph.
|
overridevirtual |
Highlights a save slot
Implements Titanic::CPetLoadSave.
|
overridevirtual |
Unhighlight a save slot
Implements Titanic::CPetLoadSave.
|
overridevirtual |
Executes the loading or saving
Implements Titanic::CPetLoadSave.