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

Myst3::Drawable Class Reference

#include <gfx.h>

Inheritance diagram for Myst3::Drawable:

List of all members.

Public Member Functions

 Drawable ()
virtual ~Drawable ()
virtual void draw ()
virtual void drawOverlay ()
bool isConstrainedToWindow () const
 Should the drawable be drawn inside the active window, or is it allowed to draw on the entire screen?
bool is3D () const
 Whether to setup the renderer state for 2D or 3D when processing the drawable.
bool isScaled () const
 Whether to scale the drawable to a size equivalent to the original engine or to draw it at its native size.

Protected Attributes

bool _isConstrainedToWindow
bool _is3D
bool _scaled

Detailed Description

Definition at line 37 of file gfx.h.


Constructor & Destructor Documentation

Myst3::Drawable::Drawable (  ) 

Definition at line 268 of file engines/myst3/gfx.cpp.

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

Definition at line 40 of file gfx.h.


Member Function Documentation

virtual void Myst3::Drawable::draw (  )  [inline, virtual]
virtual void Myst3::Drawable::drawOverlay (  )  [inline, virtual]

Reimplemented in Myst3::DragItem, Myst3::Movie, Myst3::ScriptedMovie, Myst3::Node, and Myst3::Subtitles.

Definition at line 43 of file gfx.h.

bool Myst3::Drawable::is3D (  )  const [inline]

Whether to setup the renderer state for 2D or 3D when processing the drawable.

Definition at line 49 of file gfx.h.

bool Myst3::Drawable::isConstrainedToWindow (  )  const [inline]

Should the drawable be drawn inside the active window, or is it allowed to draw on the entire screen?

Definition at line 46 of file gfx.h.

bool Myst3::Drawable::isScaled (  )  const [inline]

Whether to scale the drawable to a size equivalent to the original engine or to draw it at its native size.

Definition at line 52 of file gfx.h.


Member Data Documentation

bool Myst3::Drawable::_is3D [protected]

Definition at line 56 of file gfx.h.

Definition at line 55 of file gfx.h.

bool Myst3::Drawable::_scaled [protected]

Definition at line 57 of file gfx.h.


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


Generated on Sat May 25 2019 05:06:15 for ResidualVM by doxygen 1.7.1
curved edge   curved edge