diff options
author | falkTX <falktx@gmail.com> | 2015-04-26 17:53:00 +0200 |
---|---|---|
committer | falkTX <falktx@gmail.com> | 2015-04-26 17:53:00 +0200 |
commit | df95e431f587450cb9fb8502142aab91a329cf44 (patch) | |
tree | f54260c17cc50417b5104fde719b82748b5ec63d /distrho/src/DistrhoUIInternal.hpp | |
parent | 4f8b332b9411c5c54b241eaab5f6d13a85e8bcab (diff) |
Fix code for API changes; Update copyright date in dgl code
Diffstat (limited to 'distrho/src/DistrhoUIInternal.hpp')
-rw-r--r-- | distrho/src/DistrhoUIInternal.hpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/distrho/src/DistrhoUIInternal.hpp b/distrho/src/DistrhoUIInternal.hpp index 24cdcd85..ae3bd996 100644 --- a/distrho/src/DistrhoUIInternal.hpp +++ b/distrho/src/DistrhoUIInternal.hpp @@ -175,7 +175,7 @@ protected: { DISTRHO_SAFE_ASSERT_RETURN(fUI != nullptr,); - fUI->d_uiReshape(width, height); + fUI->uiReshape(width, height); fIsReady = true; } @@ -184,7 +184,7 @@ protected: { DISTRHO_SAFE_ASSERT_RETURN(fUI != nullptr,); - fUI->d_uiFileBrowserSelected(filename); + fUI->uiFileBrowserSelected(filename); } private: @@ -257,15 +257,15 @@ public: { DISTRHO_SAFE_ASSERT_RETURN(fUI != nullptr,); - fUI->d_parameterChanged(index, value); + fUI->parameterChanged(index, value); } #if DISTRHO_PLUGIN_WANT_PROGRAMS - void programChanged(const uint32_t index) + void programLoaded(const uint32_t index) { DISTRHO_SAFE_ASSERT_RETURN(fUI != nullptr,); - fUI->d_programChanged(index); + fUI->programLoaded(index); } #endif @@ -276,7 +276,7 @@ public: DISTRHO_SAFE_ASSERT_RETURN(key != nullptr && key[0] != '\0',); DISTRHO_SAFE_ASSERT_RETURN(value != nullptr,); - fUI->d_stateChanged(key, value); + fUI->stateChanged(key, value); } #endif @@ -295,7 +295,7 @@ public: void exec_idle() { if (glWindow.isReady()) - fUI->d_uiIdle(); + fUI->uiIdle(); } bool idle() @@ -305,7 +305,7 @@ public: glApp.idle(); if (glWindow.isReady()) - fUI->d_uiIdle(); + fUI->uiIdle(); return ! glApp.isQuiting(); } @@ -364,7 +364,7 @@ public: fData->sampleRate = sampleRate; if (doCallback) - fUI->d_sampleRateChanged(sampleRate); + fUI->sampleRateChanged(sampleRate); } private: |