diff options
Diffstat (limited to 'src/sliceitoff/text/text.py')
-rw-r--r-- | src/sliceitoff/text/text.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sliceitoff/text/text.py b/src/sliceitoff/text/text.py index da48f6c..dd9b719 100644 --- a/src/sliceitoff/text/text.py +++ b/src/sliceitoff/text/text.py @@ -1,8 +1,8 @@ import pygame from random import randrange -from images import Fonts -from display import Scaling, EGA_COLORS +from .fonts import Fonts +from display import Scaling, CGA_COLORS scaled_fonts = {} @@ -62,7 +62,7 @@ class TextPage(pygame.sprite.Group): Fonts.fonts[font].get(ch), size[0]/8 * Scaling.factor) scaled_fonts[font_key][ch].fill( - EGA_COLORS[color], + CGA_COLORS[color], special_flags = pygame.BLEND_RGBA_MULT) image = scaled_fonts[font_key][ch] image_pos = Scaling.scale_to_display( (x+col*w, y+row*h) ) |