From 506bff7b0ea8619d634d16088a4168b088af8359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Fri, 21 Apr 2017 22:15:48 +0200 Subject: Remove version number at the bottom and the logo from the about tab. --- plugingui/mainwindow.cc | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'plugingui/mainwindow.cc') 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); -- cgit v1.2.3