Browse Source

Mention Window::addIdleCallback in Application::addIdleCallback

Signed-off-by: falkTX <falktx@falktx.com>
pull/297/head
falkTX 4 years ago
parent
commit
6b05d39e61
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 1 additions and 12 deletions
  1. +1
    -1
      dgl/Application.hpp
  2. +0
    -11
      dgl/Window.hpp

+ 1
- 1
dgl/Application.hpp View File

@@ -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);



+ 0
- 11
dgl/Window.hpp View File

@@ -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

Loading…
Cancel
Save