102 const bool a_duplicateTextureData =
false,
103 const bool a_duplicateMeshData =
false,
104 const bool a_buildCollisionDetector =
false);
107 void update(
const unsigned int a_bottomLeftX,
108 const unsigned int a_bottomLeftY,
109 const unsigned int a_topRightX,
110 const unsigned int a_topRightY);
140 const bool a_duplicateMaterialData,
141 const bool a_duplicateTextureData,
142 const bool a_duplicateMeshData,
143 const bool a_buildCollisionDetector);
cBackground()
Constructor of cBackground.
Definition: CBackground.cpp:60
This structures provide a containers for storing rendering options that are passed through the sceneg...
Definition: CRenderOptions.h:82
virtual cBackground * copy(const bool a_duplicateMaterialData=false, const bool a_duplicateTextureData=false, const bool a_duplicateMeshData=false, const bool a_buildCollisionDetector=false)
This method create a copy of itself.
Definition: CBackground.cpp:239
Implements a 2D bimap widget.
void update(const unsigned int a_bottomLeftX, const unsigned int a_bottomLeftY, const unsigned int a_topRightX, const unsigned int a_topRightY)
This method updates the dimensions of the background in pixel coordinates.
Definition: CBackground.cpp:110
void setFixedAspectRatio(bool a_fixedAspectRatio)
This method enabled or disables the fixed aspect ratio property of this background image...
Definition: CBackground.h:113
void copyBackgroundProperties(cBackground *a_obj, const bool a_duplicateMaterialData, const bool a_duplicateTextureData, const bool a_duplicateMeshData, const bool a_buildCollisionDetector)
This method copies properties of this object to another.
Definition: CBackground.cpp:270
bool getFixedAspectRatio()
This method returns the fixed aspect ratio status of this background image.
Definition: CBackground.h:116
bool m_fixedAspectRatio
If true then the aspect ratio of the background image is maintained.
Definition: CBackground.h:126
This class implements a 2D bitmap widget.
Definition: CBitmap.h:77
This class implements a 2D background widget.
Definition: CBackground.h:79
virtual void render(cRenderOptions &a_options)
This method renders this object graphically (OpenGL).
Definition: CBackground.cpp:87
virtual ~cBackground()
Destructor of cBackground.
Definition: CBackground.h:91
Definition: CAudioBuffer.cpp:56
Implements a 2D image data structure.