1 #ifndef ZUNE_ABOUTWINDOW_H
2 #define ZUNE_ABOUTWINDOW_H
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.
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 ******************************************************/
24 Image object to display as a logotype. Defaults to NULL.
26 #define MUIA_AboutWindow_Image (MUIB_AboutWindow | 0x00000000)
30 Application title. Defaults to the value of MUIA_Application_Title if
31 unspecified. If set to NULL, it will be omitted. Example: "Wanderer".
33 #define MUIA_AboutWindow_Title (MUIB_AboutWindow | 0x00000001)
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"
40 #define MUIA_AboutWindow_Version_Number (MUIB_AboutWindow | 0x00000002)
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.
48 #define MUIA_AboutWindow_Version_Date (MUIB_AboutWindow | 0x00000003)
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"
56 #define MUIA_AboutWindow_Version_Extra (MUIB_AboutWindow | 0x00000004)
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."
64 #define MUIA_AboutWindow_Copyright (MUIB_AboutWindow | 0x00000005)
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."
72 #define MUIA_AboutWindow_Description (MUIB_AboutWindow | 0x00000006)
75 [I--] struct TagItem *
76 List of authors (see below how to create it).
78 #define MUIA_AboutWindow_Authors (MUIB_AboutWindow | 0x00000007)
81 [I--] struct TagItem *
82 List of sponsors (see below how to create it).
84 #define MUIA_AboutWindow_Sponsors (MUIB_AboutWindow | 0x00000008)
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
103 NAME("Zaphod Beeblebrox")
107 #define SECTION_ID (MUIB_AboutWindow | 0x000000F0)
108 #define NAME_STRING (MUIB_AboutWindow | 0x000000F1)
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)
127 /*** Macros *****************************************************************/
128 #define AboutWindowObject MUIOBJMACRO_START(MUIC_AboutWindow)
130 #endif /* ZUNE_ABOUTWINDOW_H */