Corrections to SVN properties.
[AROS.git] / external / openurl / include / mui / Urltext_mcc.h
blob6b5dc82823e6f2dc2e0587cae7d98b821cdab8a8
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 #ifdef __GNUC__
21 #ifdef __PPC__
22 #pragma pack(2)
23 #endif
24 #elif defined(__VBCC__)
25 #pragma amiga-align
26 #endif
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] */
41 enum
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 /***********************************************************************/
72 /* methods */
73 enum
75 MUIAM_Urltext_Base = (int)(TAG_MUI_Alfie+200),
76 MUIM_Urltext_OpenURL,
77 MUIM_Urltext_Copy,
78 MUIM_Urltext_OpenURLPrefs,
79 MUIM_Urltext_AddCM,
82 /***********************************************************************/
84 struct MUIP_Urltext_OpenURL
86 ULONG MethodID;
87 ULONG flags;
90 enum
92 MUIV_Urltext_OpenURL_CheckOver = 1<<0,
95 struct MUIP_Urltext_Copy
97 ULONG MethodID;
98 ULONG unit;
101 /***********************************************************************/
103 ** Urltext defaults
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 /***********************************************************************/
118 ** alfie's prefs
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 /****************************************************************************/
133 #ifdef __GNUC__
134 #ifdef __PPC__
135 #pragma pack()
136 #endif
137 #elif defined(__VBCC__)
138 #pragma default-align
139 #endif
141 #endif /* URLTEXT_MCC_H */