blob: d4619d17b4817806550c532d90c2f2f9cdcfaac7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#include <cObject.h>
#include <cObjectHandler.h>
#include <cRender.h>
#include <cInput.h>
#include <stdint.h>
class colorpicker : public cObject
{
public:
colorpicker();
~colorpicker();
void onClick(sPos _pos, unsigned int _button);
uint16_t getColor();
void update();
private:
uint8_t currentFG;
uint8_t currentBG;
};
|