@@ -259,7 +259,7 @@ protected: | |||||
The default implementation does nothing. | The default implementation does nothing. | ||||
*/ | */ | ||||
virtual void uiFocus(bool focus, CrossingMode mode); | |||||
virtual void uiFocus(bool focus, DGL_NAMESPACE::CrossingMode mode); | |||||
/** | /** | ||||
Window reshape function, called when the window is resized. | Window reshape function, called when the window is resized. | ||||
@@ -100,7 +100,7 @@ static void initSignalHandler() | |||||
// ----------------------------------------------------------------------- | // ----------------------------------------------------------------------- | ||||
#if DISTRHO_PLUGIN_HAS_UI | #if DISTRHO_PLUGIN_HAS_UI | ||||
class PluginJack : public IdleCallback | |||||
class PluginJack : public DGL_NAMESPACE::IdleCallback | |||||
#else | #else | ||||
class PluginJack | class PluginJack | ||||
#endif | #endif | ||||
@@ -161,7 +161,7 @@ void UI::sampleRateChanged(double) | |||||
/* ------------------------------------------------------------------------------------------------------------ | /* ------------------------------------------------------------------------------------------------------------ | ||||
* UI Callbacks (optional) */ | * UI Callbacks (optional) */ | ||||
void UI::uiFocus(bool, CrossingMode) | |||||
void UI::uiFocus(bool, DGL_NAMESPACE::CrossingMode) | |||||
{ | { | ||||
} | } | ||||
@@ -93,7 +93,7 @@ struct OscData { | |||||
// ----------------------------------------------------------------------- | // ----------------------------------------------------------------------- | ||||
class UIDssi : public IdleCallback | |||||
class UIDssi : public DGL_NAMESPACE::IdleCallback | |||||
{ | { | ||||
public: | public: | ||||
UIDssi(const OscData& oscData, const char* const uiTitle, const double sampleRate) | UIDssi(const OscData& oscData, const char* const uiTitle, const double sampleRate) | ||||
@@ -195,7 +195,7 @@ public: | |||||
// ------------------------------------------------------------------- | // ------------------------------------------------------------------- | ||||
#if DISTRHO_PLUGIN_HAS_EXTERNAL_UI | #if DISTRHO_PLUGIN_HAS_EXTERNAL_UI | ||||
void exec(IdleCallback* const cb) | |||||
void exec(DGL_NAMESPACE::IdleCallback* const cb) | |||||
{ | { | ||||
DISTRHO_SAFE_ASSERT_RETURN(cb != nullptr,); | DISTRHO_SAFE_ASSERT_RETURN(cb != nullptr,); | ||||
DISTRHO_SAFE_ASSERT_RETURN(ui != nullptr,); | DISTRHO_SAFE_ASSERT_RETURN(ui != nullptr,); | ||||
@@ -228,7 +228,7 @@ public: | |||||
} | } | ||||
#else | #else | ||||
# if DISTRHO_UI_IS_STANDALONE | # if DISTRHO_UI_IS_STANDALONE | ||||
void exec(IdleCallback* const cb) | |||||
void exec(DGL_NAMESPACE::IdleCallback* const cb) | |||||
{ | { | ||||
DISTRHO_SAFE_ASSERT_RETURN(cb != nullptr,); | DISTRHO_SAFE_ASSERT_RETURN(cb != nullptr,); | ||||
@@ -239,7 +239,7 @@ public: | |||||
ui(uiPtr) {} | ui(uiPtr) {} | ||||
protected: | protected: | ||||
void onFocus(const bool focus, const CrossingMode mode) override | |||||
void onFocus(const bool focus, const DGL_NAMESPACE::CrossingMode mode) override | |||||
{ | { | ||||
DISTRHO_SAFE_ASSERT_RETURN(ui != nullptr,); | DISTRHO_SAFE_ASSERT_RETURN(ui != nullptr,); | ||||