ScummVM API documentation
Titanic::CPetSoundSlider Class Reference
Inheritance diagram for Titanic::CPetSoundSlider:
Titanic::CPetSlider

Public Member Functions

void setupBackground (const CString &name, CPetControl *petControl) override
 
void setupThumb (const CString &name, CPetControl *petControl) override
 
void setupBackground2 (const CString &name, CPetControl *petControl) override
 
void setupThumb2 (const CString &name, CPetControl *petControl) override
 
void draw (CScreenManager *screenManager) override
 
- Public Member Functions inherited from Titanic::CPetSlider
virtual void reset (const CString &name)
 
virtual Rect clearDirtyArea ()
 
virtual bool checkThumb (const Point &pt)
 
virtual bool resetThumbFocus ()
 
virtual bool MouseDragMoveMsg (const Point &pt)
 
virtual bool MouseDragEndMsg (const Point &pt)
 
virtual bool MouseButtonUpMsg (const Point &pt)
 
virtual bool proc13 ()
 
virtual bool proc14 ()
 
virtual bool contains (const Point &pt) const
 
virtual double getOffsetPixels () const
 
virtual void setSliderOffset (double offset)
 
virtual void setOffsetPixels (int offset)
 
void setOrientation (SliderOrientation orientation)
 
void setBounds (const Rect &r)
 
void setSlidingBounds (const Rect &r)
 
void setThumbSize (const Point &pt)
 
void translate (const Point &pt)
 
void stepPosition (int direction)
 

Public Attributes

CGameObject_background
 
CGameObject_thumb
 

Additional Inherited Members

- Protected Member Functions inherited from Titanic::CPetSlider
Point getBackgroundDrawPos ()
 
Point getThumbDrawPos ()
 
bool containsPt (const Point &pt) const
 

Member Function Documentation

◆ setupBackground()

void Titanic::CPetSoundSlider::setupBackground ( const CString name,
CPetControl petControl 
)
overridevirtual

Setup the background

Reimplemented from Titanic::CPetSlider.

◆ setupThumb()

void Titanic::CPetSoundSlider::setupThumb ( const CString name,
CPetControl petControl 
)
overridevirtual

Setup the thumb

Reimplemented from Titanic::CPetSlider.

◆ setupBackground2()

void Titanic::CPetSoundSlider::setupBackground2 ( const CString name,
CPetControl petControl 
)
overridevirtual

Setup the background

Reimplemented from Titanic::CPetSlider.

◆ setupThumb2()

void Titanic::CPetSoundSlider::setupThumb2 ( const CString name,
CPetControl petControl 
)
overridevirtual

Setup the thumb

Reimplemented from Titanic::CPetSlider.

◆ draw()

void Titanic::CPetSoundSlider::draw ( CScreenManager screenManager)
overridevirtual

Draw the slider

Reimplemented from Titanic::CPetSlider.


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