summaryrefslogtreecommitdiff
path: root/plugingui/mainwindow.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/mainwindow.cc
parent645250e1cd8ce9bc1faea599df7a1b05836bfeb8 (diff)
Add dggui namespace to libdggui components.
Diffstat (limited to 'plugingui/mainwindow.cc')
-rw-r--r--plugingui/mainwindow.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugingui/mainwindow.cc b/plugingui/mainwindow.cc
index ea79cb5..a4ad7b5 100644
--- a/plugingui/mainwindow.cc
+++ b/plugingui/mainwindow.cc
@@ -38,7 +38,7 @@ namespace GUI
{
MainWindow::MainWindow(Settings& settings, void* native_window)
- : Window(native_window)
+ : dggui::Window(native_window)
, settings_notifier(settings)
, main_tab(this, settings, settings_notifier, config)
, drumkit_tab(this, settings, settings_notifier)
@@ -81,14 +81,14 @@ bool MainWindow::processEvents()
return true;
}
-void MainWindow::repaintEvent(RepaintEvent* repaintEvent)
+void MainWindow::repaintEvent(dggui::RepaintEvent* repaintEvent)
{
if(!visible())
{
return;
}
- Painter painter(*this);
+ dggui::Painter painter(*this);
auto bar_height = tabs.getBarHeight();