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 #elif defined(__VBCC__)
28 /***********************************************************************/
30 #define MUIC_Urltext "Urltext.mcc"
31 #define UrltextObject MUI_NewObject(MUIC_Urltext
33 /***********************************************************************/
35 #define MUISN_Alfie 0xFEC9
36 #define TAG_MUI_Alfie (TAG_USER|(MUISN_Alfie<<16))
38 /***********************************************************************/
40 /* attributes - Scheme is: [ISGN] */
43 MUIA_Urltext_Base
= (int)(TAG_MUI_Alfie
+200),
45 MUIA_Urltext_MouseOutPen
, /* [IS..] (struct MUI_PenSpec *) PRIVATE! */
46 MUIA_Urltext_MouseOverPen
, /* [IS..] (struct MUI_PenSpec *) PRIVATE! */
47 MUIA_Urltext_VisitedPen
, /* [IS..] (struct MUI_PenSpec *) PRIVATE! */
48 MUIA_Urltext_MouseOver
, /* [.S.N] (BOOL) PRIVATE! */
49 MUIA_Urltext_PUnderline
, /* [.S..] (BOOL) PRIVATE! */
50 MUIA_Urltext_PDoVisitedPen
, /* [.S..] (BOOL) PRIVATE! */
51 MUIA_Urltext_PFallBack
, /* [.S..] (BOOL) PRIVATE! */
53 MUIA_Urltext_Url
, /* [ISGN] (STRPTR) */
54 MUIA_Urltext_Text
, /* [ISGN] (STRPTR) */
55 MUIA_Urltext_Active
, /* [..G.] (BOOL) */
56 MUIA_Urltext_Visited
, /* [..GN] (BOOL) */
57 MUIA_Urltext_Underline
, /* [I...] (BOOL) */
58 MUIA_Urltext_FallBack
, /* [I...] (BOOL) */
59 MUIA_Urltext_DoVisitedPen
, /* [I...] (BOOL) */
60 MUIA_Urltext_SetMax
, /* [I...] (BOOL) */
61 MUIA_Urltext_DoOpenURL
, /* [I...] (BOOL) */
62 MUIA_Urltext_NoMenu
, /* [I...] (BOOL) */
64 MUIA_Urltext_Font
, /* PRIVATE! */
65 MUIA_Urltext_Version
, /* PRIVATE! */
67 MUIA_Urltext_NoOpenURLPrefs
, /* [I...] (BOOL) */
70 /***********************************************************************/
75 MUIAM_Urltext_Base
= (int)(TAG_MUI_Alfie
+200),
78 MUIM_Urltext_OpenURLPrefs
,
82 /***********************************************************************/
84 struct MUIP_Urltext_OpenURL
92 MUIV_Urltext_OpenURL_CheckOver
= 1<<0,
95 struct MUIP_Urltext_Copy
101 /***********************************************************************/
106 #define DEFAULT_MOUSEOUT_PEN ((APTR)"m6")
107 #define DEFAULT_MOUSEOVER_PEN ((APTR)"m0")
108 #define DEFAULT_VISITED_PEN ((APTR)"m7")
109 #define DEFAULT_UNDERLINE TRUE
110 #define DEFAULT_FALLBACK TRUE
111 #define DEFAULT_DOVISITEDPEN TRUE
112 #define DEFAULT_FONT NULL
113 #define DEFAULT_SETMAX TRUE
114 #define DEFAULT_DOOPENURL TRUE
116 /***********************************************************************/
121 #define ALFIE MAKE_ID('a','l','f','i')
123 #define ALFIE_MOUSEOUT_PEN ((APTR)"r00000000,404B404B,FFFFFFFF")
124 #define ALFIE_MOUSEOVER_PEN ((APTR)"rE0E0E0E0,FFFFFFFF,00000000")
125 #define ALFIE_VISITED_PEN ((APTR)"rAF3BAF3B,2A2A2A2A,FFFFFFFF")
126 #define ALFIE_UNDERLINE TRUE
127 #define ALFIE_FALLBACK TRUE
128 #define ALFIE_DOVISITEDPEN TRUE
129 #define ALFIE_SETMAX TRUE
131 /****************************************************************************/
137 #elif defined(__VBCC__)
138 #pragma default-align
141 #endif /* URLTEXT_MCC_H */