summaryrefslogtreecommitdiff
path: root/plugingui/voicelimitframecontent.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-01-03 11:50:41 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2021-01-03 11:50:41 +0100
commit756da05c384e3d9258fc07cf9441d899238503f1 (patch)
treeb3385216148d51a2378a2bed5dfc3f0a27d4f1ec /plugingui/voicelimitframecontent.cc
parent645250e1cd8ce9bc1faea599df7a1b05836bfeb8 (diff)
Add dggui namespace to libdggui components.
Diffstat (limited to 'plugingui/voicelimitframecontent.cc')
-rw-r--r--plugingui/voicelimitframecontent.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugingui/voicelimitframecontent.cc b/plugingui/voicelimitframecontent.cc
index c7c8c28..00036a0 100644
--- a/plugingui/voicelimitframecontent.cc
+++ b/plugingui/voicelimitframecontent.cc
@@ -30,25 +30,25 @@
namespace GUI
{
-VoiceLimitFrameContent::VoiceLimitFrameContent(Widget* parent,
+VoiceLimitFrameContent::VoiceLimitFrameContent(dggui::Widget* parent,
Settings& settings,
SettingsNotifier& settings_notifier)
- : Widget(parent)
+ : dggui::Widget(parent)
, settings(settings)
, settings_notifier(settings_notifier)
{
//Setup frame.
label_text.setText(_("Per-instrument voice limit:"));
- label_text.setAlignment(TextAlignment::center);
+ label_text.setAlignment(dggui::TextAlignment::center);
//Setup layout
layout.setResizeChildren(false);
auto setup_control =
- [](Knob& knob,
+ [](dggui::Knob& knob,
LabeledControl& label,
- GridLayout& layout,
- const GridLayout::GridRange& gridrange,
+ dggui::GridLayout& layout,
+ const dggui::GridLayout::GridRange& gridrange,
float min,
float max,
float defaultval)