Updated PCI IDs to latest snapshot.
[tangerine.git] / workbench / libs / desktop / iconclass.h
blob18666b7d0d35f426964cb160ff9463ca39017615
1 /*
2 Copyright © 1995-2002, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef ICONCLASS_H
7 # define ICONCLASS_H
9 #include "abstracticon.h"
11 # define IA_BASE TAG_USER+3200
13 # define IA_DiskObject IA_BASE+1
14 # define IA_Label IA_BASE+2
15 # define IA_Selected IA_BASE+3
16 # define IA_Executed IA_BASE+4
17 # define IA_Directory IA_BASE+5
18 # define IA_ViewMode IA_BASE+14
19 # define IA_Size IA_BASE+15
20 # define IA_LastModified IA_BASE+16
21 # define IA_Type IA_BASE+17
22 # define IA_Desktop IA_BASE+18
24 # define IAVM_LARGEICON 1
25 # define IAVM_SMALLICON 2
26 # define IAVM_DETAIL 3
28 # define WR_SELECTED 1
30 struct IconClassData
32 struct DiskObject *diskObject;
33 UBYTE *label,
34 *directory;
35 Object *imagePart;
36 Object *labelPart;
37 BOOL selected;
38 ULONG lastClickSecs,
39 lastClickMicros;
40 UBYTE viewMode;
41 struct MUI_EventHandlerNode ehn;
42 Object *sizePart,
43 *typePart,
44 *lastModifiedPart;
45 ULONG size;
46 struct DateStamp lastChanged;
47 LONG type;
48 Object *desktop;
49 BYTE whyRedraw;
52 struct __dummyIconData__
54 struct MUI_NotifyData mnd;
55 struct MUI_AreaData mad;
56 struct PresentationClassData pcd;
57 struct AbstractIconClassData aic;
58 struct IconClassData icd;
61 # define iconData(obj) (&(((struct __dummyIconData__ *)(obj))->icd))
63 # define _selected(obj) (iconData(obj)->selected)
64 # define _diskobject(obj) (iconData(obj)->diskObject)
67 #endif