Mercurial > libervia-backend
diff frontends/src/wix/card_game.py @ 366:0806a65a5fa9
wix: updated paths to use media_dir
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 18 Jun 2011 22:51:33 +0200 |
parents | 809733b8d9be |
children | cf005701624b |
line wrap: on
line diff
--- a/frontends/src/wix/card_game.py Sat Jun 18 17:56:59 2011 +0200 +++ b/frontends/src/wix/card_game.py Sat Jun 18 22:51:33 2011 +0200 @@ -61,7 +61,7 @@ QuickCardGame.__init__(self, parent, referee, players, player_nick) wx.Panel.__init__(self, parent) self.SetMinSize(wx.Size(MIN_WIDTH, MIN_HEIGHT)) - self.loadCards("images/cards/") + self.loadCards(os.path.join(self.parent.host.media_dir, 'games/cards/tarot')) self.mouse_over_card = None #contain the card to highlight self.visible_size = CARD_WIDTH/2 #number of pixels visible for cards self.hand = []