aboutsummaryrefslogtreecommitdiff
path: root/src/libui_sdl/libui/windows/winapi.hpp
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2020-05-29 21:36:26 +0200
committerGitHub <noreply@github.com>2020-05-29 21:36:26 +0200
commit0cadd4bd12bc824d010396c855fa450774e6f619 (patch)
tree7f404a52ff372a1e2e785db2b8cf11736f2f3212 /src/libui_sdl/libui/windows/winapi.hpp
parentcd7487d53f8207277fc44f7983513fe6892a3409 (diff)
parent8ddd82ca2c7c8844a1d3c2cc7418d03976c9c52e (diff)
Merge pull request #635 from Arisotura/qt
Qt
Diffstat (limited to 'src/libui_sdl/libui/windows/winapi.hpp')
-rw-r--r--src/libui_sdl/libui/windows/winapi.hpp55
1 files changed, 0 insertions, 55 deletions
diff --git a/src/libui_sdl/libui/windows/winapi.hpp b/src/libui_sdl/libui/windows/winapi.hpp
deleted file mode 100644
index d31547a..0000000
--- a/src/libui_sdl/libui/windows/winapi.hpp
+++ /dev/null
@@ -1,55 +0,0 @@
-// 31 may 2015
-#define UNICODE
-#define _UNICODE
-#define STRICT
-#define STRICT_TYPED_ITEMIDS
-
-// see https://github.com/golang/go/issues/9916#issuecomment-74812211
-// TODO get rid of this
-#define INITGUID
-
-// for the manifest
-#ifndef _UI_STATIC
-#define ISOLATION_AWARE_ENABLED 1
-#endif
-
-// get Windows version right; right now Windows Vista
-// unless otherwise stated, all values from Microsoft's sdkddkver.h
-// TODO is all of this necessary? how is NTDDI_VERSION used?
-// TODO plaform update sp2
-#define WINVER 0x0600 /* from Microsoft's winnls.h */
-#define _WIN32_WINNT 0x0600
-#define _WIN32_WINDOWS 0x0600 /* from Microsoft's pdh.h */
-#define _WIN32_IE 0x0700
-#define NTDDI_VERSION 0x06000000
-
-#include <windows.h>
-
-// Microsoft's resource compiler will segfault if we feed it headers it was not designed to handle
-#ifndef RC_INVOKED
-#include <commctrl.h>
-#include <uxtheme.h>
-#include <windowsx.h>
-#include <shobjidl.h>
-// workaround for MinGW builds -> https://stackoverflow.com/questions/27888109/rendertarget-getsize-not-working
-#ifdef __MINGW32__
-#define WIDL_EXPLICIT_AGGREGATE_RETURNS
-#endif
-#include <d2d1.h>
-#include <d2d1helper.h>
-#include <dwrite.h>
-#include <usp10.h>
-
-#include <stdint.h>
-#include <string.h>
-#include <wchar.h>
-#include <stdarg.h>
-#include <stdio.h>
-#include <math.h>
-#include <float.h>
-#include <inttypes.h>
-
-#include <vector>
-#include <map>
-#include <sstream>
-#endif