gui

This module handles abstracted-away gui methods related to PyGame.

gui.prep()

Initial preparations for the main window.

Dimensions will be dynamically set if config.py.manual_dims is None, statically otherwise.

gui.get_screen() → pygame.Surface

Get the PyGame display surface.

Returns

The display surface.

Return type

PyGame.Surface

gui.draw_border() → pygame.Rect

Draw the PyGame border rect and return it.

The border rect will be drawn as a border, not an opaque rectangle.

Returns

The border rect.

Return type

PyGame.Rect