diff options
author | lecoanet | 2006-08-28 08:47:59 +0000 |
---|---|---|
committer | lecoanet | 2006-08-28 08:47:59 +0000 |
commit | 9c8413684e589ae90c416e08e0419b91db6f7cc3 (patch) | |
tree | c124a5ba60df98602cc82529851d476ac6def996 /generic/Item.h | |
parent | 8f3027c2d68fb19be642bb41315391056d90bd1d (diff) | |
download | tkzinc-9c8413684e589ae90c416e08e0419b91db6f7cc3.zip tkzinc-9c8413684e589ae90c416e08e0419b91db6f7cc3.tar.gz tkzinc-9c8413684e589ae90c416e08e0419b91db6f7cc3.tar.bz2 tkzinc-9c8413684e589ae90c416e08e0419b91db6f7cc3.tar.xz |
Added a -catchevent attribute that specifies whether an item should handle
events or act as a decorating object. Groups can be controlled too, there catching
state propagates to their children.
Diffstat (limited to 'generic/Item.h')
-rw-r--r-- | generic/Item.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/generic/Item.h b/generic/Item.h index 3871bf8..38e57c4 100644 --- a/generic/Item.h +++ b/generic/Item.h @@ -132,14 +132,15 @@ typedef struct _ZnAttrConfig { */ #define ZN_VISIBLE_BIT (1<<0) #define ZN_SENSITIVE_BIT (1<<1) -#define ZN_UPDATE_DEPENDENT_BIT (1<<2) -#define ZN_COMPOSE_SCALE_BIT (1<<3) -#define ZN_COMPOSE_ROTATION_BIT (1<<4) -#define ZN_COMPOSE_ALPHA_BIT (1<<5) +#define ZN_CATCH_EVENT_BIT (1<<2) +#define ZN_UPDATE_DEPENDENT_BIT (1<<3) +#define ZN_COMPOSE_SCALE_BIT (1<<4) +#define ZN_COMPOSE_ROTATION_BIT (1<<5) +#define ZN_COMPOSE_ALPHA_BIT (1<<6) /* * Must be kept one greater than the last flag shift count. */ -#define ZN_PRIVATE_FLAGS_OFFSET 6 +#define ZN_PRIVATE_FLAGS_OFFSET 7 /* |