diff --git a/src/gui/qt/deck.qrc b/src/gui/qt/deck.qrc index e72cd462..d263bb0c 100755 --- a/src/gui/qt/deck.qrc +++ b/src/gui/qt/deck.qrc @@ -1,7 +1,4 @@ - - n019003l.afm - cards/dealerbutton.png cards/logo1-140x100_neu.png diff --git a/src/gui/qt/font.ttf b/src/gui/qt/font.ttf new file mode 100644 index 00000000..8151817b Binary files /dev/null and b/src/gui/qt/font.ttf differ diff --git a/src/gui/qt/mainwindow.ui b/src/gui/qt/mainwindow.ui index 2c253fd0..eb9e87b7 100644 --- a/src/gui/qt/mainwindow.ui +++ b/src/gui/qt/mainwindow.ui @@ -116,9 +116,9 @@ - 255 - 255 - 255 + 74 + 131 + 83 @@ -271,9 +271,9 @@ - 255 - 255 - 255 + 74 + 131 + 83 @@ -3123,6 +3123,11 @@ 0 + + + 9 + + diff --git a/src/gui/qt/mainwindowimpl.cpp b/src/gui/qt/mainwindowimpl.cpp index 5f84e7ee..ae1e794c 100755 --- a/src/gui/qt/mainwindowimpl.cpp +++ b/src/gui/qt/mainwindowimpl.cpp @@ -147,6 +147,13 @@ mainWindowImpl::mainWindowImpl(QMainWindow *parent, const char *name) inactive.setRgb(83,141,107); 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 = TRUE; diff --git a/src/pokerth.cpp b/src/pokerth.cpp index 27c35c47..cc872fbb 100755 --- a/src/pokerth.cpp +++ b/src/pokerth.cpp @@ -17,7 +17,12 @@ * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ + +/////// can be removed for non-qt-guis //////////// #include +// #include +// #include +/////////////////////////////////////////////////// #include "session.h" #include "guiwrapper.h" @@ -29,9 +34,13 @@ int main( int argc, char **argv ) srand( time(0) ); + /////// can be removed for non-qt-guis //////////// QApplication a( argc, argv ); - Q_INIT_RESOURCE(deck); + Q_INIT_RESOURCE(deck); + /////////////////////////////////////////////////// + + GuiInterface *myGuiInterface = new GuiWrapper();