diff options
Diffstat (limited to 'tui/static.py')
-rw-r--r-- | tui/static.py | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/tui/static.py b/tui/static.py index ecd80b9..7bdfa12 100644 --- a/tui/static.py +++ b/tui/static.py @@ -1,5 +1,5 @@ """ tui/static.py - Staattiset määritykset tui:ssa tarvittaville jutuille. """ -from enum import Enum, IntEnum +from enum import Enum from dataclasses import dataclass class Action(Enum): @@ -50,24 +50,6 @@ TileTypes = { 9: TileType( "[@]", [(0xF,1), (0xF,1), (0xF,1)] ), 10: TileType( "[#]", [(0x8,7), (0x8,7), (0x8,7)] ), 11: TileType( "[B]", [(0x8,7), (0x1,7), (0x8,7)] ), - 12: TileType( "[?]", [(0x8,7), (0x3,7), (0x8,7)] ) + 12: TileType( "[ ]", [(0x8,7), (0x3,7), (0x8,7)] ), + 13: TileType( "[?]", [(0x8,7), (0x0,7), (0x8,7)] ) } - -class Colors(IntEnum): - """ ANSI värejä vastaavat lukuarvot """ - BLACK = 0 - RED = 1 - GREEN = 2 - YELLOW = 3 - BLUE = 4 - MAGENTA = 5 - CYAN = 6 - WHITE = 7 - GRAY = 8 - BRIGHT_RED = 9 - BRIGHT_GREEN = 0xA - BRIGHT_YELLOW = 0xB - BRIGHT_BLUE = 0xC - BRIGHT_MAGENTA = 0xD - BRIGHT_CYAN = 0xE - BRIGHT_WHITE = 0xF |