diff options
Diffstat (limited to 'generic/Item.h')
-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; |