# HG changeset patch
# User unc0rr
# Date 1225486240 0
# Node ID 44cc464de8f320e8018ed9e9cbb7281fd42d0a00
# Parent 2539dd079be19d958727af07c5edd7cd640c60f4
Add lightbulbs, some more changes to look
diff -r 2539dd079be1 -r 44cc464de8f3 QTfrontend/chatwidget.cpp
--- a/QTfrontend/chatwidget.cpp Fri Oct 31 20:48:09 2008 +0000
+++ b/QTfrontend/chatwidget.cpp Fri Oct 31 20:50:40 2008 +0000
@@ -107,7 +107,7 @@
}
if(isReady)
- items[0]->setIcon(QIcon(":/res/checked.png"));
+ items[0]->setIcon(QIcon(":/res/lightbulb_on.png"));
else
- items[0]->setIcon(QIcon(":/res/unchecked.png"));
+ items[0]->setIcon(QIcon(":/res/lightbulb_off.png"));
}
diff -r 2539dd079be1 -r 44cc464de8f3 QTfrontend/hedgewars.qrc
--- a/QTfrontend/hedgewars.qrc Fri Oct 31 20:48:09 2008 +0000
+++ b/QTfrontend/hedgewars.qrc Fri Oct 31 20:50:40 2008 +0000
@@ -38,6 +38,8 @@
res/weaponsicon.png
res/teamicon.png
res/panelbg.png
+ res/lightbulb_on.png
+ res/lightbulb_off.png
res/spin_up.png
res/spin_down.png
diff -r 2539dd079be1 -r 44cc464de8f3 QTfrontend/pages.cpp
--- a/QTfrontend/pages.cpp Fri Oct 31 20:48:09 2008 +0000
+++ b/QTfrontend/pages.cpp Fri Oct 31 20:50:40 2008 +0000
@@ -599,16 +599,20 @@
QHBoxLayout * bottomLine = new QHBoxLayout();
vLayout->addStretch();
vLayout->addLayout(topLine);
+ vLayout->addSpacing(30);
vLayout->addLayout(middleLine);
vLayout->addStretch();
vLayout->addLayout(bottomLine);
+ topLine->addStretch();
BtnSimpleGamePage = addButton(":/res/SimpleGame.png", topLine, 0, true);
BtnSimpleGamePage->setToolTip(tr("Simple Game (a quick game against the computer, settings are chosen for you)"));
-
+ topLine->addSpacing(60);
BtnMultiplayer = addButton(":/res/Multiplayer.png", topLine, 1, true);
BtnMultiplayer->setToolTip(tr("Multiplayer (play a hotseat game against your friends, or AI teams)"));
-// pageLayout->setAlignment(BtnSinglePlayer, Qt::AlignHCenter);
+ topLine->addStretch();
+
+
BtnTrainPage = addButton(":/res/Trainings.png", middleLine, 0, true);
BtnTrainPage->setToolTip(tr("Training Mode (Practice your skills in a range of training missions). IN DEVELOPMENT"));
diff -r 2539dd079be1 -r 44cc464de8f3 QTfrontend/res/lightbulb_off.png
Binary file QTfrontend/res/lightbulb_off.png has changed
diff -r 2539dd079be1 -r 44cc464de8f3 QTfrontend/res/lightbulb_on.png
Binary file QTfrontend/res/lightbulb_on.png has changed