From 43a58a7be48208f8d87ee5256c84008a02425ecf Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Fri, 29 Mar 2024 16:46:50 +0200 Subject: docstring etc linting --- src/sliceitoff/display/static.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'src/sliceitoff/display/static.py') diff --git a/src/sliceitoff/display/static.py b/src/sliceitoff/display/static.py index a9f487a..8791fb0 100644 --- a/src/sliceitoff/display/static.py +++ b/src/sliceitoff/display/static.py @@ -1,2 +1,23 @@ +""" display.static - static data like resolution and colors defined here """ + INTERNAL_WIDTH = 320_000 INTERNAL_HEIGHT = 240_000 + +CGA_COLORS=[ + (0x00,0x00,0x00,0xFF), + (0x00,0x00,0xAA,0xFF), + (0x00,0xAA,0x00,0xFF), + (0x00,0xAA,0xAA,0xFF), + (0xAA,0x00,0x00,0xFF), + (0xAA,0x00,0xAA,0xFF), + (0xAA,0x55,0x00,0xFF), + (0xAA,0xAA,0xAA,0xFF), + (0x55,0x55,0x55,0xFF), + (0x55,0x55,0xFF,0xFF), + (0x55,0xFF,0x55,0xFF), + (0x55,0xFF,0xFF,0xFF), + (0xFF,0x55,0x55,0xFF), + (0xFF,0x55,0xFF,0xFF), + (0xFF,0xFF,0x55,0xFF), + (0xFF,0xFF,0xFF,0xFF) +] -- cgit v1.2.3