[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeedu/khangman/khangman
From:       Anne-Marie Mahfouf <annma () kde ! org>
Date:       2005-04-11 15:37:12
Message-ID: 20050411153712.0FBA5633 () office ! kde ! org
[Download RAW message or body]

CVS commit by annma: 

already guessed in Misses for desert theme


  M +20 -11    khangmanview.cpp   1.100


--- kdeedu/khangman/khangman/khangmanview.cpp  #1.99:1.100
@@ -72,4 +72,5 @@ KHangManView::KHangManView(KHangMan*pare
     connect( charWrite, SIGNAL( returnPressed() ), this, SLOT( slotTry() ) );
     connect (guessButton, SIGNAL( clicked() ), this, SLOT( slotTry() ));
+    
 }
 
@@ -283,4 +284,5 @@ void KHangManView::paintMissedTwice()
     paint.setPen(QColor(Qt::red));
     QRect aux = paint.boundingRect(QRect(), AlignLeft|AlignTop|DontClip, \
missedL.left(redIndex)); +    if (Prefs::mode() ==0) { //sea theme
     if (redIndex == 0)
         paint.drawText( width()/2+width()/4 +aux.width()+1, height()/13, \
QString(missedL[redIndex])); @@ -295,4 +297,11 @@ void \
                KHangManView::paintMissedTwice()
         paint.drawText( width()/2+width()/4 +aux.width() -4, height()/13+12, 0, 0, \
AlignLeft|AlignTop|DontClip,QString(missedL[redIndex]));  }
+    }
+    else  { //desert theme
+        if (redIndex == 0)
+            paint.drawText( width()*130/700 +aux.width()+1, height()/13,  \
QString(missedL[redIndex])); +        else 
+            paint.drawText( width()*130/700 +aux.width()-4, 0, 0, 0, \
AlignLeft|AlignTop|DontClip,QString(missedL[redIndex])); +    }
     paint.end();
     bitBlt(this, 0, 0, paletteBackgroundPixmap());


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic