summaryrefslogtreecommitdiff
path: root/muse2/synti/libsynti
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/synti/libsynti')
-rw-r--r--muse2/synti/libsynti/mess.cpp21
-rw-r--r--muse2/synti/libsynti/mess.h5
2 files changed, 22 insertions, 4 deletions
diff --git a/muse2/synti/libsynti/mess.cpp b/muse2/synti/libsynti/mess.cpp
index 8c23d8ea..aa771056 100644
--- a/muse2/synti/libsynti/mess.cpp
+++ b/muse2/synti/libsynti/mess.cpp
@@ -53,10 +53,23 @@ Mess::~Mess()
void Mess::getGeometry(int* x, int* y, int* w, int* h) const
{
- x = 0;
- y = 0;
- w = 0;
- h = 0;
+ *x = 0;
+ *y = 0;
+ *w = 0;
+ *h = 0;
+ }
+
+//---------------------------------------------------------
+// getNativeGeometry
+// dummy
+//---------------------------------------------------------
+
+void Mess::getNativeGeometry(int* x, int* y, int* w, int* h) const
+ {
+ *x = 0;
+ *y = 0;
+ *w = 0;
+ *h = 0;
}
//---------------------------------------------------------
diff --git a/muse2/synti/libsynti/mess.h b/muse2/synti/libsynti/mess.h
index ea4f425f..bf9ad0de 100644
--- a/muse2/synti/libsynti/mess.h
+++ b/muse2/synti/libsynti/mess.h
@@ -78,8 +78,13 @@ class Mess {
virtual bool hasGui() const { return false; }
virtual bool guiVisible() const { return false; }
virtual void showGui(bool) {}
+ virtual bool hasNativeGui() const { return false; }
+ virtual bool nativeGuiVisible() const { return false; }
+ virtual void showNativeGui(bool) {}
virtual void getGeometry(int* x, int* y, int* w, int* h) const;
virtual void setGeometry(int, int, int, int) {}
+ virtual void getNativeGeometry(int* x, int* y, int* w, int* h) const;
+ virtual void setNativeGeometry(int, int, int, int) {}
};
//---------------------------------------------------------