Added support for custom cursor/icon

This commit is contained in:
Lynix
2012-06-24 13:28:24 +02:00
parent d851e35a56
commit bcf36e7a14
14 changed files with 406 additions and 7 deletions

View File

@@ -0,0 +1,26 @@
// Copyright (C) 2012 Jérôme Leclercq
// This file is part of the "Nazara Engine".
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_ICONIMPL_HPP
#define NAZARA_ICONIMPL_HPP
#include <windows.h>
class NzImage;
class NzIconImpl
{
public:
bool Create(const NzImage& image);
void Destroy();
HICON GetIcon();
private:
HICON m_icon = nullptr;
};
#endif // NAZARA_ICONIMPL_HPP