ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <Drawable.h>

Collaboration diagram for GUI::Drawable:

List of all members.

Public Member Functions

 Drawable ()
virtual ~Drawable ()
void updateAnimation (long currentTime)
bool isAnimationFinished ()
float getAlpha () const
void setAlpha (float alpha)
AnimationPtr getAnimation () const
void setAnimation (AnimationPtr animation)
Graphics::TransparentSurfacegetBitmap () const
void setBitmap (Graphics::TransparentSurface *bitmap)
float getPositionX () const
void setPositionX (float positionX)
float getPositionY () const
void setPositionY (float positionY)
virtual float getWidth () const
void setWidth (float width)
virtual float getHeight () const
void setHeight (float height)
void setDisplayRatio (float ratio)
bool shouldCenter () const
void setShouldCenter (bool shouldCenter)

Protected Attributes

bool _usingSnapshot

Private Attributes

float _positionX
float _positionY
float _width
float _height
float _alpha
bool _shouldCenter
AnimationPtr _animation
float _displayRatio

Detailed Description

Definition at line 38 of file Drawable.h.

Constructor & Destructor Documentation

GUI::Drawable::Drawable (  )  [inline]

Definition at line 40 of file Drawable.h.

virtual GUI::Drawable::~Drawable (  )  [inline, virtual]

Definition at line 46 of file Drawable.h.

Member Function Documentation

float GUI::Drawable::getAlpha (  )  const [inline]

Definition at line 64 of file Drawable.h.

AnimationPtr GUI::Drawable::getAnimation (  )  const [inline]

Definition at line 66 of file Drawable.h.

Graphics::TransparentSurface* GUI::Drawable::getBitmap (  )  const [inline]

Definition at line 68 of file Drawable.h.

virtual float GUI::Drawable::getHeight (  )  const [inline, virtual]

Definition at line 77 of file Drawable.h.

float GUI::Drawable::getPositionX (  )  const [inline]

Definition at line 70 of file Drawable.h.

float GUI::Drawable::getPositionY (  )  const [inline]

Definition at line 72 of file Drawable.h.

virtual float GUI::Drawable::getWidth (  )  const [inline, virtual]

Definition at line 74 of file Drawable.h.

bool GUI::Drawable::isAnimationFinished (  )  [inline]

Definition at line 57 of file Drawable.h.

void GUI::Drawable::setAlpha ( float  alpha  )  [inline]

Definition at line 65 of file Drawable.h.

void GUI::Drawable::setAnimation ( AnimationPtr  animation  )  [inline]

Definition at line 67 of file Drawable.h.

void GUI::Drawable::setBitmap ( Graphics::TransparentSurface bitmap  )  [inline]

Definition at line 69 of file Drawable.h.

void GUI::Drawable::setDisplayRatio ( float  ratio  )  [inline]

Definition at line 85 of file Drawable.h.

void GUI::Drawable::setHeight ( float  height  )  [inline]

Definition at line 84 of file Drawable.h.

void GUI::Drawable::setPositionX ( float  positionX  )  [inline]

Definition at line 71 of file Drawable.h.

void GUI::Drawable::setPositionY ( float  positionY  )  [inline]

Definition at line 73 of file Drawable.h.

void GUI::Drawable::setShouldCenter ( bool  shouldCenter  )  [inline]

Definition at line 87 of file Drawable.h.

void GUI::Drawable::setWidth ( float  width  )  [inline]

Definition at line 75 of file Drawable.h.

bool GUI::Drawable::shouldCenter (  )  const [inline]

Definition at line 86 of file Drawable.h.

void GUI::Drawable::updateAnimation ( long  currentTime  )  [inline]

Definition at line 51 of file Drawable.h.

Member Data Documentation

float GUI::Drawable::_alpha [private]

Definition at line 98 of file Drawable.h.

Definition at line 100 of file Drawable.h.

Definition at line 93 of file Drawable.h.

Definition at line 102 of file Drawable.h.

float GUI::Drawable::_height [private]

Definition at line 97 of file Drawable.h.

float GUI::Drawable::_positionX [private]

Definition at line 94 of file Drawable.h.

float GUI::Drawable::_positionY [private]

Definition at line 95 of file Drawable.h.

Definition at line 99 of file Drawable.h.

Definition at line 90 of file Drawable.h.

float GUI::Drawable::_width [private]

Definition at line 96 of file Drawable.h.

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

Generated on Sat Sep 19 2020 05:05:25 for ResidualVM by doxygen 1.7.1
curved edge   curved edge