summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsitem_p.h
diff options
context:
space:
mode:
authorAriya Hidayat <ariya.hidayat@nokia.com>2009-06-02 11:57:45 (GMT)
committerAriya Hidayat <ariya.hidayat@nokia.com>2009-06-02 12:06:04 (GMT)
commit96773d4b21ce288b26857159dfbb553a81ae3a94 (patch)
tree2e8611e4737233a636d6249ce7d90e98bd657a75 /src/gui/graphicsview/qgraphicsitem_p.h
parentf001cda07f6aa026d59e448b49212c0182ed895c (diff)
downloadQt-96773d4b21ce288b26857159dfbb553a81ae3a94.zip
Qt-96773d4b21ce288b26857159dfbb553a81ae3a94.tar.gz
Qt-96773d4b21ce288b26857159dfbb553a81ae3a94.tar.bz2
Another n-th attempt at making an API for the effect framework.
The implementation is not efficient, it serves as the proof-of-concept only. Check the notes in qgraphicseffect.cpp for details.
Diffstat (limited to 'src/gui/graphicsview/qgraphicsitem_p.h')
-rw-r--r--src/gui/graphicsview/qgraphicsitem_p.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem_p.h b/src/gui/graphicsview/qgraphicsitem_p.h
index bd81fe5..a2cb4ab 100644
--- a/src/gui/graphicsview/qgraphicsitem_p.h
+++ b/src/gui/graphicsview/qgraphicsitem_p.h
@@ -113,7 +113,9 @@ public:
ExtraBoundingRegionGranularity,
ExtraOpacity,
ExtraEffectiveOpacity,
- ExtraDecomposedTransform
+ ExtraDecomposedTransform,
+ ExtraEffect,
+ ExtraEffectPixmap,
};
enum AncestorFlag {
@@ -155,6 +157,7 @@ public:
dirtyClipPath(1),
emptyClipPath(0),
inSetPosHelper(0),
+ hasEffect(0),
flags(0),
allChildrenCombineOpacity(1),
hasDecomposedTransform(0),
@@ -345,12 +348,13 @@ public:
quint32 inSetPosHelper : 1;
// New 32 bits
+ quint32 hasEffect : 1;
quint32 flags : 10;
quint32 allChildrenCombineOpacity : 1;
quint32 hasDecomposedTransform : 1;
quint32 dirtyTransform : 1;
quint32 dirtyTransformComponents : 1;
- quint32 padding : 18; // feel free to use
+ quint32 padding : 17; // feel free to use
// Optional stacking order
int globalStackingOrder;