From 6b05d39e61eaf023c697bd5f345da4945dbd4127 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 3 Jul 2021 23:05:12 +0100 Subject: [PATCH] Mention Window::addIdleCallback in Application::addIdleCallback Signed-off-by: falkTX --- dgl/Application.hpp | 2 +- dgl/Window.hpp | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/dgl/Application.hpp b/dgl/Application.hpp index c3739227..7e726845 100644 --- 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 index b0abee25..e64035e7 100644 --- 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