From f2fa64318a46700cb33fbcfc4febdcaba29c5569 Mon Sep 17 00:00:00 2001 From: superdimensional Date: Sat, 1 May 2021 23:17:48 -0400 Subject: [PATCH] formated file --- functions.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/functions.py b/functions.py index c3b3b39..4e57203 100644 --- a/functions.py +++ b/functions.py @@ -16,6 +16,7 @@ def count_up(omnitrix_button): omnitrix_button.configure(image=img) omnitrix_button.image = img # keep a reference! + def count_down(omnitrix_button): global counter counter -= 1 @@ -38,6 +39,7 @@ def button_press(): print(alien_table(counter)) # ! replace with sound playing function + def skip_up(omnitrix_button): global counter counter += 5 @@ -50,6 +52,7 @@ def skip_up(omnitrix_button): omnitrix_button.configure(image=img) omnitrix_button.image = img # keep a reference! + def skip_down(omnitrix_button): global counter counter -= 5 @@ -60,4 +63,4 @@ def skip_down(omnitrix_button): path = image_display(counter) img = ImageTk.PhotoImage(Image.open(path)) omnitrix_button.configure(image=img) - omnitrix_button.image = img # keep a reference! \ No newline at end of file + omnitrix_button.image = img # keep a reference!