Mercurial > sypikslang
changeset 230:745a6ee5f643
large font for main menu
author | Rizmari Versfeld <rizziepit@gmail.com> |
---|---|
date | Sat, 12 May 2012 23:18:30 +0200 |
parents | 64ec8ff87c6e |
children | 57981202bfa5 |
files | gamelib/mainmenu.py |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gamelib/mainmenu.py Sat May 12 23:11:55 2012 +0200 +++ b/gamelib/mainmenu.py Sat May 12 23:18:30 2012 +0200 @@ -14,7 +14,7 @@ import json from gamelib import data -from gamelib.gui_base import Window +from gamelib.gui_base import Window, font_large from gamelib.gui import BigButton from gamelib.engine import AddWindow from gamelib.gamegui import LabWindow @@ -28,6 +28,9 @@ BG_IMAGE_NORMAL = image.load(data.filepath('images/main_normal.png')) BG_IMAGE_DOWN = image.load(data.filepath('images/main_down.png')) + def __init__(self, pos, text): + super(MainMenuButton, self).__init__(pos, text, font_large) + class NewGameButton(MainMenuButton):