From b0e68a7fcc7856da15ae07b3274dd6500ad788c9 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Fri, 29 Mar 2002 13:10:05 +0000 Subject: Les champs de bit part_sensitive et flags du header sont port�s � 16 bits (unsigned short). --- generic/Item.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/generic/Item.h b/generic/Item.h index a223709..67fd646 100644 --- a/generic/Item.h +++ b/generic/Item.h @@ -86,22 +86,22 @@ */ typedef struct _ItemStruct { /* Private data */ - int id; - ZnList tags; - struct _WidgetInfo *wi; /* The widget this item is on */ - struct _ItemClassStruct *class; /* item class */ - struct _ItemStruct *previous; /* previous item in group list */ - struct _ItemStruct *next; /* next item in group list */ - ZnBBox item_bounding_box; /* device item bounding box */ + int id; + ZnList tags; + struct _WidgetInfo *wi; /* The widget this item is on */ + struct _ItemClassStruct *class; /* item class */ + struct _ItemStruct *previous; /* previous item in group list */ + struct _ItemStruct *next; /* next item in group list */ + ZnBBox item_bounding_box; /* device item bounding box */ /* Common attributes */ - unsigned char flags; - unsigned char part_sensitive; /* Currently limited to 8 parts per item */ - short inv_flags; - struct _ItemStruct *parent; - int priority; - struct _ZnTransfo *transfo; - struct _ItemStruct *connected_item; /* Item this item is connected to */ + unsigned short flags; + unsigned short part_sensitive; /* Currently limited to 16 parts per item */ + short inv_flags; + struct _ItemStruct *parent; + int priority; + struct _ZnTransfo *transfo; + struct _ItemStruct *connected_item; /* Item this item is connected to */ } ItemStruct, *Item; -- cgit v1.1