batframework 1.0.9a1__py3-none-any.whl → 1.0.9a2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -198,6 +198,7 @@ class Slider(Button):
198
198
 
199
199
  if self.autoresize_h or self.autoresize_w:
200
200
  target_rect = self.inflate_rect_by_padding(joined_rect)
201
+ target_rect.h += self.unpressed_relief
201
202
  if not self.autoresize_w:
202
203
  target_rect.w = self.rect.w
203
204
  if not self.autoresize_h:
@@ -78,6 +78,7 @@ class Toggle(Button):
78
78
 
79
79
  if self.autoresize_h or self.autoresize_w:
80
80
  target_rect = self.inflate_rect_by_padding(joined_rect)
81
+ target_rect.h += self.unpressed_relief
81
82
  if not self.autoresize_w:
82
83
  target_rect.w = self.rect.w
83
84
  if not self.autoresize_h:
batFramework/utils.py CHANGED
@@ -81,7 +81,6 @@ class Utils:
81
81
 
82
82
 
83
83
  @staticmethod
84
- @cache
85
84
  def create_spotlight(inside_color, outside_color, radius, radius_stop=None, dest_surf=None,size=None):
86
85
  """
87
86
  Creates a spotlight effect on a surface with a gradient from inside_color to outside_color.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: batframework
3
- Version: 1.0.9a1
3
+ Version: 1.0.9a2
4
4
  Summary: Pygame framework for making games easier.
5
5
  Author-email: Turan Baturay <baturayturan@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/TuranBaturay/batFramework
@@ -28,7 +28,7 @@ batFramework/tileset.py,sha256=3AJBWHx90PC43BdLYCBFm811XBrMvWoB-nsUgyo6s-I,1728
28
28
  batFramework/timeManager.py,sha256=XcqPs_74pjXafi6oNJe8W85SVfXTfPmOZOQyLOuyt8I,4987
29
29
  batFramework/transition.py,sha256=-1cyk-7Fbm0U2Z4Y2jjpLHwJ2khM1VxIMcfk2bBEo-M,6655
30
30
  batFramework/triggerZone.py,sha256=wIxkvO0cVVupQsJIPOD_-ofqwLnu1TLNK-n6oNXB1E8,579
31
- batFramework/utils.py,sha256=G9TBEFW6Okm4H7ohikG1GIf6d1pdql8ZBdhkpK5yyys,9969
31
+ batFramework/utils.py,sha256=vfndaYn4wMy0W746C6oCWCvnUyk9BxPL2vIpGyEDssU,9958
32
32
  batFramework/gui/__init__.py,sha256=OFAKZkafWX-BfDjF4MILmigVT1lywnsfH2pOIJwUybY,691
33
33
  batFramework/gui/animatedLabel.py,sha256=KePSSd6bTeJ5UXoPUpvY7QRx5Uah5-qpBDGby6xRgqU,2752
34
34
  batFramework/gui/button.py,sha256=IcljwLTIGsCcwCm1mFYBPxZDAU721TiLkOysldultHQ,1798
@@ -45,19 +45,19 @@ batFramework/gui/meter.py,sha256=RFzAhSzR3O-Pw0wjdfApWGWFQSJoYa4WohkiREDAAJc,239
45
45
  batFramework/gui/radioButton.py,sha256=rROl9mtUa-m220R5qZ85NBPZS7nPVx-azhqijJ-XhCo,2411
46
46
  batFramework/gui/root.py,sha256=xe0dGGEaFV80Y6oY2ma-HCYKCBcbO5CbVu4MtWPShxE,4755
47
47
  batFramework/gui/shape.py,sha256=PSQRqa8jYA8VsBXRQcpcCuEvTYmWDW8zJkzA_eRFPIo,9349
48
- batFramework/gui/slider.py,sha256=5d3rfTYjDCDiM5prKu6DTemlGgji2FQ_vGuLzxoa5gU,8335
48
+ batFramework/gui/slider.py,sha256=Bz99zzFPtI359S3YzjKQK5pVvIyPCBBwwfW92esahCk,8386
49
49
  batFramework/gui/style.py,sha256=OeLbft0RkIslQ2IcZpBeF6TaQDONIoBcAHj_Bkh9gFw,131
50
50
  batFramework/gui/styleManager.py,sha256=rALKJ-AmRbDAiyu8hVAYRAlkQxw677DiPoNKJZ4xtJ4,1245
51
51
  batFramework/gui/textInput.py,sha256=RMamEneCaixRVfDU4ctqeYBif4j9cIYgDcLYecikub4,10988
52
- batFramework/gui/toggle.py,sha256=qr12J6Avi7Tj7lPkLlVhkOVenUE9UPhLmfrG8mvpr90,3888
52
+ batFramework/gui/toggle.py,sha256=225hIUTOZEHnv8UvhEPLxcA11TmEsrZlb0hsmycpQbY,3939
53
53
  batFramework/gui/widget.py,sha256=jisyWi2wMSyEE8VuU3do6aW66PXzORe4nOTtR5WiXsA,14422
54
54
  batFramework/gui/constraints/__init__.py,sha256=qqXE8nnSrEvCSeHdqY8UYPZLetqdubFPI7IdZuh35QE,26
55
55
  batFramework/gui/constraints/constraints.py,sha256=dUuwWNgOoAGm2PKAxjGy8ubldZ2ih0k4_ViBLd2AXE8,29726
56
56
  batFramework/templates/__init__.py,sha256=8XN-7JwYFKTRx_lnUL_If3spwgn5_2b7bwmrRRBPON0,46
57
57
  batFramework/templates/character.py,sha256=4UEcegUIeIgj48sVgzyRcT6yjpFOZ8Q_gHTtiB5j6kw,1348
58
58
  batFramework/templates/states.py,sha256=WeomVrQ10vHxVCj9Wnk1PcinKyb871uV910mQe287kI,5370
59
- batframework-1.0.9a1.dist-info/LICENCE,sha256=A65iXbMDbOxQLDNOODJLqA7o5RxszYlEqIgNSzBQRf4,1073
60
- batframework-1.0.9a1.dist-info/METADATA,sha256=m1d5kjSmUaJxytpyQ6-i0tq-D-2X7QheyOO7nPKdR9Y,1694
61
- batframework-1.0.9a1.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
62
- batframework-1.0.9a1.dist-info/top_level.txt,sha256=vxAKBIk1oparFTxeXGBrgfIO7iq_YR5Fv1JvPVAIwmA,13
63
- batframework-1.0.9a1.dist-info/RECORD,,
59
+ batframework-1.0.9a2.dist-info/LICENCE,sha256=A65iXbMDbOxQLDNOODJLqA7o5RxszYlEqIgNSzBQRf4,1073
60
+ batframework-1.0.9a2.dist-info/METADATA,sha256=gya1wLTBekCRpHE2BNIxD1qoIIyQ11j7iZizpAOLRjI,1694
61
+ batframework-1.0.9a2.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
62
+ batframework-1.0.9a2.dist-info/top_level.txt,sha256=vxAKBIk1oparFTxeXGBrgfIO7iq_YR5Fv1JvPVAIwmA,13
63
+ batframework-1.0.9a2.dist-info/RECORD,,