Files
Aerofoil/GpCommon/GpColorCursor_Win32.h

26 lines
438 B
C
Raw Normal View History

2019-12-22 00:35:30 -05:00
#pragma once
#include "IGpColorCursor_Win32.h"
2019-12-22 00:35:30 -05:00
#include "GpWindows.h"
class GpColorCursor_Win32 final : public IGpColorCursor_Win32
2019-12-22 00:35:30 -05:00
{
public:
void Destroy() override;
const HCURSOR &GetHCursor() const override;
2019-12-22 00:35:30 -05:00
void IncRef() override;
void DecRef() override;
2019-12-22 00:35:30 -05:00
static GpColorCursor_Win32 *Load(const wchar_t *path);
private:
GpColorCursor_Win32(HCURSOR cursor);
~GpColorCursor_Win32();
HCURSOR m_cursor;
int m_refCount;
};