aboutsummaryrefslogtreecommitdiff
path: root/simple-visualization/qmpkeyboardwindow.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2019-11-02 22:13:32 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2019-11-02 22:13:32 +0800
commitb2ef363f49db70219ac1eaebb7d69dcdade8d60b (patch)
treecfc0e8da88dc27b62578dccbce367736e020f63d /simple-visualization/qmpkeyboardwindow.hpp
parent23525e2a648a23f099c2b533aa91839a2f8e829f (diff)
downloadQMidiPlayer-b2ef363f49db70219ac1eaebb7d69dcdade8d60b.tar.xz
Keyboard plugin: show additional information on the side.
qmpPluginAPI::registerEventHandler now accepts an optional argument that determines whether the handler is called prior to or after an event is sent.
Diffstat (limited to 'simple-visualization/qmpkeyboardwindow.hpp')
-rw-r--r--simple-visualization/qmpkeyboardwindow.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/simple-visualization/qmpkeyboardwindow.hpp b/simple-visualization/qmpkeyboardwindow.hpp
index 563b6b4..65ad266 100644
--- a/simple-visualization/qmpkeyboardwindow.hpp
+++ b/simple-visualization/qmpkeyboardwindow.hpp
@@ -2,15 +2,17 @@
#define QMPKEYBOARDWINDOW_HPP
#include "../include/qmpcorepublic.hpp"
-#include "qmppianowidget.hpp"
#include <QWidget>
+class QLabel;
+class qmpPianoWidget;
class qmpKeyboardWindow:public QWidget
{
Q_OBJECT
private:
qmpPianoWidget *pw[16];
+ QLabel *lb[16];
qmpPluginAPI *api;
int eh;
public: