aboutsummaryrefslogtreecommitdiff
path: root/gtk/configdialog.h
diff options
context:
space:
mode:
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