-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPJPTchPage.h
44 lines (32 loc) · 814 Bytes
/
PJPTchPage.h
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
40
41
42
43
44
#ifndef PJPTchPage_h
#define PJPTchPage_h
#include <Adafruit_ILI9341.h>
#include <Adafruit_STMPE610.h>
#include "PJPTchObject.h"
#include "PJPTchButton.h"
#include "PJPRadioGroup.h"
namespace PJPTch
{
class PJPTchPage : public TchObject
{
public:
//constructors
PJPTchPage(const char*,Adafruit_ILI9341&);
//getters & setters
uint16_t Value( ) const;
uint16_t Value(uint16_t );
//operators
//functions
void Draw();
boolean Touched(TS_Point p);
private:
String pageName_;
TSize pageSize_ = TSize(320,240);
uint16_t xoffst_=50;
uint16_t yoffst_=25;
//PJPRadioGroup tabs_;
PJPRadioGroup knobs_;
//PJPRadioGroup items_;
};
}
#endif /* PJPTchPage_h */