diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-06-12 20:48:30 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-06-12 20:48:30 +0200 |
commit | 7756a11530d9338954922c1df8e57c66a89fbdea (patch) | |
tree | 1fc4f9f070de5b1882f5953713f27e02b66a81e5 /src/colorpicker.h | |
download | ascedit-7756a11530d9338954922c1df8e57c66a89fbdea.tar.gz |
Initial commit
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; +}; |