diff --git a/src/gui/qt/mainwindowimpl.cpp b/src/gui/qt/mainwindowimpl.cpp index 8c7c3536..4698f792 100755 --- a/src/gui/qt/mainwindowimpl.cpp +++ b/src/gui/qt/mainwindowimpl.cpp @@ -49,7 +49,7 @@ mainWindowImpl::mainWindowImpl(QMainWindow *parent, const char *name) : QMainWindow(parent, name), actualGame(0), actualHand(0), mySession(0), maxQuantityPlayers(maxQuantityPlayersConst), gameSpeed(0), debugMode(0), breakAfterActualHand(FALSE) { // Schriftart laden - QFontDatabase::addApplicationFont ("src/gui/qt/n019003l.pfb"); + QFontDatabase::addApplicationFont ("src/gui/qt/fonts/n019003l.pfb"); QFont tmpFont("Nimbus Sans L",9); QApplication::setFont(tmpFont); diff --git a/src/gui/qt/startsplash/startsplash.cpp b/src/gui/qt/startsplash/startsplash.cpp index 7ba80cf6..27fa3e41 100644 --- a/src/gui/qt/startsplash/startsplash.cpp +++ b/src/gui/qt/startsplash/startsplash.cpp @@ -1,19 +1,29 @@ -// -// C++ Implementation: startsplash -// -// Description: -// -// -// Author: FThauer FHammer , (C) 2007 -// -// Copyright: See COPYING file that comes with this distribution -// -// +/*************************************************************************** + * Copyright (C) 2006 by FThauer FHammer * + * f.thauer@web.de * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ #include "startsplash.h" StartSplash::StartSplash() : QWidget() { + QFontDatabase::addApplicationFont ("src/gui/qt/fonts/c059013l.pfb"); + frameNo = 0; @@ -37,17 +47,30 @@ void StartSplash::paintEvent(QPaintEvent * event) { QPainter painter(this); - if(frameNo < 51) { + if(frameNo < 40) { painter.setBrush(QColor(0+frameNo,40+frameNo,6+frameNo)); painter.drawRect(0,0,299,199); } - if(frameNo >= 51) { + if(frameNo >= 40 && frameNo < 65) { - painter.setBrush(QColor(51,91,57)); + painter.setBrush(QColor(40,80,46)); painter.drawRect(0,0,299,199); } + + if(frameNo >= 65 && frameNo < 90) { + + painter.setBrush(QColor(40,80,46)); + painter.drawRect(0,0,299,199); + + QFont font1("Century Schoolbook L",20); + painter.setFont(font1); + painter.setPen(QColor(255,255,255)); + painter.drawText(20,20,140,40,1,"Welcome"); + + } + }