diff options
author | Tim E. Real <termtech@rogers.com> | 2011-04-10 23:46:23 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2011-04-10 23:46:23 +0000 |
commit | c023bdc9ab1cdc422ab35ea8b984899ee2f4219d (patch) | |
tree | ec0b774dd49a9caaa55aec58c7b9413fbb5fef66 /muse2/synti/simpledrums2 | |
parent | f8220785a652ccff66fd46ebc440ac8071288511 (diff) |
Please see ChangeLog
Diffstat (limited to 'muse2/synti/simpledrums2')
-rw-r--r-- | muse2/synti/simpledrums2/simpledrums.cpp | 18 | ||||
-rw-r--r-- | muse2/synti/simpledrums2/simpledrums.h | 9 |
2 files changed, 15 insertions, 12 deletions
diff --git a/muse2/synti/simpledrums2/simpledrums.cpp b/muse2/synti/simpledrums2/simpledrums.cpp index ecd03d35..f14a0627 100644 --- a/muse2/synti/simpledrums2/simpledrums.cpp +++ b/muse2/synti/simpledrums2/simpledrums.cpp @@ -237,14 +237,14 @@ SimpleSynth::~SimpleSynth() } //--------------------------------------------------------- -// guiVisible +// nativeGuiVisible /*! - \fn SimpleSynth::guiVisible + \fn SimpleSynth::nativeGuiVisible \brief Tells if the gui is hidden or shown \return true/false if gui is shown/hidden */ //--------------------------------------------------------- -bool SimpleSynth::guiVisible() const +bool SimpleSynth::nativeGuiVisible() const { SS_TRACE_IN bool v = gui->isVisible(); @@ -253,14 +253,14 @@ bool SimpleSynth::guiVisible() const } //--------------------------------------------------------- -// hasGui +// hasNativeGui /*! - \fn SimpleSynth::hasGui + \fn SimpleSynth::hasNativeGui \brief Tells if the synth has a gui or not \return true if synth has gui, false it synth has no gui */ //--------------------------------------------------------- -bool SimpleSynth::hasGui() const +bool SimpleSynth::hasNativeGui() const { SS_TRACE_IN SS_TRACE_OUT @@ -808,14 +808,14 @@ void SimpleSynth::process(float** out, int offset, int len) } //--------------------------------------------------------- -// showGui +// showNativeGui /*! - \fn SimpleSynth::showGui + \fn SimpleSynth::showNativeGui \brief Displays or hides the gui window \param val true or false = gui shown or hidden */ //--------------------------------------------------------- -void SimpleSynth::showGui(bool val) +void SimpleSynth::showNativeGui(bool val) { SS_TRACE_IN gui->setVisible(val); diff --git a/muse2/synti/simpledrums2/simpledrums.h b/muse2/synti/simpledrums2/simpledrums.h index 7aab4ed3..58a5945e 100644 --- a/muse2/synti/simpledrums2/simpledrums.h +++ b/muse2/synti/simpledrums2/simpledrums.h @@ -114,8 +114,10 @@ class SimpleSynth : public Mess virtual ~SimpleSynth(); - virtual bool guiVisible() const; - virtual bool hasGui() const; + //virtual bool guiVisible() const; + //virtual bool hasGui() const; + virtual bool nativeGuiVisible() const; + virtual bool hasNativeGui() const; virtual bool playNote(int arg1, int arg2, int arg3); virtual bool processEvent(const MidiPlayEvent& arg1); virtual bool setController(int arg1, int arg2, int arg3); @@ -124,7 +126,8 @@ class SimpleSynth : public Mess virtual const MidiPatch* getPatchInfo(int arg1, const MidiPatch* arg2) const; virtual int getControllerInfo(int arg1, const char** arg2, int* arg3, int* arg4, int* arg5); virtual void process(float** data, int offset, int len); - virtual void showGui(bool arg1); + //virtual void showGui(bool arg1); + virtual void showNativeGui(bool arg1); virtual void getInitData(int*, const unsigned char**); bool init(const char* name); void guiSendSampleLoaded(bool success, int ch, const char* filename); |