From ad839eb8338e8b84342bf36480fbf0a7a04fa2bd Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Thu, 24 Aug 2017 02:51:44 +0900 Subject: WIN32: add config dialog --- win32/configdialog.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 win32/configdialog.h (limited to 'win32/configdialog.h') 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 +#include +#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 -- cgit v1.2.3