Mercurial > urwid-satext
changeset 14:f7d24eff1272
Primitivus: Tarot card game implementation
- quick frontend: card_game added
- wix: card_game splitted with quick frontend
- tools: new game library
- primitivus: new card_game widget (not finished yet)
- primitivus: SàT XML UI management: first draft
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 26 Jul 2010 19:43:44 +0800 |
parents | 8cccbaadb9c5 |
children | 8241b3157699 |
files | frontends/primitivus/custom_widgets.py |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/frontends/primitivus/custom_widgets.py Fri Jul 16 22:36:58 2010 +0800 +++ b/frontends/primitivus/custom_widgets.py Mon Jul 26 19:43:44 2010 +0800 @@ -23,7 +23,6 @@ from urwid.escape import utf8decode class Password(urwid.Edit): - toto=0 """Edit box which doesn't show what is entered (show '*' or other char instead)""" def __init__(self, *args, **kwargs): @@ -47,11 +46,6 @@ super(Password,self).insert_text(text) def render(self, size, focus=False): - Password.toto+=1 - if Password.toto==30: - import os,pdb - os.system('reset') - pdb.set_trace() return super(Password, self).render(size, focus) class AdvancedEdit(urwid.Edit):