File: acs_default.c

package info (click to toggle)
libarr 0.1-52
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 368 kB
  • ctags: 400
  • sloc: ansic: 2,108; makefile: 139; sh: 13
file content (79 lines) | stat: -rw-r--r-- 2,694 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/* 
 * $Id: acs_default.c,v 1.5 2000/08/25 19:42:31 terpstra Exp $
 *
 * libarr - a screen management toolkit
 *
 * Copyright (C) 2000 Stormix Technologies Inc.
 *
 * License: LGPL
 *
 * Author: Chris Bond
 *  
 *    This library is free software; you can redistribute it and/or
 *    modify it under the terms of the GNU Lesser General Public
 *    License as published by the Free Software Foundation; either
 *    version 2 of the License, or (at your option) any later version.
 *    
 *    This library is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *    Lesser General Public License for more details.
 *    
 *    You should have received a copy of the GNU Lesser General Public
 *    License along with this library; if not, write to the Free Software
 *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
 */

#include <sys/types.h>
#include "arr.h"

const acs_map_t acs_default[] = {
	/* TC_RARROW */		{ '>', 0 },
	/* TC_LARROW */		{ '<', 0 },
	/* TC_UARROW */		{ '^', 0 },
	/* TC_DARROW */		{ 'v', 0 },
				{ 0, 0 },
	/* TC_BLOCK */		{ '#', 0 },
				{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, 
				{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, 
				{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, 
				{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },
				{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, 
				{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, 
				{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, 
				{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },
				{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, 
				{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, 
				{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, 
				{ 0, 0 }, { 0, 0 }, { 0, 0 },
	/* TC_DIAMOND */	{ '+', 0 },
	/* TC_CHKBOARD */	{ ':', 0 },
				{ 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 },
	/* TC_DEGREE */		{ '\'', 0 },
	/* TC_PLUSMINUS */	{ '#', 0 },
	/* TC_SQBOARD */	{ '#', 0 },
	/* TC_LANTERN */	{ '#', 0 },
	/* TC_LRCORNER */	{ '/', 0 },
	/* TC_URCORNER */	{ '\\', 0 },
	/* TC_ULCORNER */	{ '/', 0 },
	/* TC_LLCORNER */	{ '\\', 0 },
	/* TC_PLUS */		{ '+', 0 },
	/* TC_SCANL1 */		{ '~', 0 },
	/* TC_SCANL3 */		{ '-', 0 },
	/* TC_HORZLINE */	{ '-', 0 },
	/* TC_SCANL7 */		{ '-', 0 },
	/* TC_SCANL9 */		{ '_', 0 },
	/* TC_RTEE */		{ '+', 0 },
	/* TC_LTEE */		{ '+', 0 },
	/* TC_UTEE */		{ '+', 0 },
	/* TC_DTEE */		{ '+', 0 },
	/* TC_VERTLINE */	{ '|', 0 },
	/* TC_LESSEQUAL */	{ '<', 0 },
	/* TC_MOREEQUAL */	{ '>', 0 },
	/* TC_PI */		{ '*', 0 },
	/* TC_NOTEQUAL */	{ '!', 0 },
	/* TC_STERLING */	{ 'f', 0 },
	/* TC_BULLET */		{ 'o', 0 }
};

const int sizeof_acs_default = sizeof(acs_default)  / sizeof(acs_default[0]);