ScummVM API documentation
Pegasus::Compass Class Reference
Inheritance diagram for Pegasus::Compass:
Pegasus::FaderAnimation Pegasus::DisplayElement Pegasus::Fader Pegasus::IDObject Pegasus::IdlerTimeBase Pegasus::Idler Pegasus::TimeBase

Public Member Functions

void initCompass ()
 
void deallocateCompass ()
 
bool isCompassValid () const
 
void setFaderValue (const int32) override
 
- Public Member Functions inherited from Pegasus::FaderAnimation
 FaderAnimation (const DisplayElementID id)
 
void setFaderValue (const int32) override
 
- Public Member Functions inherited from Pegasus::DisplayElement
 DisplayElement (const DisplayElementID)
 
void setDisplayOrder (const DisplayOrder)
 
DisplayOrder getDisplayOrder () const
 
bool validToDraw (DisplayOrder, DisplayOrder)
 
bool isDisplaying ()
 
virtual void startDisplaying ()
 
virtual void stopDisplaying ()
 
virtual void show ()
 
virtual void hide ()
 
bool isVisible ()
 
void triggerRedraw ()
 
void setTriggeredElement (DisplayElement *)
 
virtual void setBounds (const CoordType, const CoordType, const CoordType, const CoordType)
 
virtual void setBounds (const Common::Rect &)
 
virtual void getBounds (Common::Rect &) const
 
virtual void sizeElement (const CoordType, const CoordType)
 
virtual void moveElementTo (const CoordType, const CoordType)
 
virtual void moveElement (const CoordType, const CoordType)
 
virtual void getLocation (CoordType &, CoordType &) const
 
virtual void getCenter (CoordType &, CoordType &) const
 
virtual void centerElementAt (const CoordType, const CoordType)
 
- Public Member Functions inherited from Pegasus::IDObject
 IDObject (const int32 id)
 
int32 getObjectID () const
 
- Public Member Functions inherited from Pegasus::Fader
int32 getFaderValue () const
 
virtual void startFader (const FaderMoveSpec &)
 
virtual void startFaderSync (const FaderMoveSpec &)
 
virtual void loopFader (const FaderMoveSpec &)
 
virtual void stopFader ()
 
virtual bool isFading ()
 
void pauseFader ()
 
void continueFader ()
 
void getCurrentFaderMove (FaderMoveSpec &spec)
 
- Public Member Functions inherited from Pegasus::IdlerTimeBase
TimeValue getLastTime () const
 
- Public Member Functions inherited from Pegasus::Idler
virtual void startIdling ()
 
virtual void stopIdling ()
 
bool isIdling () const
 
- Public Member Functions inherited from Pegasus::TimeBase
 TimeBase (const TimeScale=kDefaultTimeScale)
 
virtual void setTime (const TimeValue, const TimeScale=0)
 
virtual TimeValue getTime (const TimeScale=0)
 
virtual void setScale (const TimeScale scale)
 
virtual TimeScale getScale () const
 
virtual void setRate (const Common::Rational)
 
virtual Common::Rational getRate () const
 
virtual void start ()
 
virtual void stop ()
 
virtual bool isRunning ()
 
virtual void pause ()
 
virtual void resume ()
 
bool isPaused () const
 
virtual void setFlags (const uint32 flags)
 
virtual uint32 getFlags () const
 
virtual void setStart (const TimeValue, const TimeScale=0)
 
virtual TimeValue getStart (const TimeScale=0) const
 
virtual void setStop (const TimeValue, const TimeScale=0)
 
virtual TimeValue getStop (const TimeScale=0) const
 
virtual void setSegment (const TimeValue, const TimeValue, const TimeScale=0)
 
virtual void getSegment (TimeValue &, TimeValue &, const TimeScale=0) const
 
virtual TimeValue getDuration (const TimeScale=0) const
 
virtual void setMasterTimeBase (TimeBase *timeBase)
 
void disposeAllCallBacks ()
 
virtual void checkCallBacks ()
 

Protected Member Functions

void draw (const Common::Rect &) override
 
- Protected Member Functions inherited from Pegasus::Fader
bool initFaderMove (const FaderMoveSpec &)
 
void timeChanged (const TimeValue) override
 
- Protected Member Functions inherited from Pegasus::IdlerTimeBase
void useIdleTime () override
 
- Protected Member Functions inherited from Pegasus::TimeBase
void addCallBack (TimeBaseCallBack *)
 
void removeCallBack (TimeBaseCallBack *)
 
virtual void updateTime ()
 

Protected Attributes

Frame _compassImage
 
- Protected Attributes inherited from Pegasus::DisplayElement
Common::Rect _bounds
 
bool _elementIsVisible
 
DisplayElement_triggeredElement
 
bool _elementIsDisplaying
 
DisplayOrder _elementOrder
 
DisplayElement_nextElement
 
- Protected Attributes inherited from Pegasus::Fader
int32 _currentValue
 
FaderMoveSpec _currentFaderMove
 
- Protected Attributes inherited from Pegasus::IdlerTimeBase
TimeValue _lastTime
 
- Protected Attributes inherited from Pegasus::Idler
bool _isIdling
 
Idler_nextIdler
 
Idler_prevIdler
 
- Protected Attributes inherited from Pegasus::TimeBase
TimeBase_master
 
TimeScale _preferredScale
 
TimeBaseCallBack_callBackList
 
Common::Rational _rate
 
Common::Rational _pausedRate
 
bool _paused
 
uint32 _startTime
 
uint32 _startScale
 
uint32 _stopTime
 
uint32 _stopScale
 
uint32 _flags
 
Common::Rational _time
 
uint32 _lastMillis
 
uint32 _pauseStart
 

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