NazaraEngine/include/Nazara/Utility/Icon.hpp

38 lines
641 B
C++

// Copyright (C) 2015 Jérôme Leclercq
// This file is part of the "Nazara Engine - Utility module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_ICON_HPP
#define NAZARA_ICON_HPP
#include <Nazara/Prerequesites.hpp>
#include <Nazara/Math/Vector2.hpp>
#include <Nazara/Utility/Config.hpp>
namespace Nz
{
class Image;
class IconImpl;
class NAZARA_UTILITY_API Icon
{
friend class WindowImpl;
public:
Icon();
~Icon();
bool Create(const Image& icon);
void Destroy();
bool IsValid() const;
private:
IconImpl* m_impl;
};
}
#endif // NAZARA_ICON_HPP