-rw-r--r-- | core/launcher/firstuse.cpp | 6 | ||||
-rw-r--r-- | pics/launcher/firstuse.jpg | bin | 0 -> 12739 bytes |
2 files changed, 2 insertions, 4 deletions
diff --git a/core/launcher/firstuse.cpp b/core/launcher/firstuse.cpp index e9e2d83..acddeea 100644 --- a/core/launcher/firstuse.cpp +++ b/core/launcher/firstuse.cpp | |||
@@ -441,28 +441,26 @@ void FirstUse::paintEvent( QPaintEvent * ) | |||
441 | if ( currApp < 0 ) { | 441 | if ( currApp < 0 ) { |
442 | drawText(p, tr( "Tap anywhere on the screen to continue." )); | 442 | drawText(p, tr( "Tap anywhere on the screen to continue." )); |
443 | } else if ( settingsTable[currApp].app ) { | 443 | } else if ( settingsTable[currApp].app ) { |
444 | if ( waitingForLaunch ) | 444 | if ( waitingForLaunch ) |
445 | drawText(p, tr("Please wait, loading %1 settings.").arg(tr(settingsTable[currApp].desc)) ); | 445 | drawText(p, tr("Please wait, loading %1 settings.").arg(tr(settingsTable[currApp].desc)) ); |
446 | } else { | 446 | } else { |
447 | drawText(p, tr("Please wait...")); | 447 | drawText(p, tr("Please wait...")); |
448 | } | 448 | } |
449 | } | 449 | } |
450 | 450 | ||
451 | void FirstUse::loadPixmaps() | 451 | void FirstUse::loadPixmaps() |
452 | { | 452 | { |
453 | /* create background, tr so can change image with language. | 453 | splash.convertFromImage( Resource::loadImage("launcher/firstuse") |
454 | images will likely contain text. */ | 454 | .smoothScale( width(), height() ) ); |
455 | splash.convertFromImage( Resource::loadImage(tr("FirstUseBackground")) | ||
456 | .smoothScale( width(), height() ) ); | ||
457 | 455 | ||
458 | setBackgroundPixmap(splash); | 456 | setBackgroundPixmap(splash); |
459 | } | 457 | } |
460 | 458 | ||
461 | void FirstUse::drawText(QPainter &p, const QString &text) | 459 | void FirstUse::drawText(QPainter &p, const QString &text) |
462 | { | 460 | { |
463 | QString altered = "<CENTER>" + text + "</CENTER>"; | 461 | QString altered = "<CENTER>" + text + "</CENTER>"; |
464 | 462 | ||
465 | QSimpleRichText rt(altered, p.font()); | 463 | QSimpleRichText rt(altered, p.font()); |
466 | rt.setWidth(width() - 20); | 464 | rt.setWidth(width() - 20); |
467 | 465 | ||
468 | int h = (height() * 3) / 10; // start at 30% | 466 | int h = (height() * 3) / 10; // start at 30% |
diff --git a/pics/launcher/firstuse.jpg b/pics/launcher/firstuse.jpg new file mode 100644 index 0000000..92fb044 --- a/dev/null +++ b/pics/launcher/firstuse.jpg | |||
Binary files differ | |||