From 247112ae5c4159209d9b860be9d53ab3d9f46bcf Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Fri, 18 Dec 2020 08:50:23 +0100 Subject: [PATCH] LastPrimitive fixed --- src/common/QskAspect.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/common/QskAspect.h b/src/common/QskAspect.h index 17f989c3..524270a1 100644 --- a/src/common/QskAspect.h +++ b/src/common/QskAspect.h @@ -51,6 +51,8 @@ QSK_NAMESPACE( QskAspect ) }; QSK_ENUM( Type ) + enum { LastType = Color }; // max. value for all types + enum FlagPrimitive : quint8 { NoFlagPrimitive, @@ -85,9 +87,6 @@ QSK_NAMESPACE( QskAspect ) }; QSK_ENUM( MetricPrimitive ) - enum { LastType = Color }; // max. value for all types - enum { LastPrimitive = 16 }; // max. value for all sort of primitives - enum ColorPrimitive : quint8 { NoColorPrimitive, @@ -98,6 +97,8 @@ QSK_NAMESPACE( QskAspect ) }; QSK_ENUM( ColorPrimitive ) + enum { LastPrimitive = 15 }; // max. value for all sort of primitives + enum Placement : quint8 { NoPlacement = 0,