Commit graph

20 commits

Author SHA1 Message Date
d89e8bf96e Fixed Crash in TextButton().update():
New button had wrong parameters.
2023-11-12 14:58:04 +01:00
c0aafce29a Fixed Crash in TextButton():
Position was checked if it is an int, but it has to be checked if it is a tuple.
2023-11-12 14:27:41 +01:00
6df677bb84 Merge remote-tracking branch 'origin/master' 2023-11-11 20:22:08 +01:00
bef56f4b28 Made the callable position in TextButton() work. 2023-11-11 20:21:54 +01:00
58506392cb Added readme. 2023-11-11 19:50:32 +01:00
8633958f29 Renamed settings.py to file_dict.py, because it can not only be used to store settings. 2023-11-11 18:34:28 +01:00
95c6346d26 Pygame: Made it possible to pass a function as position for an text button to automatically update the position. 2023-11-09 17:15:30 +01:00
57ded2ff83 Made the changes in the latest commit work. 2023-11-06 20:18:07 +01:00
542e6b39ca Added possibility to pass an executable to buttons to recalculate the position. 2023-11-06 20:09:30 +01:00
e6006e5264 Added update() function to text button. 2023-11-06 19:43:24 +01:00
808b613273 Started working on update function for text buttons. 2023-11-06 19:30:30 +01:00
b758d46139 Fixed crash: pygame.Surface has no collidepoint(). 2023-11-05 19:43:41 +01:00
9f8c4ce1a7 settings.py: Added possibility to leave path unfilled in save() 2023-11-05 19:08:12 +01:00
825322d000 Fixed crash: Font was initialized before pygame.init() 2023-11-05 19:06:57 +01:00
bf09b0bcc6 /tools/ now has to be in /site-packages/ or /dist-packages/. 2023-11-05 18:36:40 +01:00
6ac3a80483 Added __str__() to settings class. 2023-11-05 16:14:16 +01:00
2ab5e56969 Simplified some things. 2023-11-05 15:49:14 +01:00
2b3ac6a31d Added settings class. 2023-10-31 19:31:22 +01:00
e867318c7f Got buttons working. 2023-08-25 16:15:01 +02:00
b35fd9fa7e Moved tools.py to own project 2023-07-21 13:23:15 +02:00