2 * This file is part of lanterna (http://code.google.com/p/lanterna/).
4 * lanterna is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 * Copyright (C) 2010-2015 Martin
20 package com
.googlecode
.lanterna
;
23 * Some text graphics, taken from http://en.wikipedia.org/wiki/Codepage_437 but converted to its UTF-8 counterpart.
24 * This class it mostly here to help out with building text GUIs when you don't have a handy Unicode chart available.
25 * Previously this class was known as ACS, which was taken from ncurses (meaning "Alternative Character Set").
28 public class Symbols
{
34 public static final char FACE_WHITE
= 0x263A;
38 public static final char FACE_BLACK
= 0x263B;
42 public static final char HEART
= 0x2665;
46 public static final char CLUB
= 0x2663;
50 public static final char DIAMOND
= 0x2666;
54 public static final char SPADES
= 0x2660;
58 public static final char BULLET
= 0x2022;
62 public static final char INVERSE_BULLET
= 0x25d8;
66 public static final char WHITE_CIRCLE
= 0x25cb;
70 public static final char INVERSE_WHITE_CIRCLE
= 0x25d9;
75 public static final char SOLID_SQUARE
= 0x25A0;
79 public static final char SOLID_SQUARE_SMALL
= 0x25AA;
83 public static final char OUTLINED_SQUARE
= 0x25A1;
87 public static final char OUTLINED_SQUARE_SMALL
= 0x25AB;
92 public static final char FEMALE
= 0x2640;
96 public static final char MALE
= 0x2642;
101 public static final char ARROW_UP
= 0x2191;
105 public static final char ARROW_DOWN
= 0x2193;
109 public static final char ARROW_RIGHT
= 0x2192;
113 public static final char ARROW_LEFT
= 0x2190;
118 public static final char BLOCK_SOLID
= 0x2588;
122 public static final char BLOCK_DENSE
= 0x2593;
126 public static final char BLOCK_MIDDLE
= 0x2592;
130 public static final char BLOCK_SPARSE
= 0x2591;
135 public static final char TRIANGLE_RIGHT_POINTING_MEDIUM_BLACK
= 0x23F4;
139 public static final char TRIANGLE_LEFT_POINTING_MEDIUM_BLACK
= 0x23F5;
143 public static final char TRIANGLE_UP_POINTING_MEDIUM_BLACK
= 0x23F6;
147 public static final char TRIANGLE_DOWN_POINTING_MEDIUM_BLACK
= 0x23F7;
153 public static final char SINGLE_LINE_HORIZONTAL
= 0x2500;
157 public static final char BOLD_SINGLE_LINE_HORIZONTAL
= 0x2501;
161 public static final char BOLD_TO_NORMAL_SINGLE_LINE_HORIZONTAL
= 0x257E;
165 public static final char BOLD_FROM_NORMAL_SINGLE_LINE_HORIZONTAL
= 0x257C;
169 public static final char DOUBLE_LINE_HORIZONTAL
= 0x2550;
173 public static final char SINGLE_LINE_VERTICAL
= 0x2502;
177 public static final char BOLD_SINGLE_LINE_VERTICAL
= 0x2503;
181 public static final char BOLD_TO_NORMAL_SINGLE_LINE_VERTICAL
= 0x257F;
185 public static final char BOLD_FROM_NORMAL_SINGLE_LINE_VERTICAL
= 0x257D;
189 public static final char DOUBLE_LINE_VERTICAL
= 0x2551;
194 public static final char SINGLE_LINE_TOP_LEFT_CORNER
= 0x250C;
198 public static final char DOUBLE_LINE_TOP_LEFT_CORNER
= 0x2554;
202 public static final char SINGLE_LINE_TOP_RIGHT_CORNER
= 0x2510;
206 public static final char DOUBLE_LINE_TOP_RIGHT_CORNER
= 0x2557;
211 public static final char SINGLE_LINE_BOTTOM_LEFT_CORNER
= 0x2514;
215 public static final char DOUBLE_LINE_BOTTOM_LEFT_CORNER
= 0x255A;
219 public static final char SINGLE_LINE_BOTTOM_RIGHT_CORNER
= 0x2518;
223 public static final char DOUBLE_LINE_BOTTOM_RIGHT_CORNER
= 0x255D;
228 public static final char SINGLE_LINE_CROSS
= 0x253C;
232 public static final char DOUBLE_LINE_CROSS
= 0x256C;
236 public static final char DOUBLE_LINE_HORIZONTAL_SINGLE_LINE_CROSS
= 0x256A;
240 public static final char DOUBLE_LINE_VERTICAL_SINGLE_LINE_CROSS
= 0x256B;
245 public static final char SINGLE_LINE_T_UP
= 0x2534;
249 public static final char SINGLE_LINE_T_DOWN
= 0x252C;
253 public static final char SINGLE_LINE_T_RIGHT
= 0x251c;
257 public static final char SINGLE_LINE_T_LEFT
= 0x2524;
262 public static final char SINGLE_LINE_T_DOUBLE_UP
= 0x2568;
266 public static final char SINGLE_LINE_T_DOUBLE_DOWN
= 0x2565;
270 public static final char SINGLE_LINE_T_DOUBLE_RIGHT
= 0x255E;
274 public static final char SINGLE_LINE_T_DOUBLE_LEFT
= 0x2561;
279 public static final char DOUBLE_LINE_T_UP
= 0x2569;
283 public static final char DOUBLE_LINE_T_DOWN
= 0x2566;
287 public static final char DOUBLE_LINE_T_RIGHT
= 0x2560;
291 public static final char DOUBLE_LINE_T_LEFT
= 0x2563;
296 public static final char DOUBLE_LINE_T_SINGLE_UP
= 0x2567;
300 public static final char DOUBLE_LINE_T_SINGLE_DOWN
= 0x2564;
304 public static final char DOUBLE_LINE_T_SINGLE_RIGHT
= 0x255F;
308 public static final char DOUBLE_LINE_T_SINGLE_LEFT
= 0x2562;