mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
our current experimental Neutrino branch
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)
This commit is contained in:
36
src/gui/infoclock.h
Normal file
36
src/gui/infoclock.h
Normal file
@@ -0,0 +1,36 @@
|
||||
#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
|
Reference in New Issue
Block a user