summaryrefslogtreecommitdiff
path: root/plugingui/mainwindow.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-04-21 22:15:48 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2017-04-21 22:15:48 +0200
commit506bff7b0ea8619d634d16088a4168b088af8359 (patch)
treeb03e468882b0a5d0688f2a76fb5ed37547c7cc7c /plugingui/mainwindow.cc
parent05bb6ad8f1ad6d3abf835a9ad91a5b42f90db920 (diff)
Remove version number at the bottom and the logo from the about tab.
Diffstat (limited to 'plugingui/mainwindow.cc')
-rw-r--r--plugingui/mainwindow.cc17
1 files changed, 1 insertions, 16 deletions
diff --git a/plugingui/mainwindow.cc b/plugingui/mainwindow.cc
index 071bafe..702178f 100644
--- a/plugingui/mainwindow.cc
+++ b/plugingui/mainwindow.cc
@@ -60,11 +60,6 @@ MainWindow::~MainWindow()
bool MainWindow::processEvents()
{
-// if(!initialised)
-// {
-// return running;
-// }
-
settings_notifier.evaluate();
eventHandler()->processEvents();
@@ -86,23 +81,13 @@ void MainWindow::repaintEvent(RepaintEvent* repaintEvent)
}
Painter painter(*this);
+ painter.clear();
auto bar_height = tabs.getBarHeight();
// Grey background
painter.drawImageStretched(0, 0, back, width(), height());
- // DrumGizmo logo
- painter.drawImage(width() - logo.width() - sidebar.width(),
- height() - logo.height(), logo);
-
- // DrumGizmo version
- std::string version_string("v." + std::string(VERSION));
- auto version_x = width() - font.textWidth(version_string) - sidebar.width() - 1;
- auto version_y = height() - 1;
- painter.setColour(Colour(0.47));
- painter.drawText(version_x, version_y, font, version_string);
-
// Topbar above the sidebars
topbar.setSize(16, bar_height);
painter.drawImage(0, 0, topbar);