mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@403 e54a6e83-5905-42d5-8d5c-058d10e6a962
37 lines
534 B
C++
37 lines
534 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);
|
|
int y,x;
|
|
static void CleanUpProc(void* arg);
|
|
static void* TimerProc(void *arg);
|
|
|
|
public:
|
|
CInfoClock();
|
|
~CInfoClock();
|
|
|
|
void StartClock();
|
|
void StopClock();
|
|
|
|
};
|
|
|
|
#endif
|