diff options
author | Florian Jung <flo@windfisch.org> | 2011-04-11 14:46:12 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2011-04-11 14:46:12 +0000 |
commit | 384e0d2f6d77ab107268921511dd91464d4accb3 (patch) | |
tree | f361808b7af39d0d28188e5efb0140b3e01ab8a1 /muse2/synti/fluidsynth | |
parent | 51eda45715625b6da768e670388510c91b01ff5c (diff) | |
parent | c8a651f88b5728e246cb46599521ce981f0f4cfb (diff) |
cosmetic stuff: made many functions static, improved pixmap loading
synced with current trunk
Diffstat (limited to 'muse2/synti/fluidsynth')
-rw-r--r-- | muse2/synti/fluidsynth/fluidsynti.cpp | 8 | ||||
-rw-r--r-- | muse2/synti/fluidsynth/fluidsynti.h | 9 |
2 files changed, 10 insertions, 7 deletions
diff --git a/muse2/synti/fluidsynth/fluidsynti.cpp b/muse2/synti/fluidsynth/fluidsynti.cpp index 327cde39..aadc92ef 100644 --- a/muse2/synti/fluidsynth/fluidsynti.cpp +++ b/muse2/synti/fluidsynth/fluidsynti.cpp @@ -723,20 +723,20 @@ void FluidSynth::dumpInfo() } //--------------------------------------------------------- -// guiVisible +// nativeGuiVisible //--------------------------------------------------------- -bool FluidSynth::guiVisible() const +bool FluidSynth::nativeGuiVisible() const { return gui->isVisible(); } //--------------------------------------------------------- -// showGui +// showNativeGui //--------------------------------------------------------- -void FluidSynth::showGui(bool val) +void FluidSynth::showNativeGui(bool val) { gui->setVisible(val); } diff --git a/muse2/synti/fluidsynth/fluidsynti.h b/muse2/synti/fluidsynth/fluidsynti.h index 0816475c..a371de9e 100644 --- a/muse2/synti/fluidsynth/fluidsynti.h +++ b/muse2/synti/fluidsynth/fluidsynti.h @@ -115,9 +115,12 @@ public: virtual int getControllerInfo(int, const char**, int*, int*, int*, int*) const; virtual bool processEvent(const MidiPlayEvent&); - virtual bool hasGui() const { return true; } - virtual bool guiVisible() const; - virtual void showGui(bool val); + //virtual bool hasGui() const { return true; } + //virtual bool guiVisible() const; + //virtual void showGui(bool val); + virtual bool hasNativeGui() const { return true; } + virtual bool nativeGuiVisible() const; + virtual void showNativeGui(bool val); void sendError(const char*); void sendSoundFontData(); |