def __init__(self, parent): ui.CPui.__init__(self) global backpack_open, backpack_closed self.parent = parent self.images = {} self.images[backpack_closed] = gfx.loadImage("mochila_0.png") self.images[backpack_open] = gfx.loadImage("mochila_1.png")
def loadSmiles(): global smiles_images, images_loaded path = prefs.config.get("paths","smiles") for key in smiles_dict.keys(): value = smiles_dict[key] smiles_images[key] = gfx.loadImage(value,path) images_loaded = 1
def __init__(self): ui.CPui.__init__(self) self.image = gfx.loadImage("dialog.png") self.rect = self.image.get_rect()
def __init__(self): ui.CPui.__init__(self) self.image = gfx.loadImage("registration.png") self.rect = self.image.get_rect()