summaryrefslogtreecommitdiff
path: root/src/sliceitoff/display
diff options
context:
space:
mode:
Diffstat (limited to 'src/sliceitoff/display')
-rw-r--r--src/sliceitoff/display/__init__.py2
-rw-r--r--src/sliceitoff/display/static.py10
2 files changed, 11 insertions, 1 deletions
diff --git a/src/sliceitoff/display/__init__.py b/src/sliceitoff/display/__init__.py
index 543636b..cc319b9 100644
--- a/src/sliceitoff/display/__init__.py
+++ b/src/sliceitoff/display/__init__.py
@@ -1,4 +1,4 @@
""" display - All drawing to the display should happen here """
from .scaling import Scaling
from .display import Display
-from .static import INTERNAL_WIDTH, INTERNAL_HEIGHT, CGA_COLORS
+from .static import INTERNAL_WIDTH, INTERNAL_HEIGHT, CGA_COLORS, RAINBOW_COLORS
diff --git a/src/sliceitoff/display/static.py b/src/sliceitoff/display/static.py
index 054e6b8..fdbba3c 100644
--- a/src/sliceitoff/display/static.py
+++ b/src/sliceitoff/display/static.py
@@ -22,3 +22,13 @@ CGA_COLORS=[
(0xF3,0xF3,0x4E,0xFF),
(0xFF,0xFF,0xFF,0xFF)
]
+
+RAINBOW_COLORS=[
+ CGA_COLORS[15],
+ CGA_COLORS[13],
+ CGA_COLORS[9],
+ CGA_COLORS[11],
+ CGA_COLORS[10],
+ CGA_COLORS[14],
+ CGA_COLORS[12],
+] \ No newline at end of file