diff options
author | Tim E. Real <termtech@rogers.com> | 2011-04-10 23:46:23 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2011-04-10 23:46:23 +0000 |
commit | c023bdc9ab1cdc422ab35ea8b984899ee2f4219d (patch) | |
tree | ec0b774dd49a9caaa55aec58c7b9413fbb5fef66 /muse2/synti/s1/s1.cpp | |
parent | f8220785a652ccff66fd46ebc440ac8071288511 (diff) |
Please see ChangeLog
Diffstat (limited to 'muse2/synti/s1/s1.cpp')
-rw-r--r-- | muse2/synti/s1/s1.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/muse2/synti/s1/s1.cpp b/muse2/synti/s1/s1.cpp index 0dca2656..c44676ce 100644 --- a/muse2/synti/s1/s1.cpp +++ b/muse2/synti/s1/s1.cpp @@ -42,9 +42,12 @@ class S1 : public MessMono { virtual void note(int channel, int pitch, int velo); //virtual void processMessages(); virtual void process(float** buffer, int offset, int n); - virtual bool hasGui() const { return true; } - virtual bool guiVisible() const { return _showGui; } - virtual void showGui(bool); + //virtual bool hasGui() const { return true; } + //virtual bool guiVisible() const { return _showGui; } + //virtual void showGui(bool); + virtual bool hasNativeGui() const { return true; } + virtual bool nativeGuiVisible() const { return _showGui; } + virtual void showNativeGui(bool); virtual bool setController(int channel, int ctrl, int val); virtual int getControllerInfo(int id, const char** name, int* ctrl, int* min, int* max, int* initval) const; @@ -76,7 +79,7 @@ S1::S1() : MessMono() param = 0; _showGui=false; - showGui(true); + showNativeGui(true); } //--------------------------------------------------------- @@ -165,7 +168,7 @@ void S1::process(float** buffer, int offset, int n) //--------------------------------------------------------- -void S1::showGui(bool show) +void S1::showNativeGui(bool show) { if (show) QMessageBox::information( NULL, "S1", |