5 Copyright © 2009, The AROS Development Team. All rights reserved.
9 #include <exec/types.h>
10 #include <libraries/mui.h>
11 #include <exec/lists.h>
13 #define PSD_INITIAL_NAME "(unnamed)"
14 #define PSD_INITIAL_TITLE "Zune Public Screen"
15 #define PSD_ID_MPUB MAKE_ID('M','P','U','B')
17 #define PSD_NAME_FRONTMOST "«Frontmost»"
19 #define PSD_FILENAME_SAVE "envarc:Zune/PublicScreens.iff"
20 #define PSD_FILENAME_USE "env:Zune/PublicScreens.iff"
22 #define PSD_MAXLEN_NAME 32
23 #define PSD_MAXLEN_TITLE 128
24 #define PSD_MAXLEN_FONT 48
25 #define PSD_MAXLEN_BACKGROUND 256
27 #define PSD_MAXSYSPENS 20
28 #define PSD_NUMSYSPENS 12
29 #define PSD_MAXMUIPENS 10
30 #define PSD_NUMMUIPENS MPEN_COUNT
32 struct MUI_PubScreenDesc
36 char Name
[PSD_MAXLEN_NAME
];
37 char Title
[PSD_MAXLEN_TITLE
];
38 char Font
[PSD_MAXLEN_FONT
];
39 char Background
[PSD_MAXLEN_BACKGROUND
];
56 UBYTE DummyWasForeign
;
58 BYTE SystemPens
[PSD_MAXSYSPENS
];
59 UBYTE Reserved
[1+7*4-PSD_MAXSYSPENS
];
61 struct MUI_RGBcolor Palette
[PSD_NUMCOLS
];
62 struct MUI_RGBcolor rsvd
[PSD_MAXSYSPENS
-PSD_NUMCOLS
];
64 struct MUI_PenSpec rsvd2
[PSD_MAXMUIPENS
];
70 struct MUIS_InfoClient