summaryrefslogtreecommitdiff
path: root/plugingui/button.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-04-04 21:19:58 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-04-04 21:19:58 +0200
commit77b3943b751bed43d230de6db322a750bfd1fc8e (patch)
treecd7d98bc8c06c660558a52f2b6b6ed73982efdf2 /plugingui/button.cc
parent0e436ebcd7faacb557ab94952765cb6bcfd7d259 (diff)
New message system. New common midi input class. Some compiler warning fixes. New ListBoxBasic class used by both LustBox and ComboBox. New embossed font.
Diffstat (limited to 'plugingui/button.cc')
-rw-r--r--plugingui/button.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/button.cc b/plugingui/button.cc
index 2370f29..d03bc01 100644
--- a/plugingui/button.cc
+++ b/plugingui/button.cc
@@ -99,10 +99,10 @@ void GUI::Button::repaintEvent(GUI::RepaintEvent *e)
break;
}
- Font font;
+ Font font(":fontemboss.png");
p.setColour(Colour(0.1));
p.drawText(width()/2-(text.length()*3)+(state==up?0:1),
- height()/2+5+(state==up?0:1), font, text);
+ height()/2+5+(state==up?0:1), font, text, true);
}
void GUI::Button::setText(std::string text)