diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-03-27 23:33:40 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-03-27 23:33:40 +0900 |
commit | 30c59a00956142aafda87c0bdc71c46d1a2218ff (patch) | |
tree | 0bf1c81767dc8edb86ade2a4e224392e2ac5280b /win32/oscilloview.h | |
parent | 0073f2b8befc6163f2970cb7a01e75fffc95994e (diff) |
add oscilloscope view
Diffstat (limited to 'win32/oscilloview.h')
-rw-r--r-- | win32/oscilloview.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/win32/oscilloview.h b/win32/oscilloview.h new file mode 100644 index 0000000..8849830 --- /dev/null +++ b/win32/oscilloview.h @@ -0,0 +1,19 @@ +#ifndef MYON_FMPLAYER_WIN32_OSCILLOVIEW_H_INCLUDED +#define MYON_FMPLAYER_WIN32_OSCILLOVIEW_H_INCLUDED + +#include "libopna/opna.h" +#include "oscillo/oscillo.h" + +#define WIN32_LEAN_AND_MEAN +#include <windows.h> +#include <stdatomic.h> + +extern struct oscilloview { + atomic_flag flag; + struct oscillodata oscillodata[LIBOPNA_OSCILLO_TRACK_COUNT]; +} oscilloview_g; + +void show_oscilloview(HINSTANCE hinst, HWND parent); + +#endif // MYON_FMPLAYER_WIN32_OSCILLOVIEW_H_INCLUDED + |