summaryrefslogtreecommitdiff
path: root/plugingui/colour.h
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2018-06-16 12:52:48 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-08-12 11:13:53 +0200
commit8ad5f7c39db55cab3f78fdefab323435261941fd (patch)
treefb5a3f4a29716a83e18a96b70ec9162d9e93b8c6 /plugingui/colour.h
parent20bdae6c72192c87bf95c6ac86c8cc049aa1ab5a (diff)
Add hovering to visualization.
Diffstat (limited to 'plugingui/colour.h')
-rw-r--r--plugingui/colour.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/plugingui/colour.h b/plugingui/colour.h
index 0bfe80d..3a135fc 100644
--- a/plugingui/colour.h
+++ b/plugingui/colour.h
@@ -54,13 +54,4 @@ private:
std::array<float, 4> data;
};
-struct ColourHasher
-{
- // TODO: replace by something reasonable
- std::size_t operator()(const Colour& colour) const
- {
- return 7*colour.red() + 11*colour.green() + 13*colour.blue()/* + 17*colour.alpha()*/;
- }
-};
-
} // GUI::