diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2019-05-31 15:50:24 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-04-09 16:44:41 +0200 |
commit | cf49b305a0c9e10a8b08ac626019f1502c5f12ee (patch) | |
tree | 9d85aa4c396d1dd3e9ea7badce4ff1b581bf1e70 /plugingui/colour.h | |
parent | 22d2d946da85e513b67affc87dfef2b42ded3b27 (diff) |
Stretched drumkit image test.
Diffstat (limited to 'plugingui/colour.h')
-rw-r--r-- | plugingui/colour.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugingui/colour.h b/plugingui/colour.h index 0bc8659..0b4f09e 100644 --- a/plugingui/colour.h +++ b/plugingui/colour.h @@ -54,6 +54,9 @@ public: std::uint8_t* data() { return pixel.data(); } const std::uint8_t* data() const { return pixel.data(); } + Colour operator+(const Colour& other) const; + Colour operator*(float v) const; + private: std::array<std::uint8_t, 4> pixel{{255, 255, 255, 255}}; }; |