summaryrefslogtreecommitdiff
path: root/muse2/synti/fluid
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/fluid
parent51eda45715625b6da768e670388510c91b01ff5c (diff)
parentc8a651f88b5728e246cb46599521ce981f0f4cfb (diff)
cosmetic stuff: made many functions static, improved pixmap loading
synced with current trunk
Diffstat (limited to 'muse2/synti/fluid')
-rw-r--r--muse2/synti/fluid/fluid.cpp4
-rw-r--r--muse2/synti/fluid/fluid.h9
2 files changed, 8 insertions, 5 deletions
diff --git a/muse2/synti/fluid/fluid.cpp b/muse2/synti/fluid/fluid.cpp
index d1802354..ad3d06a6 100644
--- a/muse2/synti/fluid/fluid.cpp
+++ b/muse2/synti/fluid/fluid.cpp
@@ -272,7 +272,7 @@ void ISynth::allNotesOff()
// guiVisible
//---------------------------------------------------------
-bool ISynth::guiVisible() const
+bool ISynth::nativeGuiVisible() const
{
return gui->isVisible();
}
@@ -281,7 +281,7 @@ bool ISynth::guiVisible() const
// showGui
//---------------------------------------------------------
-void ISynth::showGui(bool flag)
+void ISynth::showNativeGui(bool flag)
{
gui->setVisible(flag);
}
diff --git a/muse2/synti/fluid/fluid.h b/muse2/synti/fluid/fluid.h
index c1669846..e80f1463 100644
--- a/muse2/synti/fluid/fluid.h
+++ b/muse2/synti/fluid/fluid.h
@@ -64,9 +64,12 @@ class ISynth : public Mess {
virtual const MidiPatch* getPatchInfo(int, const MidiPatch *) const;
virtual void getInitData(int*, const unsigned char**);
- virtual bool guiVisible() const;
- virtual void showGui(bool);
- virtual bool hasGui() const { return true; }
+ //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; }
public:
ISynth();