[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/office/flake/lib
From: Thomas Zander <zander () kde ! org>
Date: 2006-05-15 12:20:59
Message-ID: 1147695659.865558.25998.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 541042 by zander:
Add keep aspect-ratio bool in KoShape
M +1 -0 KoShape.cpp
M +4 -1 KoShape.h
M +2 -0 TODO
--- trunk/playground/office/flake/lib/KoShape.cpp #541041:541042
@@ -45,6 +45,7 @@
, m_parent( 0 )
, m_visible( true )
, m_locked( false )
+, m_keepAspect( false )
, m_repaintManager(0)
{
recalcMatrix();
--- trunk/playground/office/flake/lib/KoShape.h #541041:541042
@@ -340,6 +340,9 @@
*/
void setBorder(KoShapeBorderModel *border) { m_border = border; }
+ void setKeepAspectRatio(bool keepAspect) { m_keepAspect = keepAspect; }
+ bool keepAspectRatio() { return m_keepAspect; }
+
protected:
QMatrix m_invMatrix;
QBrush m_backgroundBrush;
@@ -371,7 +374,7 @@
int m_zIndex;
KoShapeContainer *m_parent;
- bool m_visible, m_locked;
+ bool m_visible, m_locked, m_keepAspect;
KoRepaintManager *m_repaintManager;
--- trunk/playground/office/flake/lib/TODO #541041:541042
@@ -7,3 +7,5 @@
Also here a bool for the destructor -> del KoShape
* discuss possibility to move KoShapp::m_connectors to a specialized class
(since its only for Kivio)
+
+* add KeepAspectRatio bool in KoShape ?
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic