diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2019-02-11 10:52:30 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2019-02-11 10:52:30 +0100 |
commit | 43c2a51331d3e91d86ef50c5262920bdaa260925 (patch) | |
tree | ffc5b03be36537e6f028df935a251493d4557979 /plugingui/mainwindow.h | |
parent | 152423c0274887415b50c0d31828036a8fe54708 (diff) |
Show/hide drumkit tab depending on if the current kit has a valid image attached or not.
Diffstat (limited to 'plugingui/mainwindow.h')
-rw-r--r-- | plugingui/mainwindow.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugingui/mainwindow.h b/plugingui/mainwindow.h index ea05ad6..ffd0566 100644 --- a/plugingui/mainwindow.h +++ b/plugingui/mainwindow.h @@ -57,6 +57,7 @@ public: private: void sizeChanged(std::size_t width, std::size_t height); + void changeDrumkitTabVisibility(bool visible); // From Widget void repaintEvent(RepaintEvent* repaintEvent) override final; @@ -82,6 +83,8 @@ private: 17, 1, 1}; // dy1, dy2, dy3 bool closing{false}; + + TabID drumkit_tab_id; }; } // GUI:: |