Updated PCI IDs to latest snapshot.
[tangerine.git] / workbench / libs / openurl / include / mui / Urltext_mcc.h
blob78fb9e8f2cb2a595faf64fbdbcde433254a6d041
1 #ifndef URLTEXT_MCC_H
2 #define URLTEXT_MCC_H
4 /*
5 ** $VER: Urltext_private.h 18.9 (7.5.2003)
6 ** Includes Release 18.9
7 **
8 ** Urltext.mcc
9 ** Active Url MUI class
11 ** (C) 2000-2003 Alfonso Ranieri <alforan@tin.it>
12 ** All Rights Reserved
16 #ifndef LIBRARIES_MUI_H
17 #include <libraries/mui.h>
18 #endif
20 #if defined(__GNUC__)
21 # pragma pack(2)
22 #endif
24 /***********************************************************************/
26 #define MUIC_Urltext "Urltext.mcc"
27 #define UrltextObject MUI_NewObject(MUIC_Urltext
29 /***********************************************************************/
31 #define MUISN_Alfie 0xFEC9
32 #define TAG_MUI_Alfie (TAG_USER|(MUISN_Alfie<<16))
34 /***********************************************************************/
36 /* attributes - Scheme is: [ISGN] */
37 enum
39 MUIA_Urltext_Base = (int)(TAG_MUI_Alfie+200),
41 MUIA_Urltext_MouseOutPen, /* [IS..] (struct MUI_PenSpec *) PRIVATE! */
42 MUIA_Urltext_MouseOverPen, /* [IS..] (struct MUI_PenSpec *) PRIVATE! */
43 MUIA_Urltext_VisitedPen, /* [IS..] (struct MUI_PenSpec *) PRIVATE! */
44 MUIA_Urltext_MouseOver, /* [.S.N] (BOOL) PRIVATE! */
45 MUIA_Urltext_PUnderline, /* [.S..] (BOOL) PRIVATE! */
46 MUIA_Urltext_PDoVisitedPen, /* [.S..] (BOOL) PRIVATE! */
47 MUIA_Urltext_PFallBack, /* [.S..] (BOOL) PRIVATE! */
49 MUIA_Urltext_Url, /* [ISGN] (STRPTR) */
50 MUIA_Urltext_Text, /* [ISGN] (STRPTR) */
51 MUIA_Urltext_Active, /* [..G.] (BOOL) */
52 MUIA_Urltext_Visited, /* [..GN] (BOOL) */
53 MUIA_Urltext_Underline, /* [I...] (BOOL) */
54 MUIA_Urltext_FallBack, /* [I...] (BOOL) */
55 MUIA_Urltext_DoVisitedPen, /* [I...] (BOOL) */
56 MUIA_Urltext_SetMax, /* [I...] (BOOL) */
57 MUIA_Urltext_DoOpenURL, /* [I...] (BOOL) */
58 MUIA_Urltext_NoMenu, /* [I...] (BOOL) */
60 MUIA_Urltext_Font, /* PRIVATE! */
61 MUIA_Urltext_Version, /* PRIVATE! */
63 MUIA_Urltext_NoOpenURLPrefs, /* [I...] (BOOL) */
66 /***********************************************************************/
68 /* methods */
69 enum
71 MUIAM_Urltext_Base = (int)(TAG_MUI_Alfie+200),
72 MUIM_Urltext_OpenURL,
73 MUIM_Urltext_Copy,
74 MUIM_Urltext_OpenURLPrefs,
75 MUIM_Urltext_AddCM,
78 /***********************************************************************/
80 struct MUIP_Urltext_OpenURL
82 ULONG MethodID;
83 ULONG flags;
86 enum
88 MUIV_Urltext_OpenURL_CheckOver = 1<<0,
91 struct MUIP_Urltext_Copy
93 ULONG MethodID;
94 ULONG unit;
97 /***********************************************************************/
99 ** Urltext defaults
102 #define DEFAULT_MOUSEOUT_PEN ((APTR)"m6")
103 #define DEFAULT_MOUSEOVER_PEN ((APTR)"m0")
104 #define DEFAULT_VISITED_PEN ((APTR)"m7")
105 #define DEFAULT_UNDERLINE TRUE
106 #define DEFAULT_FALLBACK TRUE
107 #define DEFAULT_DOVISITEDPEN TRUE
108 #define DEFAULT_FONT NULL
109 #define DEFAULT_SETMAX TRUE
110 #define DEFAULT_DOOPENURL TRUE
112 /***********************************************************************/
114 ** alfie's prefs
117 #define ALFIE MAKE_ID('a','l','f','i')
119 #define ALFIE_MOUSEOUT_PEN ((APTR)"r00000000,404B404B,FFFFFFFF")
120 #define ALFIE_MOUSEOVER_PEN ((APTR)"rE0E0E0E0,FFFFFFFF,00000000")
121 #define ALFIE_VISITED_PEN ((APTR)"rAF3BAF3B,2A2A2A2A,FFFFFFFF")
122 #define ALFIE_UNDERLINE TRUE
123 #define ALFIE_FALLBACK TRUE
124 #define ALFIE_DOVISITEDPEN TRUE
125 #define ALFIE_SETMAX TRUE
127 /****************************************************************************/
129 #if defined(__GNUC__)
130 # pragma pack()
131 #endif
133 #endif /* URLTEXT_MCC_H */