aboutsummaryrefslogtreecommitdiff
path: root/win32/configdialog.h
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-08-24 02:51:44 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-08-24 02:51:44 +0900
commitad839eb8338e8b84342bf36480fbf0a7a04fa2bd (patch)
treed700dd218c17050816fd5ae0e9a23671145e375f /win32/configdialog.h
parentc3347df0fbc1562d2a80f7ec9d99acbc0c6f2cbd (diff)
WIN32: add config dialog
Diffstat (limited to 'win32/configdialog.h')
-rw-r--r--win32/configdialog.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/win32/configdialog.h b/win32/configdialog.h
new file mode 100644
index 0000000..fa9b60f
--- /dev/null
+++ b/win32/configdialog.h
@@ -0,0 +1,20 @@
+#ifndef MYON_FMPLAYER_WIN32_CONFIGDIALOG_H_INCLUDED
+#define MYON_FMPLAYER_WIN32_CONFIGDIALOG_H_INCLUDED
+
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+#include <stdbool.h>
+#include "fmdriver/ppz8.h"
+
+extern struct fmplayer_config {
+ bool fm_hires_env;
+ bool fm_hires_sin;
+ bool ssg_ymf288;
+ uint32_t ssg_mix;
+ enum ppz8_interp ppz8_interp;
+} fmplayer_config;
+
+void configdialog_open(HINSTANCE hinst, HWND parent, void (*closecb)(void *), void *closecbptr, void (*changecb)(void *), void *changecbptr);
+void configdialog_close(void);
+
+#endif // MYON_FMPLAYER_WIN32_CONFIGDIALOG_H_INCLUDED