Commit graph

14 commits

Author SHA1 Message Date
3caaa8180d batchs are now automatically handled by the scene and the widgets 2023-03-02 21:34:21 +01:00
39d44e7ec2 added a function to render board on the grid (unoptimised !!!) 2023-02-20 15:21:43 +01:00
8a385a75bf factorised the event_wrapper from Window and Scene to a Mixin 2023-02-19 18:50:04 +01:00
5dcd570be8 added the possibility to prevent an event to propagate to the next widgets 2023-02-19 16:50:05 +01:00
15161764ad moved the fps counter from a widget to the GameWindow features, window can now react to event after all scenes got their corresponding event called by adding "_after" in the name of the method event 2023-02-18 20:05:44 +01:00
8181885c84 fixed an issue with gl context when connected 2023-02-17 16:09:49 +01:00
e5ce93a207 added a RoomCreate and a RoomJoin scene 2023-02-14 23:02:44 +01:00
59ee20efe5 fixed bbox property not returning the correct x2 and y2 2023-02-13 14:31:25 +01:00
432a311b76 rewrote the base of the Window, Scene and Widget class to make them as clean as possible 2023-02-09 23:56:04 +01:00
3cb8a94c13 added more widgets 2023-02-09 18:26:03 +01:00
920914ad8c restructured some part of the code, implemented Label and Button 2023-01-17 22:24:03 +01:00
7cc837b68e recoded the structure of the gui 2023-01-14 00:11:35 +01:00
de9fcf78c0 added type hint for Point2D and BBox 2023-01-10 20:33:13 +01:00
eff0218c8f added a Widget system with a Button widget example 2023-01-10 00:09:25 +01:00
Renamed from gui/window/Window.py (Browse further)