Commit graph

  • d8a48dd105 Made _format_msg() a private function. main EKNr1 2025-01-13 20:03:32 +0100
  • def727006b Added write shortcuts. EKNr1 2025-01-13 18:21:55 +0100
  • 8e1b4ade13 Added docstrings. EKNr1 2025-01-13 18:15:00 +0100
  • adce0f3812 Added log class to __init__.py EKNr1 2025-01-13 18:02:06 +0100
  • 7d38dab998 Improved log and log test. EKNr1 2025-01-13 18:00:54 +0100
  • 2655e2c65e Removed unnecessary function call. EKNr1 2025-01-13 17:02:46 +0100
  • 9f6acb1541 Added test for text.log EKNr1 2025-01-13 17:00:02 +0100
  • 35ebc6676d Added header print to mark the output of this text. EKNr1 2025-01-13 16:59:44 +0100
  • 99e0ff0726 Corrected comments. EKNr1 2025-01-10 19:12:03 +0100
  • 42f2a5f24b Implemented viewing of current directory. EKNr1 2025-01-10 19:08:20 +0100
  • f33e751683 Added viewing of path specified by command line argument. EKNr1 2025-01-10 19:01:36 +0100
  • dfd05e1732 Added utils.py and improved the example of the tree view. EKNr1 2025-01-10 18:55:07 +0100
  • 5f6f89d17d Removed debug print. EKNr1 2025-01-10 18:38:36 +0100
  • c620c1b19b Added a module that generates file tree views. EKNr1 2025-01-10 18:03:22 +0100
  • eaa9b87990 Made the module import pygame only when needed. EKNr1 2025-01-09 16:27:19 +0100
  • 1baac24427 Separated text formatting module and log module to 2 files and added a simple test for the formatting module. EKNr1 2025-01-09 16:26:15 +0100
  • 56a74ec420 Moved text.py and buntcheck.py into text/ EKNr1 2025-01-08 17:10:40 +0100
  • 614d97230e Added symbolic link to pygame_tools/pgui/ so the import is shorter. EKNr1 2025-01-08 16:45:09 +0100
  • 34bf8df7ed Finally added __init__.py to the text module and modified the __init__.py in pgui. EKNr1 2025-01-08 16:41:01 +0100
  • 38e8be3318 Added build directories to .gitignore EKNr1 2025-01-06 16:06:19 +0100
  • 64def0c826 Added data_file example. EKNr1 2024-12-25 17:38:23 +0100
  • 5919c1bf8b Change default parameter of "builtin_change_event" to "True" EKNr1 2024-12-24 12:00:57 +0100
  • 871b732ed9 Added "event" that gets called when an attribute of the instance gets modified. EKNr1 2024-12-23 19:21:40 +0100
  • 10ba70d545 Added simple "page system". EKNr1 2024-12-18 17:33:16 +0100
  • 103da5c1d7 Restructured folder structure again. EKNr1 2024-12-15 17:00:44 +0100
  • 8a57a23048 Removed old, deprecated, dangerous, stupid method of saving data to a file. EKNr1 2024-12-13 16:14:16 +0100
  • d88f4964fe Added an indentation parameter. EKNr1 2024-12-07 22:43:35 +0100
  • c50525b561 Updated .gitignore EKNr1 2024-12-07 20:19:12 +0100
  • 574513ff4a Updated the readme to explain how to install the module using pip. EKNr1 2024-12-07 19:06:45 +0100
  • 13ea826cfb Added setup.py EKNr1 2024-12-07 19:01:21 +0100
  • e845faf03d Forgot to move that. EKNr1 2024-12-07 18:29:01 +0100
  • ea3e86226c WTF was it just copied? EKNr1 2024-12-07 18:28:46 +0100
  • 5f5175e653 Made the folder structure match more the Python package standards. EKNr1 2024-12-07 18:12:37 +0100
  • 4721e5e7fa Rearranged folder structure in the pygame tools. (No warranty that everything still works. ) EKNr1 2024-12-05 18:47:13 +0100
  • a167ae70c3 Made the examples work again. EKNr1 2024-12-05 17:38:22 +0100
  • 5ed48e4d7c load_dataclass_json() now automatically adds a save function to the dataclass. EKNr1 2024-12-05 16:58:38 +0100
  • 742199873c And fixed the comment again. EKNr1 2024-12-05 16:26:27 +0100
  • b1636fdb47 Corrected a comment. EKNr1 2024-12-05 16:24:43 +0100
  • 69d875a5c8 Added requirements.txt EKNr1 2024-11-21 18:27:58 +0100
  • 0cd5270419 Using deprecated.deprecated instead of warnings.deprecated because warnings.deprecated is not compatible with all python3 versions. EKNr1 2024-11-21 18:25:44 +0100
  • c56e93a617 Added some comments. EKNr1 2024-08-29 15:58:37 +0200
  • ec8ba98b56 Moved some code to the right place. EKNr1 2024-08-29 15:27:02 +0200
  • 5a9224bdae Added sparse voxel octree system. EKNr1 2024-08-29 15:18:15 +0200
  • 800e7f306d Started work on infinite matrix. Wobbl 2024-07-20 20:15:37 +0200
  • 805763af19 Corrected a word. Wobbl 2024-07-20 19:06:26 +0200
  • 0dfb7008d7 Marked old textfile function as deprecated because it is not safe. Wobbl 2024-07-20 19:05:46 +0200
  • 3dba928436 Just placed one more symbol that missed. Wobbl 2024-07-20 17:32:30 +0200
  • 9121342bff Made the TextButton a pygame.sprite.Sprite. EKNr1 2024-04-20 15:55:49 +0200
  • 67424f067f Added some comments and descriptions. EKNr1 2024-03-25 15:14:47 +0100
  • 80af2234a6 Added example scripts to demonstrate the pygame tools. EKNr1 2024-03-25 14:25:45 +0100
  • aed66009a3 Corrected something. EKNr1 2024-03-25 14:25:05 +0100
  • 60271e4164 Made a better multiline text class. EKNr1 2024-03-25 14:24:13 +0100
  • 6161c081b1 Added function to get nth occurrence of a string in another string. EKNr1 2024-03-24 18:42:43 +0100
  • 727c7bfd5c Improved MultilineText. EKNr1 2024-03-22 21:07:26 +0100
  • 3aa6cd9904 Fixed another bug in MultilineText. EKNr1 2024-03-22 20:54:30 +0100
  • 7a2cd3e984 Fixed multiline text. EKNr1 2024-03-22 20:30:49 +0100
  • 7113e6a8c8 Added args parameter to all button/hover classes to be able to execute a function with arguments. EKNr1 2024-03-22 19:39:42 +0100
  • 8d4bb14583 Simplified some button classes. EKNr1 2024-03-17 14:13:55 +0100
  • 45ad97fc13 Added some descriptions. EKNr1 2024-03-14 18:36:52 +0100
  • f5e44bf45f Made it not crash if the class contains functions. EKNr1 2024-02-25 16:51:10 +0100
  • 246875690f Corrected some imports. EKNr1 2024-02-25 15:03:11 +0100
  • 9a52203ba2 Added some comments. EKNr1 2024-02-25 14:48:51 +0100
  • 9bb90c14f1 Added 2 functions to store dataclasses in json files. EKNr1 2024-02-25 14:29:14 +0100
  • 57463e8ebb README.md aktualisiert EKNr1 2024-02-25 14:10:07 +0100
  • 65d7dbd043 Added a class that can save dataclasses to a json file. EKNr1 2024-02-24 20:51:58 +0100
  • 6292f0b5e9 README.md aktualisiert EKNr1 2024-02-24 17:23:21 +0100
  • 2fa9ce7f1d README.md aktualisiert The Wobbler 2024-01-28 11:38:15 +0100
  • e1acafa0ac Added TextInput() class. EKNr1 2024-01-05 22:46:06 +0100
  • e5951abb21 Added crop_surface() function. EKNr1 2024-01-05 22:43:49 +0100
  • eaae218243 Corrected the name of a variable and removed a debug print. EKNr1 2024-01-05 22:30:21 +0100
  • 16424d1f23 Added asap() and rsap() functions. These functions are so simple that I am too lazy to explain their tasks. EKNr1 2024-01-05 22:14:36 +0100
  • 2e42dd0cb4 pg: In TextButton.blit(), padding was used as if it would be still an int. EKNr1 2023-12-09 12:49:57 +0100
  • f76da0f202 pg: In TextButton.blit(), padding was used as if it would be still an int. EKNr1 2023-11-12 15:36:37 +0100
  • e106d87d6d pg: Padding in TextButton() is now a tuple to specify the padding for x and y. EKNr1 2023-11-12 15:30:20 +0100
  • 6fb6280bad Removed debug prints. EKNr1 2023-11-12 15:00:53 +0100
  • d89e8bf96e Fixed Crash in TextButton().update(): New button had wrong parameters. EKNr1 2023-11-12 14:58:04 +0100
  • c0aafce29a Fixed Crash in TextButton(): Position was checked if it is an int, but it has to be checked if it is a tuple. EKNr1 2023-11-12 14:27:41 +0100
  • 6df677bb84 Merge remote-tracking branch 'origin/master' EKNr1 2023-11-11 20:22:08 +0100
  • bef56f4b28 Made the callable position in TextButton() work. EKNr1 2023-11-11 20:21:54 +0100
  • 58506392cb Added readme. The Wobbler 2023-11-11 19:50:32 +0100
  • 8633958f29 Renamed settings.py to file_dict.py, because it can not only be used to store settings. EKNr1 2023-11-11 18:34:28 +0100
  • 95c6346d26 Pygame: Made it possible to pass a function as position for an text button to automatically update the position. EKNr1 2023-11-09 17:15:30 +0100
  • 57ded2ff83 Made the changes in the latest commit work. EKNr1 2023-11-06 20:18:07 +0100
  • 542e6b39ca Added possibility to pass an executable to buttons to recalculate the position. EKNr1 2023-11-06 20:09:30 +0100
  • e6006e5264 Added update() function to text button. EKNr1 2023-11-06 19:43:24 +0100
  • 808b613273 Started working on update function for text buttons. EKNr1 2023-11-06 19:30:30 +0100
  • b758d46139 Fixed crash: pygame.Surface has no collidepoint(). EKNr1 2023-11-05 19:43:41 +0100
  • 9f8c4ce1a7 settings.py: Added possibility to leave path unfilled in save() EKNr1 2023-11-05 19:08:12 +0100
  • 825322d000 Fixed crash: Font was initialized before pygame.init() EKNr1 2023-11-05 19:06:57 +0100
  • bf09b0bcc6 /tools/ now has to be in /site-packages/ or /dist-packages/. EKNr1 2023-11-05 18:36:40 +0100
  • 6ac3a80483 Added __str__() to settings class. EKNr1 2023-11-05 16:14:16 +0100
  • 2ab5e56969 Simplified some things. EKNr1 2023-11-05 15:49:14 +0100
  • 2b3ac6a31d Added settings class. EKNr1 2023-10-31 19:31:22 +0100
  • e867318c7f Got buttons working. EKNr1 2023-08-25 16:15:01 +0200
  • b35fd9fa7e Moved tools.py to own project EKNr1 2023-07-21 13:23:15 +0200