Files
Aerofoil/GpCommon/GpWindows.h

33 lines
668 B
C
Raw Normal View History

2019-12-22 00:35:30 -05:00
#pragma once
#define NOMINMAX
#define WIN32_LEAN_AND_MEAN
#define OEMRESOURCE
#include <Windows.h>
#undef CreateMutex
#undef DeleteFile
2020-02-23 20:21:04 -05:00
#undef LoadCursor
struct IGpFiber;
2020-02-23 20:21:04 -05:00
struct IGpBWCursor_Win32;
struct IGpCursor_Win32;
2019-12-24 02:35:24 -05:00
struct IGpVOSEventQueue;
2019-12-22 00:35:30 -05:00
struct GpWindowsGlobals
{
HINSTANCE m_hInstance;
HINSTANCE m_hPrevInstance;
LPCSTR m_cmdLine;
LPCWSTR m_baseDir;
HWND m_hwnd;
2020-05-18 04:05:18 -04:00
HICON m_hIcon;
HICON m_hIconSm;
2019-12-22 00:35:30 -05:00
int m_nCmdShow;
IGpFiber *(*m_createFiberFunc)(LPVOID fiber);
2020-02-23 20:21:04 -05:00
IGpCursor_Win32 *(*m_loadCursorFunc)(const wchar_t *path);
void (*m_translateWindowsMessageFunc)(const MSG *msg, IGpVOSEventQueue *eventQueue, float pixelScaleX, float pixelScaleY);
};