1 #ifndef LIBRARIES_RESOURCE_H 2 #define LIBRARIES_RESOURCE_H 3 4 /* 5 resource.library include (V45) 6 7 Copyright © 2002 The MorphOS Development Team, All Rights Reserved. 8 */ 9 10 #ifndef EXEC_TYPES_H 11 # include <exec/types.h> 12 #endif 13 14 typedef APTR RESOURCEFILE; 15 typedef ULONG RESOURCEID; 16 17 #define RL_GADGETMASK 0x03FF 18 #define RL_GROUPMASK 0xFC00 19 20 #define RL_GADGETID(x) ((x) & RL_GADGETMASK) 21 #define RL_GROUPID(x) (((x) & RL_GROUPMASK) >> 10) 22 23 24 #endif /* LIBRARIES_RESOURCE_H */