Renamed Background to AbstractBackground

Former-commit-id: c99ed2e48c4d82fb1100f412a85468c698142815
This commit is contained in:
Lynix
2013-06-27 12:53:04 +02:00
parent 308c2cfd78
commit 1a6e55881b
9 changed files with 27 additions and 23 deletions

View File

@@ -8,13 +8,16 @@
#define NAZARA_TEXTUREBACKGROUND_HPP
#include <Nazara/Prerequesites.hpp>
#include <Nazara/Graphics/Background.hpp>
#include <Nazara/Graphics/AbstractBackground.hpp>
#include <Nazara/Renderer/Shader.hpp>
#include <Nazara/Renderer/Texture.hpp>
class NAZARA_API NzTextureBackground : public NzBackground
class NAZARA_API NzTextureBackground : public NzAbstractBackground
{
public:
NzTextureBackground();
NzTextureBackground(NzTexture* texture);
~NzTextureBackground();
void Draw(const NzScene* scene) const;
@@ -24,6 +27,7 @@ class NAZARA_API NzTextureBackground : public NzBackground
void SetTexture(NzTexture* texture);
private:
NzShaderRef m_shader;
NzTextureRef m_texture;
};