diff --git a/data/images/cards/bottoms/hanafuda/I01-n.png b/data/images/cards/bottoms/hanafuda/I01-n.png new file mode 100644 index 00000000..9a202517 Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/I01-n.png differ diff --git a/data/images/cards/bottoms/hanafuda/I01.png b/data/images/cards/bottoms/hanafuda/I01.png new file mode 100644 index 00000000..8048816e Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/I01.png differ diff --git a/data/images/cards/bottoms/hanafuda/I02-n.png b/data/images/cards/bottoms/hanafuda/I02-n.png new file mode 100644 index 00000000..7a7d8a69 Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/I02-n.png differ diff --git a/data/images/cards/bottoms/hanafuda/I02.png b/data/images/cards/bottoms/hanafuda/I02.png new file mode 100644 index 00000000..6f91786f Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/I02.png differ diff --git a/data/images/cards/bottoms/hanafuda/I03-n.png b/data/images/cards/bottoms/hanafuda/I03-n.png new file mode 100644 index 00000000..c6a91801 Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/I03-n.png differ diff --git a/data/images/cards/bottoms/hanafuda/I03.png b/data/images/cards/bottoms/hanafuda/I03.png new file mode 100644 index 00000000..be2b743f Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/I03.png differ diff --git a/data/images/cards/bottoms/hanafuda/I04-n.png b/data/images/cards/bottoms/hanafuda/I04-n.png new file mode 100644 index 00000000..c299baaa Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/I04-n.png differ diff --git a/data/images/cards/bottoms/hanafuda/I04.png b/data/images/cards/bottoms/hanafuda/I04.png new file mode 100644 index 00000000..1de44d28 Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/I04.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom02-n.png b/data/images/cards/bottoms/hanafuda/bottom02-n.png new file mode 100644 index 00000000..4ab9fd34 Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom02-n.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom02.png b/data/images/cards/bottoms/hanafuda/bottom02.png new file mode 100644 index 00000000..ebce94df Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom02.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom03-n.png b/data/images/cards/bottoms/hanafuda/bottom03-n.png new file mode 100644 index 00000000..c3b8ef87 Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom03-n.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom03.png b/data/images/cards/bottoms/hanafuda/bottom03.png new file mode 100644 index 00000000..f4ed9636 Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom03.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom04-n.png b/data/images/cards/bottoms/hanafuda/bottom04-n.png new file mode 100644 index 00000000..9a202517 Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom04-n.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom04.png b/data/images/cards/bottoms/hanafuda/bottom04.png new file mode 100644 index 00000000..8048816e Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom04.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom05-n.png b/data/images/cards/bottoms/hanafuda/bottom05-n.png new file mode 100644 index 00000000..210425fa Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom05-n.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom05.png b/data/images/cards/bottoms/hanafuda/bottom05.png new file mode 100644 index 00000000..be2cc344 Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom05.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom06-n.png b/data/images/cards/bottoms/hanafuda/bottom06-n.png new file mode 100644 index 00000000..56e8800d Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom06-n.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom06.png b/data/images/cards/bottoms/hanafuda/bottom06.png new file mode 100644 index 00000000..9060e477 Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom06.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom07-n.png b/data/images/cards/bottoms/hanafuda/bottom07-n.png new file mode 100644 index 00000000..b896af51 Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom07-n.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom07.png b/data/images/cards/bottoms/hanafuda/bottom07.png new file mode 100644 index 00000000..015abea0 Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom07.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom08-n.png b/data/images/cards/bottoms/hanafuda/bottom08-n.png new file mode 100644 index 00000000..8d56af0d Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom08-n.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom08.png b/data/images/cards/bottoms/hanafuda/bottom08.png new file mode 100644 index 00000000..4fd4ae95 Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom08.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom09-n.png b/data/images/cards/bottoms/hanafuda/bottom09-n.png new file mode 100644 index 00000000..98666e3d Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom09-n.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom09.png b/data/images/cards/bottoms/hanafuda/bottom09.png new file mode 100644 index 00000000..841edfde Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom09.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom10-n.png b/data/images/cards/bottoms/hanafuda/bottom10-n.png new file mode 100644 index 00000000..0ce0573c Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom10-n.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom10.png b/data/images/cards/bottoms/hanafuda/bottom10.png new file mode 100644 index 00000000..6279f783 Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom10.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom11-n.png b/data/images/cards/bottoms/hanafuda/bottom11-n.png new file mode 100644 index 00000000..77834ce0 Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom11-n.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom11.png b/data/images/cards/bottoms/hanafuda/bottom11.png new file mode 100644 index 00000000..615dad62 Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom11.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom12-n.png b/data/images/cards/bottoms/hanafuda/bottom12-n.png new file mode 100644 index 00000000..2f1ce34f Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom12-n.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom12.png b/data/images/cards/bottoms/hanafuda/bottom12.png new file mode 100644 index 00000000..40cce2e9 Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom12.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom13-n.png b/data/images/cards/bottoms/hanafuda/bottom13-n.png new file mode 100644 index 00000000..b8eb7601 Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom13-n.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom13.png b/data/images/cards/bottoms/hanafuda/bottom13.png new file mode 100644 index 00000000..8c50e70f Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom13.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom14-n.png b/data/images/cards/bottoms/hanafuda/bottom14-n.png new file mode 100644 index 00000000..b9407b77 Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom14-n.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom14.png b/data/images/cards/bottoms/hanafuda/bottom14.png new file mode 100644 index 00000000..5e6ca06f Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom14.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom15-n.png b/data/images/cards/bottoms/hanafuda/bottom15-n.png new file mode 100644 index 00000000..7975ab33 Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom15-n.png differ diff --git a/data/images/cards/bottoms/hanafuda/bottom15.png b/data/images/cards/bottoms/hanafuda/bottom15.png new file mode 100644 index 00000000..def0a4fb Binary files /dev/null and b/data/images/cards/bottoms/hanafuda/bottom15.png differ diff --git a/pysollib/layout.py b/pysollib/layout.py index 9bd6b365..c2e71b18 100644 --- a/pysollib/layout.py +++ b/pysollib/layout.py @@ -768,7 +768,7 @@ class Layout: # set size so that at least 2//3 of a card is visible with 20 cards h = CH * 2 // 3 + (playcards - 1) * self.YOFFSET - h = max(h, 2 * YS) + h = max(h, 6 * YS) # bottom center x = (XM + (toprows * XS) // 2) - XS @@ -832,7 +832,7 @@ class Layout: # set size so that at least 2//3 of a card is visible with 12 cards h = CH * 2 // 3 + (playcards - 1) * self.YOFFSET - h = max(h, 2 * YS) + h = max(h, 2 * decks * YS) # create foundations x, y = XM, YM @@ -862,14 +862,14 @@ class Layout: y += YS # create talon - x, y = XM, h + YM + x, y = XM, h self.s.talon = s = S(x, y) if texts: # place text right of stack self._setText(s, 'se') # set window - self.size = (XM + toprows * XS, YM + YS + h) + self.size = (XM + toprows * XS, (YM * decks) + YS + h) # # Fun layout