summaryrefslogtreecommitdiff
path: root/plugingui/combobox.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-06-09 09:45:03 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-06-09 09:45:03 +0200
commit21554166b294470ac593a1a90c82d1b4fe75c61e (patch)
tree4fe4c5782a0bbcef3e3309633e0c2ee7e71c4e2a /plugingui/combobox.cc
parent108a94eaefc1e9ccfe316d4ce9a30e3bd532af5a (diff)
Add ctor for creating colours from four unsigned char values.
Diffstat (limited to 'plugingui/combobox.cc')
-rw-r--r--plugingui/combobox.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/combobox.cc b/plugingui/combobox.cc
index 6716fb1..aa2058e 100644
--- a/plugingui/combobox.cc
+++ b/plugingui/combobox.cc
@@ -111,7 +111,7 @@ void ComboBox::repaintEvent(RepaintEvent* repaintEvent)
box.setSize(w, h);
p.drawImage(0, 0, box);
- p.setColour(Colour(183.0/255.0, 219.0/255.0 , 255.0/255.0, 1));
+ p.setColour(Colour(183.0f/255.0f, 219.0f/255.0f, 255.0/255.0f, 1.0f));
p.drawText(BORDER - 4 + 3, height()/2+5 + 1 + 1, font, _text);
// p.setColour(Colour(1, 1, 1));