-
Notifications
You must be signed in to change notification settings - Fork 0
/
SizePicker.h
48 lines (38 loc) · 984 Bytes
/
SizePicker.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
45
46
47
/*
* File: ColorPicker.h
* Author: scribble
*
* Created on March 25, 2013, 4:42 AM
*/
#ifndef SIZEPICKER_H
#define SIZEPICKER_H
#define BUTTON_1 41
#define BUTTON_2 42
#define BUTTON_3 43
#define BUTTON_5 44
#define BUTTON_7 45
#define BUTTON_10 46
#define BUTTON_13 47
#define BUTTON_15 48
#define BUTTON_20 49
#define BUTTON_30 50
#include "Picker.h"
#include <vector>
#include "PickerButton.h"
class SizePicker : public Picker {
public:
SizePicker();
SizePicker(const SizePicker& orig);
SizePicker(int _x, int _y, int _width, int _height);
virtual ~SizePicker();
std::vector<PickerButton *> *getButtonArray();
void screenPressEvent(Point* point);
void screenMoveEvent(Point* point);
void screenReleaseEvent();
void callAction(int action);
void setScreenInterpreter(ScreenInterpreter *s);
private:
std::vector<PickerButton *> *buttonArray;
ScreenInterpreter *screenInterpreter;
};
#endif /* SIZEPICKER_H */