pyherc.gui.surfaceManager

Module for handling loading of images and icons

SurfaceManager

class pyherc.gui.surfaceManager.SurfaceManager

Class for managing images and icons

getIcon(id)

Get icon with ID

Args:
id: ID number of the icon to retrieve
Returns:
Icon if found, otherwise empty icon
getImage(id)

Get image with ID

Args:
id: ID number of the image to retrieve
Returns:
Image
loadResources(base_path)

Load graphics from files @param base_path: Path to directory where resources are location

load_surface(base_path, image_name)

Load a file and return corresponding surface object @param base_path: directory of the file @param image_name: file name @returns: Surface

Table Of Contents

Previous topic

pyherc.gui.startmenu

Next topic

pyherc.gui.windows

This Page