Commit graph

21 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
3aa9eaf541 fixed access to some style that would raise a attribute does not exist error 2023-02-28 18:28:00 +01:00
e961f7e348 changed the way texture are loaded 2023-02-27 15:18:12 +01:00
75c1d4b6e8 added a Style system 2023-02-19 12:02:12 +01:00
446e377b19 simplified event in Widget with Listener, added more useful property to BoxWidget 2023-02-18 19:41:07 +01:00
ca001511c8 started the networking and interface connection 2023-02-17 15:56:00 +01:00
928d35b97b added a Checkbox widget 2023-02-15 09:38:31 +01:00
48da47c234 added Image and Input widgets 2023-02-14 10:36:59 +01:00
abf653a4e9 the draw method is now abstract for the Widget 2023-02-13 22:44:02 +01:00
0f0b21f9b7 the text on Button is now properly centered 2023-02-13 21:40:11 +01:00
31d1069709 added Button widget (label to fix) 2023-02-13 20:32:23 +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
2b4d125b46 added prototypal "AdaptativeWidget" to automatically resize widget when the window is resized 2023-01-11 20:26:53 +01:00
91a79c7a80 button can now have another image when clicked 2023-01-10 22:50:10 +01:00
de9fcf78c0 added type hint for Point2D and BBox 2023-01-10 20:33:13 +01:00
1175c8b5d1 added Board, Boat, Orientation serialisation 2023-01-10 17:11:18 +01:00
dcca925dbe added a sprite class to simplify the modification of width and height 2023-01-10 14:22:30 +01:00
36e89f0e6d button now have simpler getter and a single _update_size method 2023-01-10 13:56:20 +01:00
eff0218c8f added a Widget system with a Button widget example 2023-01-10 00:09:25 +01:00