mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +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
------------------
Branch: ni/coolstream
Commit: bc5bd4154e
Author: mrcolor <mrcolor@e54a6e83-5905-42d5-8d5c-058d10e6a962>
Date: 2009-12-08 (Tue, 08 Dec 2009)
------------------
This commit was generated by Migit
This commit is contained in:
22
src/gui/scale.h
Normal file
22
src/gui/scale.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef __scale_
|
||||
#define __scale_
|
||||
|
||||
#include <driver/framebuffer.h>
|
||||
|
||||
class CScale
|
||||
{
|
||||
private:
|
||||
CFrameBuffer * frameBuffer;
|
||||
short width;
|
||||
short height;
|
||||
char percent;
|
||||
short red, green, yellow;
|
||||
bool inverse;
|
||||
public:
|
||||
CScale(int w, int h, int r, int g, int b, bool inv = false);
|
||||
void paint(int x, int y, int pcr);
|
||||
void hide();
|
||||
void reset();
|
||||
int getPercent() { return percent; };
|
||||
};
|
||||
#endif
|
Reference in New Issue
Block a user