IntroItem background color
authortimoph <timop.harkonen@gmail.com>
Sat, 23 Jan 2010 21:44:40 +0000 (21:44 +0000)
committertimoph <timop.harkonen@gmail.com>
Sat, 23 Jan 2010 21:44:40 +0000 (21:44 +0000)
git-svn-id: file:///svnroot/impuzzle/trunk@11 e6bec12f-0854-4cc4-ad26-6875f1509f77

src/defines.h
src/introitem.cpp
src/mainwindow.cpp

index 066cffb..5ab8bb1 100644 (file)
@@ -23,7 +23,7 @@
 
 #define IMAGE_HEIGHT 400
 
 
 #define IMAGE_HEIGHT 400
 
-#define GAME_VERSION = "0.2"
+#define GAME_VERSION 0.3
 
 #define EASY_PIECE_COUNT 12
 #define HARD_PIECE_COUNT 20
 
 #define EASY_PIECE_COUNT 12
 #define HARD_PIECE_COUNT 20
index 87f0b56..3d6f65b 100644 (file)
@@ -22,6 +22,10 @@ void IntroItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
 
     painter->save();
 
 
     painter->save();
 
+    painter->setBrush(Qt::black);
+    painter->setPen(Qt::NoPen);
+    painter->drawRect(boundingRect());
+
     painter->setBrush(Qt::NoBrush);
     painter->setPen(Qt::white);
 
     painter->setBrush(Qt::NoBrush);
     painter->setPen(Qt::white);
 
index 2f1f644..df39b20 100644 (file)
@@ -35,6 +35,8 @@ MainWindow::MainWindow(QWidget *parent) :
 
     setCentralWidget(GameView::instance());
     settingsDialog_ = new SettingsDialog(this);
 
     setCentralWidget(GameView::instance());
     settingsDialog_ = new SettingsDialog(this);
+
+    setWindowTitle(tr("ImPuzzle"));
 }
 
 void MainWindow::createMenu()
 }
 
 void MainWindow::createMenu()