5 ** $VER: Urltext_private.h 18.9 (7.5.2003)
6 ** Includes Release 18.9
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>
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] */
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 /***********************************************************************/
71 MUIAM_Urltext_Base
= (int)(TAG_MUI_Alfie
+200),
74 MUIM_Urltext_OpenURLPrefs
,
78 /***********************************************************************/
80 struct MUIP_Urltext_OpenURL
88 MUIV_Urltext_OpenURL_CheckOver
= 1<<0,
91 struct MUIP_Urltext_Copy
97 /***********************************************************************/
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 /***********************************************************************/
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__)
133 #endif /* URLTEXT_MCC_H */