forked from Integreight/1Sheeld-Arduino-Library
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGLCDProgressBar.h
More file actions
39 lines (28 loc) · 698 Bytes
/
GLCDProgressBar.h
File metadata and controls
39 lines (28 loc) · 698 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
Project: 1Sheeld Library
File: GLCDProgressBar.h
Version: 7.0
Compiler: Arduino avr-gcc 4.3.2
Author: Integreight
Date: 2015.7
*/
#ifndef GLCDProgressBar_h
#define GLCDProgressBar_h
#define GLCD_PROGRESS_BAR_TYPE 0x06
#define GLCD_PROGRESS_BAR_RANGE 0x03
#define GLCD_PROGRESS_BAR_VALUE 0x04
#define GLCD_PROGRESS_BAR_DIMENSIONS 0x05
#include "ShapeClass.h"
class GLCDProgressBar : public ShapeClass
{
public:
GLCDProgressBar(int , int , int ,int );
void setRange(int , int);
void setValue(int );
void setDimensions(int,int);
private:
void draw();
int width;
int height;
};
#endif