ScummVM API documentation
Titanic::CPetSound Class Reference
Inheritance diagram for Titanic::CPetSound:
Titanic::CPetGlyph Titanic::ListItem Titanic::CSaveableObject

Public Member Functions

bool setup (CPetControl *petControl, CPetGlyphs *owner) override
 
bool reset () override
 
void draw2 (CScreenManager *screenManager) override
 
bool MouseButtonDownMsg (const Point &pt) override
 
bool MouseDragStartMsg (CMouseDragStartMsg *msg) override
 
bool MouseDragMoveMsg (CMouseDragMoveMsg *msg) override
 
bool MouseDragEndMsg (CMouseDragEndMsg *msg) override
 
bool MouseButtonUpMsg (const Point &pt) override
 
void highlightCurrent (const Point &pt) override
 
void getTooltip (CTextControl *text) override
 
void setSliders ()
 
- 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 MouseDoubleClickMsg (const CMouseDoubleClickMsg *msg)
 
virtual bool KeyCharMsg (int key)
 
virtual bool VirtualKeyCharMsg (CVirtualKeyCharMsg *msg)
 
virtual void unhighlightCurrent ()
 
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 bool enterHighlighted ()
 
virtual void leaveHighlighted ()
 
virtual CGameObjectgetObjectAt ()
 
virtual bool doAction (CGlyphAction *action)
 
void translate (const Point &pt)
 
void translateBack (const Point &pt)
 
CPetGlyphsgetOwner ()
 
CPetControlgetPetControl () 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 ClassDefgetType () 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 CSaveableObjectcreateInstance (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::CPetGlyph
CPetSectiongetPetSection () const
 

Member Function Documentation

◆ setup()

bool Titanic::CPetSound::setup ( CPetControl petControl,
CPetGlyphs owner 
)
overridevirtual

Setup the glyph

Reimplemented from Titanic::CPetGlyph.

◆ reset()

bool Titanic::CPetSound::reset ( )
overridevirtual

Reset the glyph

Reimplemented from Titanic::CPetGlyph.

◆ draw2()

void Titanic::CPetSound::draw2 ( CScreenManager screenManager)
overridevirtual

Handles any secondary drawing of the glyph

Reimplemented from Titanic::CPetGlyph.

◆ MouseButtonDownMsg()

bool Titanic::CPetSound::MouseButtonDownMsg ( const Point pt)
overridevirtual

Called for mouse button down messages

Reimplemented from Titanic::CPetGlyph.

◆ MouseDragStartMsg()

bool Titanic::CPetSound::MouseDragStartMsg ( CMouseDragStartMsg msg)
overridevirtual

Called when mouse drag starts

Reimplemented from Titanic::CPetGlyph.

◆ MouseDragMoveMsg()

bool Titanic::CPetSound::MouseDragMoveMsg ( CMouseDragMoveMsg msg)
overridevirtual

Called during mouse drags

Reimplemented from Titanic::CPetGlyph.

◆ MouseDragEndMsg()

bool Titanic::CPetSound::MouseDragEndMsg ( CMouseDragEndMsg msg)
overridevirtual

Called when mouse drag ends

Reimplemented from Titanic::CPetGlyph.

◆ MouseButtonUpMsg()

bool Titanic::CPetSound::MouseButtonUpMsg ( const Point pt)
overridevirtual

Handles mouse button up messages

Reimplemented from Titanic::CPetGlyph.

◆ highlightCurrent()

void Titanic::CPetSound::highlightCurrent ( const Point pt)
inlineoverridevirtual

Highlight any currently highlighted element

Reimplemented from Titanic::CPetGlyph.

◆ getTooltip()

void Titanic::CPetSound::getTooltip ( CTextControl text)
overridevirtual

Returns the tooltip text for when the glyph is selected

Reimplemented from Titanic::CPetGlyph.

◆ setSliders()

void Titanic::CPetSound::setSliders ( )

Sets the positions of the volume sliders


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