31 lines
520 B
C++
31 lines
520 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_ICONIMPL_HPP
|
|
#define NAZARA_ICONIMPL_HPP
|
|
|
|
#include <Nazara/Prerequesites.hpp>
|
|
#include <windows.h>
|
|
|
|
namespace Nz
|
|
{
|
|
class Image;
|
|
|
|
class IconImpl
|
|
{
|
|
public:
|
|
bool Create(const Image& image);
|
|
void Destroy();
|
|
|
|
HICON GetIcon();
|
|
|
|
private:
|
|
HICON m_icon = nullptr;
|
|
};
|
|
}
|
|
|
|
#endif // NAZARA_ICONIMPL_HPP
|