aboutsummaryrefslogtreecommitdiff
path: root/gtk/configdialog.h
blob: bd0743ff9055ea71b73a36705caebe2d9223e93b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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