1 #ifndef REACTION_REACTION_PREFS_H
    2 #define REACTION_REACTION_PREFS_H
    3 
    4 /*
    5 	reaction prefs definitions (V45)
    6 
    7 	Copyright © 2002 The MorphOS Development Team, All Rights Reserved.
    8 */
    9 
   10 #ifndef EXEC_SEMAPHORES_H
   11 # include <exec/semaphores.h>
   12 #endif
   13 
   14 #pragma pack(2)
   15 
   16 
   17 #define RAPREFSSEMAPHORE "REACTION-PREFS"
   18 
   19 #define ClassActPrefs UIPrefs
   20 
   21 struct UIPrefs
   22 {
   23 	struct SignalSemaphore   cap_Semaphore;
   24 	UWORD                    cap_PrefsVersion;
   25 	UWORD                    cap_PrefsSize;
   26 	UBYTE                    cap_BevelType;
   27 	UWORD                    cap_LayoutSpacing;
   28 	BOOL                     cap_3DLook;
   29 	UWORD                    cap_LabelPen;
   30 	UBYTE                    cap_LabelPlace;
   31 	UBYTE                    cap_3DLabel;
   32 	ULONG                   *cap_Reserved1;
   33 	BOOL                     cap_SimpleRefresh;
   34 	UBYTE                    cap_Pattern[256];
   35 	ULONG                   *cap_Reserved2;
   36 
   37 	BOOL                     cap_3DProp;
   38 	BOOL                     cap_Reserved3;
   39 
   40 	UBYTE                    cap_GlyphType;
   41 	UBYTE                    cap_Reserved4;
   42 
   43 	struct TextAttr         *cap_FallbackAttr;
   44 	struct TextAttr         *cap_LabelAttr;
   45 };
   46 
   47 
   48 /* Bevel types */
   49 
   50 #define BVT_GT       0
   51 #define BVT_THIN     1
   52 #define BVT_THICK    2
   53 #define BVT_XEN      3
   54 #define BVT_XENTHIN  4
   55 
   56 
   57 /* Glyph types */
   58 #define GLT_GT    0
   59 #define GLT_FLAT  1
   60 #define GLT_3D    2
   61 
   62 
   63 #pragma pack()
   64 
   65 #endif /* REACTION_REACTION_PREFS_H */