aboutsummaryrefslogtreecommitdiffstats
path: root/include/pugl
diff options
context:
space:
mode:
Diffstat (limited to 'include/pugl')
-rw-r--r--include/pugl/pugl.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/pugl/pugl.hpp b/include/pugl/pugl.hpp
index d9e725a..d62ecca 100644
--- a/include/pugl/pugl.hpp
+++ b/include/pugl/pugl.hpp
@@ -570,6 +570,18 @@ public:
return static_cast<Status>(puglRequestAttention(cobj()));
}
+ /// @copydoc puglStartTimer
+ Status startTimer(const uintptr_t id, const double timeout)
+ {
+ return static_cast<Status>(puglStartTimer(cobj(), id, timeout));
+ }
+
+ /// @copydoc puglStopTimer
+ Status stopTimer(const uintptr_t id)
+ {
+ return static_cast<Status>(puglStopTimer(cobj(), id));
+ }
+
/**
@}
@name Event Handlers