From 5f7db157930aceb8f724e741bc2b2f1014f08d1f Mon Sep 17 00:00:00 2001 From: doitux Date: Thu, 24 May 2007 22:49:44 +0000 Subject: [PATCH] --- src/gui/qt/{ => mainwindow}/log/log.cpp | 0 src/gui/qt/{ => mainwindow}/log/log.h | 0 src/gui/qt/mainwindow/mainwindowimpl.cpp | 11 +++++++++++ 3 files changed, 11 insertions(+) rename src/gui/qt/{ => mainwindow}/log/log.cpp (100%) rename src/gui/qt/{ => mainwindow}/log/log.h (100%) diff --git a/src/gui/qt/log/log.cpp b/src/gui/qt/mainwindow/log/log.cpp similarity index 100% rename from src/gui/qt/log/log.cpp rename to src/gui/qt/mainwindow/log/log.cpp diff --git a/src/gui/qt/log/log.h b/src/gui/qt/mainwindow/log/log.h similarity index 100% rename from src/gui/qt/log/log.h rename to src/gui/qt/mainwindow/log/log.h diff --git a/src/gui/qt/mainwindow/mainwindowimpl.cpp b/src/gui/qt/mainwindow/mainwindowimpl.cpp index 47d14506..5314c3e2 100755 --- a/src/gui/qt/mainwindow/mainwindowimpl.cpp +++ b/src/gui/qt/mainwindow/mainwindowimpl.cpp @@ -41,6 +41,7 @@ #include "tools.h" #include "log.h" +#include "chat.h" #include "configfile.h" #include #include @@ -1144,6 +1145,16 @@ void mainWindowImpl::refreshGroupbox(int playerID, int status) { } } break; + //active not in action + case 3: { + if (!playerID) { + groupBoxArray[playerID]->setStyleSheet("QGroupBox { background-image: url(:/guiv2/resources/guiv2/playerBoxInactiveGlow.png) }"); + } + else { + groupBoxArray[playerID]->setStyleSheet("QGroupBox { background-image: url(:/guiv2/resources/guiv2/opponentBoxInactiveGlow.png) }"); + } + } + break; default: {} } }