summaryrefslogtreecommitdiff
path: root/muse2/synti/libsynti
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-04-11 14:46:12 +0000
committerFlorian Jung <flo@windfisch.org>2011-04-11 14:46:12 +0000
commit384e0d2f6d77ab107268921511dd91464d4accb3 (patch)
treef361808b7af39d0d28188e5efb0140b3e01ab8a1 /muse2/synti/libsynti
parent51eda45715625b6da768e670388510c91b01ff5c (diff)
parentc8a651f88b5728e246cb46599521ce981f0f4cfb (diff)
cosmetic stuff: made many functions static, improved pixmap loading
synced with current trunk
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) {}
};
//---------------------------------------------------------