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/organ | |
parent | f8220785a652ccff66fd46ebc440ac8071288511 (diff) |
Please see ChangeLog
Diffstat (limited to 'muse2/synti/organ')
-rw-r--r-- | muse2/synti/organ/organ.cpp | 16 | ||||
-rw-r--r-- | muse2/synti/organ/organ.h | 13 |
2 files changed, 16 insertions, 13 deletions
diff --git a/muse2/synti/organ/organ.cpp b/muse2/synti/organ/organ.cpp index 1aa87742..56fb4db1 100644 --- a/muse2/synti/organ/organ.cpp +++ b/muse2/synti/organ/organ.cpp @@ -636,28 +636,28 @@ int Organ::getControllerInfo(int id, const char** name, int* controller, } //--------------------------------------------------------- -// guiVisible +// nativeGuiVisible //--------------------------------------------------------- -bool Organ::guiVisible() const +bool Organ::nativeGuiVisible() const { return gui->isVisible(); } //--------------------------------------------------------- -// showGui +// showNativeGui //--------------------------------------------------------- -void Organ::showGui(bool val) +void Organ::showNativeGui(bool val) { gui->setVisible(val); } //--------------------------------------------------------- -// getGeometry +// getNativeGeometry //--------------------------------------------------------- -void Organ::getGeometry(int* x, int* y, int* w, int* h) const +void Organ::getNativeGeometry(int* x, int* y, int* w, int* h) const { QPoint pos(gui->pos()); QSize size(gui->size()); @@ -668,10 +668,10 @@ void Organ::getGeometry(int* x, int* y, int* w, int* h) const } //--------------------------------------------------------- -// setGeometry +// setNativeGeometry //--------------------------------------------------------- -void Organ::setGeometry(int x, int y, int w, int h) +void Organ::setNativeGeometry(int x, int y, int w, int h) { gui->resize(QSize(w, h)); gui->move(QPoint(x, y)); diff --git a/muse2/synti/organ/organ.h b/muse2/synti/organ/organ.h index 308646e1..60fee98a 100644 --- a/muse2/synti/organ/organ.h +++ b/muse2/synti/organ/organ.h @@ -182,11 +182,14 @@ class Organ : public Mess { virtual int getControllerInfo(int, const char**, int*, int*, int*, int*) const; virtual void getInitData(int*, const unsigned char**) const; - virtual bool guiVisible() const; - virtual void showGui(bool); - virtual bool hasGui() const { return true; } - virtual void getGeometry(int* x, int* y, int* w, int* h) const; - virtual void setGeometry(int x, int y, int w, int h); + //virtual bool guiVisible() const; + //virtual void showGui(bool); + //virtual bool hasGui() const { return true; } + virtual bool nativeGuiVisible() const; + virtual void showNativeGui(bool); + virtual bool hasNativeGui() const { return true; } + virtual void getNativeGeometry(int* x, int* y, int* w, int* h) const; + virtual void setNativeGeometry(int x, int y, int w, int h); virtual bool sysex(int, const unsigned char*); static SynthCtrl synthCtrl[]; Organ(int sampleRate); |