X-Git-Url: https://code.delx.au/virtualtones/blobdiff_plain/e0efeea407809897396731f760ff60e361351d83..dbf3c275fdcd6a94bb63ba2346b8f89dbfe35380:/stringinstrument.h diff --git a/stringinstrument.h b/stringinstrument.h index 8e5b485..b3497b4 100644 --- a/stringinstrument.h +++ b/stringinstrument.h @@ -10,6 +10,10 @@ #include #include #include +#include +#include +#include +#include #include "instrument.h" @@ -21,7 +25,7 @@ Q_OBJECT public: StringInstrument(QWidget *parent); ~StringInstrument(); - + private slots: void emitSounds(); @@ -32,11 +36,9 @@ Q_OBJECT void keyReleaseEvent(QKeyEvent *); - void zeroArray(bool array[4][4]); - void zeroArray(bool array[4]); - void zeroArray(int array[4]); virtual void setNotes(int array[4])=0; // Set the base string notes - void copyArray(int source[4], int dest[4]); + + QPixmap background; // Keys bool down[4][4];