comparison frontends/wix/card_game.py @ 102:94011f553cd0

misc bugfixes - wix: added forgotten profile in gateways management - xml_tools: removed XMLClass to the 2 methods as a direct methods - plugin_xep_100 (gateways discovery): added error callback
author Goffi <goffi@goffi.org>
date Tue, 22 Jun 2010 13:58:53 +0800
parents 63c9067a1499
children 6be927a465ed
comparison
equal deleted inserted replaced
101:783e9d6980ec 102:94011f553cd0
31 CARD_WIDTH = 74 31 CARD_WIDTH = 74
32 CARD_HEIGHT = 136 32 CARD_HEIGHT = 136
33 MIN_WIDTH = 950 #Minimum size of the panel 33 MIN_WIDTH = 950 #Minimum size of the panel
34 MIN_HEIGHT = 500 34 MIN_HEIGHT = 500
35 35
36 suits_order = ['pique', 'coeur', 'trefle', 'carreau', 'atout'] #I have swith the usual order 'trefle' and 'carreau' because card are more easy to see if suit colour change (black, red, black, red) 36 suits_order = ['pique', 'coeur', 'trefle', 'carreau', 'atout'] #I have switched the usual order 'trefle' and 'carreau' because card are more easy to see if suit colour change (black, red, black, red)
37 values_order = map(str,range(1,11))+["valet","cavalier","dame","roi"] 37 values_order = map(str,range(1,11))+["valet","cavalier","dame","roi"]
38 38
39 class Card(): 39 class Card():
40 """This class is used to represent a card, graphically and logically""" 40 """This class is used to represent a card, graphically and logically"""
41 41