Skip to content

Commit

Permalink
Correction diverse
Browse files Browse the repository at this point in the history
  • Loading branch information
Wateir committed Dec 11, 2024
1 parent 54ef726 commit e3e920c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Binary file modified module/__pycache__/interface.cpython-312.pyc
Binary file not shown.
4 changes: 3 additions & 1 deletion module/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(self):
#Menu personalisé
menu_perso = Menu(menu_bar, tearoff=0)
menu_bar.add_cascade(label="Edition", menu=menu_perso)
menu_fractale.add_command(label="Personnalisé", command=self.afficher_parametres)
menu_perso.add_command(label="Personnalisé", command=self.afficher_parametres)

# Canvas pour afficher les fractales
self.canvas = Canvas(self, width=800, height=600, bg="black")
Expand Down Expand Up @@ -91,6 +91,8 @@ def afficher_parametres(self):
self.angle_spinbox.grid(row=7, column=1, sticky="w", padx=5, pady=5)
self.bouton_appliquer.grid(row=8, column=0, columnspan=2, pady=5)

self.canvas.delete("all")

def cacher_parametres(self):
""" Cache les champs de saisie pour les paramètres du L-System """
self.chaine_depart_label.grid_forget()
Expand Down

0 comments on commit e3e920c

Please sign in to comment.