2013-03-15 13:11:33 +00:00
|
|
|
#define UNICODE
|
Update to v094r13 release.
byuu says:
This version polishes up the input dialogue (reset, erase, disable
button when item not focused, split device ID from mapping name), adds
color emulation toggle, and add dummy menu items for remaining features
(to be filled in later.)
Also, it now compiles cleanly on Windows with GTK.
I didn't test with TDM-GCC-32, because for god knows what reason, the
32-bit version ships with headers from Windows 95 OSR2 only. So I built
with TDM-GCC-64 with arch=x86.
And uh, apparently, moving or resizing a window causes a Visual C++
runtime exception in the GTK+ DLLs. This doesn't happen with trance or
renshuu built with TDM-GCC-32. So, yeah, like I said, don't use -m32.
2015-03-07 10:21:47 +00:00
|
|
|
#define WINVER 0x0601
|
|
|
|
#define _WIN32_WINNT WINVER
|
|
|
|
#define _WIN32_IE WINVER
|
|
|
|
#define __MSVCRT_VERSION__ WINVER
|
2013-03-15 13:11:33 +00:00
|
|
|
#define NOMINMAX
|
|
|
|
|
|
|
|
#include <winsock2.h>
|
|
|
|
#include <windows.h>
|
|
|
|
#include <windowsx.h>
|
|
|
|
#include <commctrl.h>
|
2013-11-28 10:29:01 +00:00
|
|
|
#include <uxtheme.h>
|
2013-03-15 13:11:33 +00:00
|
|
|
#include <io.h>
|
|
|
|
#include <shlobj.h>
|
|
|
|
#include <nall/windows/registry.hpp>
|
|
|
|
#include <nall/windows/utf8.hpp>
|
2013-11-28 10:32:53 +00:00
|
|
|
|
|
|
|
#define TBS_TRANSPARENTBKGND 0x1000
|