blob: 72d997172413fbb34a59596bbc17c0727e941137 [file] [log] [blame]
adamdunkelsf2cd18a2004-09-05 20:58:13 +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 *
adamdunkels4f087742004-09-09 21:45:37 +000032 * $Id: ctk-80col-theme.h,v 1.3 2004/09/09 21:45:37 adamdunkels Exp $
adamdunkelsf2cd18a2004-09-05 20:58:13 +000033 *
34 */
35#ifndef __CTK_80COL_THEME_H__
36#define __CTK_80COL_THEME_H__
37
38struct ctk_80col_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];
adamdunkelsfa6f7362004-09-06 06:33:39 +000055
adamdunkelsf2cd18a2004-09-05 20:58:13 +000056 /* Menu border patterns. */
57 unsigned char menuleftpattern[8],
adamdunkels4f087742004-09-09 21:45:37 +000058 menurightpattern[8];
adamdunkelsf2cd18a2004-09-05 20:58:13 +000059
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];
adamdunkelsf2cd18a2004-09-05 20:58:13 +000072
73 /* Menu colors. */
74 unsigned char menucolor,
75 openmenucolor,
76 activemenucolor;
adamdunkelsf2cd18a2004-09-05 20:58:13 +000077
adamdunkelsf2cd18a2004-09-05 20:58:13 +000078};
79
80extern struct ctk_80col_theme ctk_80col_theme;
81extern struct ctk_80col_theme *ctk_80col_theme_ptr;
82
83#endif /* __CTK_80COL_THEME_H__ */