From 7756a11530d9338954922c1df8e57c66a89fbdea Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Wed, 12 Jun 2019 20:48:30 +0200 Subject: Initial commit --- src/colorpicker.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/colorpicker.h (limited to 'src/colorpicker.h') diff --git a/src/colorpicker.h b/src/colorpicker.h new file mode 100644 index 0000000..d4619d1 --- /dev/null +++ b/src/colorpicker.h @@ -0,0 +1,23 @@ +#include +#include +#include +#include + +#include + +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; +}; -- cgit v1.2.3