#ifndef __infoclock__ #define __infoclock__ #include #include #include #include "gui/color.h" #include class CInfoClock { private: CFrameBuffer * frameBuffer; pthread_t thrTimer; int time_width; int time_height; void paintTime( bool show_dot); int y,x; static void CleanUpProc(void* arg); static void* TimerProc(void *arg); public: CInfoClock(); ~CInfoClock(); void StartClock(); void StopClock(); }; #endif