L3-Bataille-Navale/source/gui
2023-02-20 23:25:26 +01:00
..
event factorised the event_wrapper from Window and Scene to a Mixin 2023-02-19 18:50:04 +01:00
scene simplified and added the possibility to place boat with the given boat size list on the grid 2023-02-20 23:25:26 +01:00
sprite added Button widget (label to fix) 2023-02-13 20:32:23 +01:00
texture simplified and added the possibility to place boat with the given boat size list on the grid 2023-02-20 23:25:26 +01:00
widget simplified and added the possibility to place boat with the given boat size list on the grid 2023-02-20 23:25:26 +01:00
window added a function to render board on the grid (unoptimised !!!) 2023-02-20 15:21:43 +01:00
__init__.py added BoxWidget class that allow widgets with a bbox 2023-02-11 00:31:48 +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

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.