From 196f41688d01b7f0a79567c617fd6dd3171150ff Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Mon, 21 Jan 2013 03:29:17 +0100 Subject: menu/timer: use base/timestamp --- src/menu/timer.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/menu/timer.hpp') diff --git a/src/menu/timer.hpp b/src/menu/timer.hpp index 17426332..a76a4411 100644 --- a/src/menu/timer.hpp +++ b/src/menu/timer.hpp @@ -27,20 +27,20 @@ #include #include "control.hpp" +#include "base/timestamp.hpp" namespace usdx { class Timer : public Control { private: - uint32_t duration; - uint32_t last_update; + float duration; bool ready; - uint32_t now(void) const; + Timestamp last_update; public: - Timer(Control*, uint32_t, bool = false); + Timer(Control*, float, bool = false); virtual ~Timer(); void update(void); -- cgit v1.2.3