Public Member Functions | |
void | setup (PetElementMode mode, const CString &name, CPetControl *petControl) override |
void | reset (const CString &name, CPetControl *petControl, PetElementMode mode=MODE_UNSELECTED) override |
void | draw (CScreenManager *screenManager) override |
void | draw (CScreenManager *screenManager, const Common::Point &destPos) override |
Rect | getBounds () const override |
CGameObject * | getObject () const override |
const Rect & | getRawBounds () const |
Public Member Functions inherited from Titanic::CPetElement | |
virtual void | proc1 () |
virtual void | proc2 () |
virtual void | proc3 () |
virtual void | proc4 () |
virtual void | proc5 () |
virtual void | proc6 () |
virtual void | proc7 () |
virtual void | proc8 () |
virtual void | proc9 () |
virtual void | proc10 () |
virtual void | proc11 () |
virtual void | proc12 () |
virtual void | proc13 () |
virtual void | proc14 () |
virtual void | proc15 () |
virtual void | proc16 () |
virtual void | proc17 () |
virtual bool | MouseButtonDownMsg (const Point &pt) |
virtual bool | MouseButtonUpMsg (const Point &pt) |
virtual bool | MouseDoubleClickMsg (const Point &pt) const |
virtual bool | MouseMoveMsg (const Point &pt) |
virtual bool | contains2 (const Point &pt) const |
virtual void | playMovie (uint startFrame, uint endFrame) const |
virtual void | changeStatus (int newStatus) const |
virtual bool | hasActiveMovie () const |
virtual void | loadFrame (int frameNumber) |
virtual int | getMovieFrame () const |
virtual void | changeMode (PetElementMode newMode) |
void | setMode (PetElementMode mode) |
void | setSelected (bool flag) |
void | setBounds (const Rect &r) |
void | translate (int deltaX, int deltaY) |
void | translate (const Point &delta) |
Public Attributes | |
CGameObject * | _object0 |
CGameObject * | _object1 |
CGameObject * | _object2 |
Additional Inherited Members | |
Protected Attributes inherited from Titanic::CPetElement | |
int | _field4 |
int | _field8 |
int | _fieldC |
int | _field10 |
int | _field14 |
Rect | _bounds |
PetElementMode | _mode |
|
overridevirtual |
Setup the element
Reimplemented from Titanic::CPetElement.
|
overridevirtual |
Reset the element
Reimplemented from Titanic::CPetElement.
|
overridevirtual |
Draw the item
Reimplemented from Titanic::CPetElement.
|
overridevirtual |
Draw the item
Reimplemented from Titanic::CPetElement.
|
overridevirtual |
Get the bounds for the element
Reimplemented from Titanic::CPetElement.
|
overridevirtual |
Get the game object associated with this item
Reimplemented from Titanic::CPetElement.
|
inline |
Gets the explicit bounds set for the graphic element, ignoring any associated sub-object bounds