From eba45fdf11a98113b439db0510b55f14845db8fb Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Mon, 22 Apr 2019 00:16:50 +0800 Subject: New development cycle! Partially reintroduce High DPI handling. Pressing enter when a preset is focused now opens the preset selection dialog. Close all functionality windows before shutting down. Temporary fix for switching all channels of an external synth to mono mode unintentionally. And the most important one of them all: simple visualization! I'm ditching the 0.8.6 cycle because there was no clear goal for that release now (as the OPL3 emulation is now delayed indefinitely). In contrast, the 0.8.7 release has a pretty good-looking feature set mainly focused on improving support for external synthesizers: - Per-device initialization profile. - Instrument mapping files. - And a simple visualization ~~for showing off your external synthesizers~~. As always no ETA is set, nor will I promise the implementaion of all the features listed above. --- simple-visualization/simplevisualization.hpp | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 simple-visualization/simplevisualization.hpp (limited to 'simple-visualization/simplevisualization.hpp') diff --git a/simple-visualization/simplevisualization.hpp b/simple-visualization/simplevisualization.hpp new file mode 100644 index 0000000..b3edeee --- /dev/null +++ b/simple-visualization/simplevisualization.hpp @@ -0,0 +1,32 @@ +#ifndef SIMPLEVISUALIZATION_HPP +#define SIMPLEVISUALIZATION_HPP + +#include "../include/qmpcorepublic.hpp" + +class qmpKeyboardWindow; +class qmpSimpleVisualization:public qmpPluginIntf,public qmpFuncBaseIntf +{ + private: + qmpPluginAPI* api; + qmpKeyboardWindow *p; + int uihs; + public: + qmpSimpleVisualization(qmpPluginAPI* _api); + void show(); + void close(); + void init(); + void deinit(); + const char* pluginGetName(); + const char* pluginGetVersion(); + + static void cbstop(void* cbd,void* usrd); +}; + +extern "C"{ + EXPORTSYM qmpPluginIntf* qmpPluginGetInterface(qmpPluginAPI* api) + {return new qmpSimpleVisualization(api);} + EXPORTSYM const char* qmpPluginGetAPIRev() + {return QMP_PLUGIN_API_REV;} +} + +#endif // SIMPLEVISUALIZATION_HPP -- cgit v1.2.3