summaryrefslogtreecommitdiff
path: root/plugingui/plugingui.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-09 13:54:03 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-09 13:54:03 +0100
commitb3541d31093fe9f4ccd77303b6b375acb3127ac6 (patch)
tree7e56153c5bc78ce9af2912eca486c0b85286451d /plugingui/plugingui.cc
parentcaf092a708b57f86c38291ce2192e07c8563ef79 (diff)
Use new checkbox label.
Diffstat (limited to 'plugingui/plugingui.cc')
-rw-r--r--plugingui/plugingui.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugingui/plugingui.cc b/plugingui/plugingui.cc
index 49c6e26..9ff8ccd 100644
--- a/plugingui/plugingui.cc
+++ b/plugingui/plugingui.cc
@@ -177,14 +177,10 @@ void PluginGUI::init()
window->resize(640, 200);
// Enable Velocity
- GUI::Label *lbl_enable = new GUI::Label(window);
- lbl_enable->setText("Enable Velocity Modifier");
- lbl_enable->move(97, 81);
- lbl_enable->resize(100, 20);
-
check = new GUI::CheckBox(window);
+ check->setText("Enable Velocity Modifier");
check->move(82,82);
- check->resize(16,16);
+ check->resize(200,16);
check->setChecked(Conf::enable_velocity_modifier);
check->registerClickHandler(checkClick, this);