From 21554166b294470ac593a1a90c82d1b4fe75c61e Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 9 Jun 2018 09:45:03 +0200 Subject: Add ctor for creating colours from four unsigned char values. --- plugingui/combobox.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugingui/combobox.cc') 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)); -- cgit v1.2.3