Files
NazaraEngine/include/Nazara/Graphics/ColorBackground.hpp
Lynix 98e70f21a1 Made Background::Draw receive const scene pointer
Former-commit-id: 2b84f8ea924714d81046f3dd29990939586e7622
2013-04-03 01:47:43 +02:00

31 lines
734 B
C++

// Copyright (C) 2013 Jérôme Leclercq
// This file is part of the "Nazara Engine - Graphics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_COLORBACKGROUND_HPP
#define NAZARA_COLORBACKGROUND_HPP
#include <Nazara/Prerequesites.hpp>
#include <Nazara/Core/Color.hpp>
#include <Nazara/Graphics/Background.hpp>
class NAZARA_API NzColorBackground : public NzBackground
{
public:
NzColorBackground(const NzColor& color = NzColor::Black);
void Draw(const NzScene* scene) const;
nzBackgroundType GetBackgroundType() const;
NzColor GetColor() const;
void SetColor(const NzColor& color);
private:
NzColor m_color;
};
#endif // NAZARA_COLORBACKGROUND_HPP