|
11476f5de8
|
added on_press, on_release, on_hover_enter, on_hover_leave event on BoxWidget
|
2023-02-12 14:04:07 +01:00 |
|
|
9b008cbaea
|
added BoxWidget class that allow widgets with a bbox
|
2023-02-11 00:31:48 +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 |
|
|
e9c39ce2e3
|
added textures for the boat, bomb and button
|
2023-01-12 09:37:46 +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 |
|
|
31bb0c1d11
|
added a prototypal test server
|
2023-01-10 18:16:58 +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 |
|
|
b902d83d90
|
renamed some directory to avoid conflit and improve readability
|
2023-01-09 16:04:49 +01:00 |
|
|
82fc77cc6e
|
implemented a Board and a Boat for naval battle
|
2023-01-07 13:16:48 +01:00 |
|
|
d19ce65a72
|
added get_scenes, add_scene, remove_scene and set_scene can now take multiple scene to process
|
2023-01-06 11:12:28 +01:00 |
|
|
d66b8db655
|
fix: set_scene would not trigger "on_window_removed" event
|
2023-01-06 10:57:22 +01:00 |
|
|
d6a65f3548
|
added an "on_key_hold" event on the Window and Scene
|
2023-01-05 10:01:37 +01:00 |
|
|
69cf45bd72
|
implemented a Scene system for pyglet to simplify the creation of multiple different interface
|
2023-01-05 08:53:25 +01:00 |
|
|
445ade8c33
|
added base file and a hello world with pyglet
|
2023-01-04 19:47:37 +01:00 |
|
|
47204a997e
|
Initial commit
|
2023-01-04 16:15:07 +01:00 |
|