From c3347df0fbc1562d2a80f7ec9d99acbc0c6f2cbd Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Wed, 23 Aug 2017 21:16:55 +0900 Subject: gtk: add support for changing settings --- gtk/configdialog.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 gtk/configdialog.h (limited to 'gtk/configdialog.h') diff --git a/gtk/configdialog.h b/gtk/configdialog.h new file mode 100644 index 0000000..bd0743f --- /dev/null +++ b/gtk/configdialog.h @@ -0,0 +1,20 @@ +#ifndef MYON_FMPLAYER_GTK_CONFIGDIALOG_H +#define MYON_FMPLAYER_GTK_CONFIGDIALOG_H + +#include +#include "libopna/opna.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; + +typedef void config_update_func(void *ptr); + +void show_configdialog(config_update_func *func, void *ptr); + +#endif // MYON_FMPLAYER_GTK_CONFIGDIALOG_H -- cgit v1.2.3