mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 02:11:04 +02:00
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@27 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: bc5bd4154e
Author: mrcolor <mrcolor@e54a6e83-5905-42d5-8d5c-058d10e6a962>
Date: 2009-12-08 (Tue, 08 Dec 2009)
37 lines
522 B
C++
37 lines
522 B
C++
#ifndef __infoclock__
|
|
#define __infoclock__
|
|
|
|
|
|
#include <driver/framebuffer.h>
|
|
#include <driver/fontrenderer.h>
|
|
#include <system/settings.h>
|
|
|
|
#include "gui/color.h"
|
|
|
|
#include <string>
|
|
|
|
|
|
class CInfoClock
|
|
{
|
|
private:
|
|
CFrameBuffer * frameBuffer;
|
|
|
|
pthread_t thrTimer;
|
|
int time_width;
|
|
int time_height;
|
|
void paintTime( bool show_dot);
|
|
|
|
static void CleanUpProc(void* arg);
|
|
static void* TimerProc(void *arg);
|
|
|
|
public:
|
|
CInfoClock();
|
|
~CInfoClock();
|
|
|
|
void StartClock();
|
|
void StopClock();
|
|
|
|
};
|
|
|
|
#endif
|