# HG changeset patch # User Goffi # Date 1280144624 -28800 # Node ID f7d24eff12726e339779e0eeee44976b4aec3bcb # Parent 8cccbaadb9c5e36baad46c97a91a992d0b9f7e60 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 diff -r 8cccbaadb9c5 -r f7d24eff1272 frontends/primitivus/custom_widgets.py --- 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):