L3-Bataille-Navale/source/gui
2023-03-07 14:52:05 +01:00
..
better_pyglet united custom Sprite and Label in better_pyglet, they now have a default_kwargs. "Century Gothic Bold" is now the default font 2023-03-06 10:11:42 +01:00
event added more documentation in some files 2023-02-23 00:02:28 +01:00
scene added the possibility to view in replay a previous game 2023-03-07 14:52:05 +01:00
sound path are now in the path module 2023-03-07 11:26:39 +01:00
texture path are now in the path module 2023-03-07 11:26:39 +01:00
widget added the possibility to view in replay a previous game 2023-03-07 14:52:05 +01:00
window batchs are now automatically handled by the scene and the widgets 2023-03-02 21:34:21 +01:00
__init__.py added BoxWidget class that allow widgets with a bbox 2023-02-11 00:31:48 +01:00
position.py added the possibility to view in replay a previous game 2023-03-07 14:52:05 +01:00
README.md 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
regex.py path are now in the path module 2023-03-07 11:26:39 +01:00

Ce module est une "surcouche" pour le module pyglet afin d'implémenter quelques éléments qui ne sont pas déjà disponible nativement dans cette librairie, tel que :

  • Les scènes (attachable à une fenêtre afin de changer rapidement de menu / d'interface)
  • Les widgets (attachable à des scènes afin de rajouter des boutons, des textes, ...)

Ces éléments permettent de plus facilement gérer le redimensionnement de la fenêtre tout en restant suffisament rapide pour ne pas causer de problème de ralentissement.