(
            self, name, height, width, font_height, font_width, attr, cursor_shape, colourmap
        )
Initialise video mode settings.
Initialise video mode settings.
Initialise video mode settings .
def __init__(
            self, name, height, width, font_height, font_width, attr, cursor_shape, colourmap
        ):
        """Initialise video mode settings."""
        self.name = name
        self.height = height
        self.width = width
        self.font_height = font_height
        self.font_width = font_width
        self.pixel_height = height * font_height
        self.pixel_width = width * font_width
        # initial/default attribute
        self.attr = attr
        # override these
        self.memorymap = None
        self.cursor_shape = cursor_shape
        self.colourmap = colourmap
def __init__ ( self , name , height , width , font_height , font_width , attr , cursor_shape , colourmap ) : self . name = name self . height = height self . width = width self . font_height = font_height self . font_width = font_width self . pixel_height = height * font_height self . pixel_width = width * font_width # initial/default attribute self . attr = attr # override these self . memorymap = None self . cursor_shape = cursor_shape self . colourmap = colourmap