* minor fixes
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@248 efabe8c0-fbe8-4139-b769-b5e6d273206e
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
BIN
data/images/redeal.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
data/images/stopsign.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
|
@ -163,8 +163,10 @@ class AFlipAndMoveMove(AtomicMove):
|
||||||
x, y = to_stack.getPositionForNextCard()
|
x, y = to_stack.getPositionForNextCard()
|
||||||
game.animatedMoveTo(from_stack, to_stack, cards, x, y,
|
game.animatedMoveTo(from_stack, to_stack, cards, x, y,
|
||||||
frames=self.frames, shadow=0)
|
frames=self.frames, shadow=0)
|
||||||
c = from_stack.removeCard()
|
c = from_stack.removeCard(update=False)
|
||||||
to_stack.addCard(c)
|
to_stack.addCard(c, update=False)
|
||||||
|
from_stack.updateText()
|
||||||
|
to_stack.updateText()
|
||||||
|
|
||||||
def redo(self, game):
|
def redo(self, game):
|
||||||
self._doMove(game, game.allstacks[self.from_stack_id],
|
self._doMove(game, game.allstacks[self.from_stack_id],
|
||||||
|
|
|
@ -370,7 +370,7 @@ def createBottom(image, color='white', backfile=None):
|
||||||
w, h = im.size
|
w, h = im.size
|
||||||
size = (w-th*2, h-th*2)
|
size = (w-th*2, h-th*2)
|
||||||
tmp = Image.new('RGBA', size, color)
|
tmp = Image.new('RGBA', size, color)
|
||||||
tmp.putalpha(40)
|
tmp.putalpha(60)
|
||||||
mask = out.resize(size, Image.ANTIALIAS)
|
mask = out.resize(size, Image.ANTIALIAS)
|
||||||
out.paste(tmp, (th,th), mask)
|
out.paste(tmp, (th,th), mask)
|
||||||
if backfile:
|
if backfile:
|
||||||
|
|
|
@ -370,7 +370,7 @@ def createBottom(image, color='white', backfile=None):
|
||||||
w, h = im.size
|
w, h = im.size
|
||||||
size = (w-th*2, h-th*2)
|
size = (w-th*2, h-th*2)
|
||||||
tmp = Image.new('RGBA', size, color)
|
tmp = Image.new('RGBA', size, color)
|
||||||
tmp.putalpha(40)
|
tmp.putalpha(60)
|
||||||
mask = out.resize(size, Image.ANTIALIAS)
|
mask = out.resize(size, Image.ANTIALIAS)
|
||||||
out.paste(tmp, (th,th), mask)
|
out.paste(tmp, (th,th), mask)
|
||||||
if backfile:
|
if backfile:
|
||||||
|
|