Mercurial > skaapsteker
changeset 507:5373290f2dff
Add >> Leave to Notifications
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sat, 09 Apr 2011 23:14:55 +0200 |
parents | efd71c6a422d |
children | e4b1a79504f2 |
files | skaapsteker/widgets/bubble.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/skaapsteker/widgets/bubble.py Sat Apr 09 23:14:19 2011 +0200 +++ b/skaapsteker/widgets/bubble.py Sat Apr 09 23:14:55 2011 +0200 @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- """Widget for in-level dialogue / speech bubbles.""" from pygame.locals import (KEYDOWN, K_UP, K_p, K_q, K_x, K_z, K_RETURN, K_SPACE, SRCALPHA) @@ -13,6 +14,7 @@ def __init__(self, text): pos = pygame.Rect((0, 0), (300, 1)) + text += u'\n\n» Leave' self._text = Text(text, pos, wrap=True)