This commit is contained in:
doitux
2007-01-16 22:42:02 +00:00
parent 81259c38f6
commit bf5d8f5c7d
5 changed files with 28 additions and 10 deletions
-3
View File
@@ -1,7 +1,4 @@
<RCC> <RCC>
<qresource prefix="/font" >
<file>n019003l.afm</file>
</qresource>
<qresource prefix="/graphics" > <qresource prefix="/graphics" >
<file>cards/dealerbutton.png</file> <file>cards/dealerbutton.png</file>
<file>cards/logo1-140x100_neu.png</file> <file>cards/logo1-140x100_neu.png</file>
Binary file not shown.
+11 -6
View File
@@ -116,9 +116,9 @@
<colorrole role="Base" > <colorrole role="Base" >
<brush brushstyle="SolidPattern" > <brush brushstyle="SolidPattern" >
<color alpha="255" > <color alpha="255" >
<red>255</red> <red>74</red>
<green>255</green> <green>131</green>
<blue>255</blue> <blue>83</blue>
</color> </color>
</brush> </brush>
</colorrole> </colorrole>
@@ -271,9 +271,9 @@
<colorrole role="Base" > <colorrole role="Base" >
<brush brushstyle="SolidPattern" > <brush brushstyle="SolidPattern" >
<color alpha="255" > <color alpha="255" >
<red>255</red> <red>74</red>
<green>255</green> <green>131</green>
<blue>255</blue> <blue>83</blue>
</color> </color>
</brush> </brush>
</colorrole> </colorrole>
@@ -3123,6 +3123,11 @@
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
<property name="font" >
<font>
<pointsize>9</pointsize>
</font>
</property>
</widget> </widget>
</item> </item>
<item row="0" column="0" > <item row="0" column="0" >
+7
View File
@@ -147,6 +147,13 @@ mainWindowImpl::mainWindowImpl(QMainWindow *parent, const char *name)
inactive.setRgb(83,141,107); inactive.setRgb(83,141,107);
highlight.setRgb(151,214,109); highlight.setRgb(151,214,109);
//Schriftart laden
cout << "schriftart läd: " << QFontDatabase::addApplicationFont ("src/gui/qt/font.ttf") << endl;
QFont tmpFont("Tuffy");
QApplication::setFont(tmpFont);
//firstCallNewGame Test init //firstCallNewGame Test init
firstCallNewGame = TRUE; firstCallNewGame = TRUE;
+9
View File
@@ -17,7 +17,12 @@
* Free Software Foundation, Inc., * * Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/ ***************************************************************************/
/////// can be removed for non-qt-guis ////////////
#include <qapplication.h> #include <qapplication.h>
// #include <QFont>
// #include <QFontDatabase>
///////////////////////////////////////////////////
#include "session.h" #include "session.h"
#include "guiwrapper.h" #include "guiwrapper.h"
@@ -29,8 +34,12 @@ int main( int argc, char **argv )
srand( time(0) ); srand( time(0) );
/////// can be removed for non-qt-guis ////////////
QApplication a( argc, argv ); QApplication a( argc, argv );
Q_INIT_RESOURCE(deck); Q_INIT_RESOURCE(deck);
///////////////////////////////////////////////////
GuiInterface *myGuiInterface = new GuiWrapper(); GuiInterface *myGuiInterface = new GuiWrapper();