diff options
author | lecoanet | 2002-03-29 13:10:05 +0000 |
---|---|---|
committer | lecoanet | 2002-03-29 13:10:05 +0000 |
commit | b0e68a7fcc7856da15ae07b3274dd6500ad788c9 (patch) | |
tree | 1f8f484bee01cf113db569122bcd07979d3d9947 | |
parent | 673a0b1582e52c8ad1f9e1a8e1a4369c0ec8d8f3 (diff) | |
download | tkzinc-b0e68a7fcc7856da15ae07b3274dd6500ad788c9.zip tkzinc-b0e68a7fcc7856da15ae07b3274dd6500ad788c9.tar.gz tkzinc-b0e68a7fcc7856da15ae07b3274dd6500ad788c9.tar.bz2 tkzinc-b0e68a7fcc7856da15ae07b3274dd6500ad788c9.tar.xz |
Les champs de bit part_sensitive et flags du header sont port�s
� 16 bits (unsigned short).
-rw-r--r-- | generic/Item.h | 28 |
1 files 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; |