aboutsummaryrefslogtreecommitdiff
path: root/gtk/configdialog.h
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-08-23 21:16:55 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-08-23 21:16:55 +0900
commitc3347df0fbc1562d2a80f7ec9d99acbc0c6f2cbd (patch)
treeefa0095c1a52f895de130aa9ed8be718bce92d60 /gtk/configdialog.h
parent941112d117c09453ac55911f739a10fc8e22fd91 (diff)
gtk: add support for changing settings
Diffstat (limited to 'gtk/configdialog.h')
-rw-r--r--gtk/configdialog.h20
1 files changed, 20 insertions, 0 deletions
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 <gtk/gtk.h>
+#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