blob: 6ee7b820bb7f75616aeda81e72b731b0a190cc37 [file] [log] [blame]
adamdunkels77e47062003-04-17 15:09:31 +00001 /*
2 * Copyright (c) 2003, Adam Dunkels.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above
11 * copyright notice, this list of conditions and the following
12 * disclaimer in the documentation and/or other materials provided
13 * with the distribution.
14 * 3. The name of the author may not be used to endorse or promote
15 * products derived from this software without specific prior
16 * written permission.
17 *
18 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
19 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
24 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
26 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 *
30 * This file is part of the Contiki desktop OS for the C64
31 *
32 * $Id: ctk-hires-theme.h,v 1.1 2003/04/17 15:09:44 adamdunkels Exp $
33 *
34 */
35#ifndef __CTK_HIRES_THEME_H__
36#define __CTK_HIRES_THEME_H__
37
38struct ctk_hires_theme {
39 /* Version string. */
40 char version[8];
41
42 /* Window borders patterns. */
43 unsigned char ulcorner[8], /* Upper left corner. */
44 titlebar[8], /* Title bar pattern. */
45 urcorner[8], /* Upper right corner. */
46 rightborder[8], /* Right border. */
47 lrcorner[8], /* Lower right corner. */
48 lowerborder[8], /* Lower border. */
49 llcorner[8], /* Lower left corner. */
50 leftborder[8]; /* Left border. */
51
52 /* Button corner patterns. */
53 unsigned char buttonleftpattern[8],
54 buttonrightpattern[8];
55
56 /* Menu border patterns. */
57 unsigned char menuleftpattern[8],
58 menurightpatterns[8];
59
60
61
62 /* Window and widget colors. */
63 unsigned char windowcolors[6],
64 separatorcolors[6],
65 labelcolors[6],
66 buttoncolors[6],
67 hyperlinkcolors[6],
68 textentrycolors[6],
69 bitmapcolors[6],
70 textmapcolors[6],
71 iconcolors[6];
72
73
74 /* Button corner colors. */
75 unsigned char buttonleftcolors[6],
76 buttonrightcolors[6];
77
78 /* Menu colors. */
79 unsigned char menucolor,
80 openmenucolor,
81 activemenucolor;
82
83 /* Border and screen colors. */
84 unsigned char bordercolor,
85 screencolor;
86
87 /* Pointer sprite colors. */
88 unsigned char pointermaskcolor,
89 pointercolor;
90
91 /* Pointer sprite. */
92 unsigned char pointer[128];
93
94 /* Background pattern fill. */
95 unsigned char backgroundpattern[8*25];
96
97 /* Background colors. */
98 unsigned char backgroundpatterncolors[25];
99
100};
101
102extern struct ctk_hires_theme ctk_hires_theme;
103extern struct ctk_hires_theme *ctk_hires_theme_ptr;
104
105#endif /* __CTK_HIRES_THEME_H__ */