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
This commit is contained in:
Goffi 2010-07-26 19:43:44 +08:00
commit 3d5c5ada3c

View file

@ -23,7 +23,6 @@ import urwid
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 @@ class Password(urwid.Edit):
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):