changed splash screen
This commit is contained in:
@@ -119,6 +119,9 @@ cChapter* cChapterList::add(const qint32& iID)
|
||||
|
||||
cChapter* cChapterList::find(const qint32& iID)
|
||||
{
|
||||
if(iID == -1)
|
||||
return(0);
|
||||
|
||||
for(int x = 0;x < count();x++)
|
||||
{
|
||||
if(at(x)->id() == iID)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 295 KiB After Width: | Height: | Size: 260 KiB |
@@ -16,13 +16,14 @@
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication a(argc, argv);
|
||||
// QPixmap pixmap(":/images/splash.png");
|
||||
QPixmap pixmap(":/images/splashEmpty.png");
|
||||
QPixmap pixmap(":/images/splash.png");
|
||||
// QPixmap pixmap(":/images/splashEmpty.png");
|
||||
cSplashScreen* lpSplash = new cSplashScreen(pixmap);
|
||||
// int id = QFontDatabase::addApplicationFont(":/fonts/Stingray.otf");
|
||||
// int id = QFontDatabase::addApplicationFont(":/fonts/Luna.ttf");
|
||||
// int id = QFontDatabase::addApplicationFont(":/fonts/Tomatoes.ttf");
|
||||
int id = QFontDatabase::addApplicationFont(":/fonts/BiggerLove.ttf");
|
||||
// int id = QFontDatabase::addApplicationFont(":/fonts/BiggerLove.ttf");
|
||||
int id = QFontDatabase::addApplicationFont(":/fonts/Tahu!.ttf");
|
||||
QString family = QFontDatabase::applicationFontFamilies(id).at(0);
|
||||
QFont splashFont(family);
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 295 KiB |
Binary file not shown.
+3
-1
@@ -130,7 +130,9 @@ FORMS += \
|
||||
ccharacterselectdialog.ui
|
||||
|
||||
DISTFILES += \
|
||||
Doxyfile
|
||||
Doxyfile \
|
||||
resources/splash.png \
|
||||
resources/splash.psd
|
||||
|
||||
RESOURCES += \
|
||||
storywriter.qrc
|
||||
|
||||
@@ -44,5 +44,6 @@
|
||||
<file>fonts/Luna.ttf</file>
|
||||
<file>fonts/Tomatoes.ttf</file>
|
||||
<file>images/splashEmpty.png</file>
|
||||
<file>fonts/Tahu!.ttf</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
Reference in New Issue
Block a user