DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit 6b05d39e61eaf023c697bd5f345da4945dbd4127
parent 1ccefd8c7298f0b459ef9c8d6dc42b49a4afc5eb
Author: falkTX <falktx@falktx.com>
Date:   Sat,  3 Jul 2021 23:04:45 +0100

Mention Window::addIdleCallback in Application::addIdleCallback

Signed-off-by: falkTX <falktx@falktx.com>

Diffstat:
Mdgl/Application.hpp | 2+-
Mdgl/Window.hpp | 11-----------
2 files changed, 1 insertion(+), 12 deletions(-)

diff --git a/dgl/Application.hpp b/dgl/Application.hpp @@ -79,7 +79,7 @@ public: Add a callback function to be triggered on every idle cycle. You can add more than one, and remove them at anytime with removeIdleCallback(). Idle callbacks trigger right after OS event handling and Window idle events (within the same cycle). - There are no guarantees in terms of timing. + There are no guarantees in terms of timing, use Window::addIdleCallback for time-relative callbacks. */ void addIdleCallback(IdleCallback* callback); diff --git a/dgl/Window.hpp b/dgl/Window.hpp @@ -458,15 +458,4 @@ private: END_NAMESPACE_DGL -/* TODO - * add eventcrossing/enter-leave event - */ -#if 0 -protected: - bool handlePluginKeyboard(const bool press, const uint key); - bool handlePluginSpecial(const bool press, const Key key); -#endif - -// ----------------------------------------------------------------------- - #endif // DGL_WINDOW_HPP_INCLUDED