neutrino: GUI Painting of Vol. Mute and Clock (Part3)

- Use new class for volumebar
- Numeric display added for volumebar (switchable)
- Display of volumebar, mute icon and info clock optimized (top right)
- Volumebar better scalable

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2153 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 6a5ffc315f
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-03-18 (Sun, 18 Mar 2012)

Origin message was:
------------------
* neutrino: GUI Painting of Vol. Mute and Clock (Part3)

- Use new class for volumebar
- Numeric display added for volumebar (switchable)
- Display of volumebar, mute icon and info clock optimized (top right)
- Volumebar better scalable

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2153 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
Michael Liebmann
2012-03-18 18:46:48 +00:00
parent 7d83fe79da
commit 04f20ee14b
10 changed files with 533 additions and 273 deletions

View File

@@ -16,23 +16,24 @@ class CInfoClock
private:
CFrameBuffer * frameBuffer;
pthread_t thrTimer;
void Init();
int time_width;
int time_height;
int clock_x;
void paintTime( bool show_dot);
int y,x;
static void CleanUpProc(void* arg);
static void* TimerProc(void *arg);
pthread_t thrTimer;
void paintTime( bool show_dot);
int time_offset, digit_offset, digit_h;
int x, y, clock_x;
static void CleanUpProc(void* arg);
static void* TimerProc(void *arg);
public:
CInfoClock();
CInfoClock(bool noVolume=false);
~CInfoClock();
static CInfoClock* getInstance(bool noVolume=false);
void StartClock();
void StopClock();
void Init(bool noVolume=false);
void StartClock();
void StopClock();
void ClearDisplay();
int time_width, time_height;
};
#endif