Files
NazaraEngine/include/Nazara/Utility/Icon.hpp
Lynix 15afde86c8 Rewritted ResourceLoader and moved it to core
Added creation constructor to NzImage
Added member function functor
Added option to build Nazara as one library (instead of many)
Fixed some 2011 copyrights
Made use of "using def = T" C++11 feature instead of some illigible
typedefs
Removed unused premake file
2012-08-18 01:46:01 +02:00

34 lines
581 B
C++

// Copyright (C) 2012 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>
class NzImage;
class NzIconImpl;
class NAZARA_API NzIcon
{
friend class NzWindowImpl;
public:
NzIcon();
~NzIcon();
bool Create(const NzImage& icon);
void Destroy();
bool IsValid() const;
private:
NzIconImpl* m_impl;
};
#endif // NAZARA_ICON_HPP