summaryrefslogtreecommitdiff
path: root/muse2/synti/vam
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2011-04-10 23:46:23 +0000
committerTim E. Real <termtech@rogers.com>2011-04-10 23:46:23 +0000
commitc023bdc9ab1cdc422ab35ea8b984899ee2f4219d (patch)
treeec0b774dd49a9caaa55aec58c7b9413fbb5fef66 /muse2/synti/vam
parentf8220785a652ccff66fd46ebc440ac8071288511 (diff)
Please see ChangeLog
Diffstat (limited to 'muse2/synti/vam')
-rw-r--r--muse2/synti/vam/vam.cpp29
1 files changed, 16 insertions, 13 deletions
diff --git a/muse2/synti/vam/vam.cpp b/muse2/synti/vam/vam.cpp
index 6d9d181c..fd71d9ea 100644
--- a/muse2/synti/vam/vam.cpp
+++ b/muse2/synti/vam/vam.cpp
@@ -193,11 +193,14 @@ class VAM : public MessMono {
public:
virtual int getControllerInfo(int, const char**, int*, int*, int*, int*) const;
virtual void getInitData(int* n, const unsigned char**p) 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 void processMessages();
virtual void process(float**, int, int);
virtual void note(int channel, int pitch, int velo);
@@ -979,28 +982,28 @@ bool VAM::sysex(int n, const unsigned char* data)
}
//---------------------------------------------------------
-// guiVisible
+// nativeGuiVisible
//---------------------------------------------------------
-bool VAM::guiVisible() const
+bool VAM::nativeGuiVisible() const
{
return gui->isVisible();
}
//---------------------------------------------------------
-// showGui
+// showNativeGui
//---------------------------------------------------------
-void VAM::showGui(bool val)
+void VAM::showNativeGui(bool val)
{
gui->setVisible(val);
}
//---------------------------------------------------------
-// getGeometry
+// getNativeGeometry
//---------------------------------------------------------
-void VAM::getGeometry(int* x, int* y, int* w, int* h) const
+void VAM::getNativeGeometry(int* x, int* y, int* w, int* h) const
{
QPoint pos(gui->pos());
QSize size(gui->size());
@@ -1011,10 +1014,10 @@ void VAM::getGeometry(int* x, int* y, int* w, int* h) const
}
//---------------------------------------------------------
-// setGeometry
+// setNativeGeometry
//---------------------------------------------------------
-void VAM::setGeometry(int x, int y, int w, int h)
+void VAM::setNativeGeometry(int x, int y, int w, int h)
{
gui->resize(QSize(w, h));
gui->move(QPoint(x, y));