revert between 56095 -> 55830 in arch
[AROS.git] / workbench / classes / zune / aboutwindow / aboutwindow.h
blob53d8b192f98d83dcf838a9564bd115232b2ffadf
1 #ifndef ZUNE_ABOUTWINDOW_H
2 #define ZUNE_ABOUTWINDOW_H
4 /*
5 Copyright © 2003-2004, The AROS Development Team. All rights reserved.
6 This file is part of the AboutWindow class, which is distributed under
7 the terms of version 2.1 of the GNU Lesser General Public License.
9 $Id$
12 #include <utility/tagitem.h>
13 #include <libraries/mui.h>
15 /*** Name *******************************************************************/
16 #define MUIC_AboutWindow "AboutWindow.mcc"
18 /*** Identifier base ********************************************************/
19 #define MUIB_AboutWindow (MUIB_AROS | 0x00000400)
21 /*** Public attributes ******************************************************/
22 /*+
23 [I--] Object *
24 Image object to display as a logotype. Defaults to NULL.
25 +*/
26 #define MUIA_AboutWindow_Image (MUIB_AboutWindow | 0x00000000)
28 /*+
29 [I--] CONST_STRPTR
30 Application title. Defaults to the value of MUIA_Application_Title if
31 unspecified. If set to NULL, it will be omitted. Example: "Wanderer".
32 +*/
33 #define MUIA_AboutWindow_Title (MUIB_AboutWindow | 0x00000001)
35 /*+
36 [I--] CONST_STRPTR
37 Version number. Defaults to the value of MUIA_Application_Version_Number
38 if unspecified. If set to NULL, it will be omitted. Example: "1.5"
39 +*/
40 #define MUIA_AboutWindow_Version_Number (MUIB_AboutWindow | 0x00000002)
42 /*+
43 [I--] CONST_STRPTR
44 Date information on the standard international YYYY-MM-DD format. Defaults
45 to the value of MUIA_Application_Version_Date if unspecified. If set to
46 NULL, it will be omitted.
47 +*/
48 #define MUIA_AboutWindow_Version_Date (MUIB_AboutWindow | 0x00000003)
50 /*+
51 [I--] CONST_STRPTR
52 Arbitrary extra version information. Defaults to the value of
53 MUIA_Application_Version_Extra if not specified. If set to NULL, it will
54 be omitted. Examples: "nightly build", "demo version"
55 +*/
56 #define MUIA_AboutWindow_Version_Extra (MUIB_AboutWindow | 0x00000004)
58 /*+
59 [I--] CONST_STRPTR
60 Copyright information. Defaults to the value of MUIA_Application_Copyright
61 if not specified. If set to NULL, it will be omitted. Example:
62 "Copyright © 2003, The AROS Development Team. All rights reserved."
63 +*/
64 #define MUIA_AboutWindow_Copyright (MUIB_AboutWindow | 0x00000005)
66 /*+
67 [I--] CONST_STRPTR
68 Short description, of around 40 characters. Defaults to the value of
69 MUIA_Application_Description if unspecified. If set to NULL, it will be
70 omitted. Example: "Allows you to change the font preferences."
71 +*/
72 #define MUIA_AboutWindow_Description (MUIB_AboutWindow | 0x00000006)
74 /*+
75 [I--] struct TagItem *
76 List of authors (see below how to create it).
77 +*/
78 #define MUIA_AboutWindow_Authors (MUIB_AboutWindow | 0x00000007)
80 /*+
81 [I--] struct TagItem *
82 List of sponsors (see below how to create it).
83 +*/
84 #define MUIA_AboutWindow_Sponsors (MUIB_AboutWindow | 0x00000008)
87 /*+
88 Defines and macros for creating taglists for MUIA_AboutWindow_Authors
89 and MUIA_AboutWindow_Sponsors. Using these, you can create an
90 apropriate taglist like this::
92 struct TagItem *AUTHORS = TAGLIST
94 SECTION
96 SID_PROGRAMMING,
97 NAME("Marvin"),
98 NAME("Ford Prefect")
100 SECTION
102 SID_TRANSLATING,
103 NAME("Zaphod Beeblebrox")
107 #define SECTION_ID (MUIB_AboutWindow | 0x000000F0)
108 #define NAME_STRING (MUIB_AboutWindow | 0x000000F1)
110 #define SID_NONE (0)
111 #define SID_PROGRAMMING (1)
112 #define SID_TRANSLATING (2)
114 #define SECTION(id, args...) SECTION_ID, id, args
115 #define NAME(name) NAME_STRING, ((IPTR) (name))
117 /*** Protected attributes ***************************************************/
118 #if 0 /* FIXME: Implement */
119 #define MUIA_AboutWindow_RootGroup (MUIB_AboutWindow | 0x00000009)
120 #define MUIA_AboutWindow_ImageGroup (MUIB_AboutWindow | 0x0000000a)
121 #define MUIA_AboutWindow_VersionObject (MUIB_AboutWindow | 0x0000000b)
122 #define MUIA_AboutWindow_CopyrightObject (MUIB_AboutWindow | 0x0000000c)
123 #define MUIA_AboutWindow_DescriptionGroup (MUIB_AboutWindow | 0x0000000d)
124 #define MUIA_AboutWindow_DescriptionObject (MUIB_AboutWindow | 0x0000000e)
125 #endif
127 /*** Macros *****************************************************************/
128 #define AboutWindowObject MUIOBJMACRO_START(MUIC_AboutWindow)
130 #endif /* ZUNE_ABOUTWINDOW_H */