diff options
Diffstat (limited to 'src/colorpicker.h')
-rw-r--r-- | src/colorpicker.h | 23 |
1 files changed, 23 insertions, 0 deletions
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 <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; +}; |