[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdegames/kmines
From: Mauricio Piacentini <piacentini () kde ! org>
Date: 2008-04-21 14:51:55
Message-ID: 1208789515.138462.4430.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 799434 by piacentini:
Reposition message itens when resizing
M +4 -0 scene.cpp
--- trunk/KDE/kdegames/kmines/scene.cpp #799433:799434
@@ -68,6 +68,10 @@
m_fieldItem->resizeToFitInRect( sceneRect() );
m_fieldItem->setPos( sceneRect().width()/2 - \
m_fieldItem->boundingRect().width()/2,
sceneRect().height()/2 - \
m_fieldItem->boundingRect().height()/2 ); + m_gamePausedMessageItem->setPos( \
sceneRect().width()/2 - m_gamePausedMessageItem->boundingRect().width()/2, + \
sceneRect().height()/2 - m_gamePausedMessageItem->boundingRect().height()/2 ); + \
m_messageItem->setPos( sceneRect().width()/2 - \
m_messageItem->boundingRect().width()/2, + \
sceneRect().height()/2 - m_messageItem->boundingRect().height()/2 ); }
void KMinesScene::drawBackground( QPainter* p, const QRectF& )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic