From 73a913c43c462cb785272fe3663e470340169d4b Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 21 May 2015 12:58:31 +0100 Subject: [PATCH] added branding --- GUI.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/GUI.py b/GUI.py index 1fce63e..a998115 100644 --- a/GUI.py +++ b/GUI.py @@ -42,6 +42,11 @@ class Main_Window: self.exit_button.pack(ipadx=PADDING_BUTTON/3, ipady=PADDING_BUTTON, padx=PADDING_BUTTON, pady=PADDING_BUTTON) self.exit_button.bind('', self.close) + self.about_info = Label(self.master) + self.about_info.config(text="Game Created by TheOrangeOne!", font=("Courier New", 14)) + self.about_info.bind("", self.show_site) + self.about_info.pack(side="top", padx=PADDING_BUTTON, pady=PADDING_BUTTON/2) + Style().configure("Menu.TButton", font=("Lucida", 21)) Style().configure("About.TButton", font=("Lucida", 17)) Style().configure("Quit.TButton", font=("Lucida", 13)) @@ -66,6 +71,9 @@ class Main_Window: logging.critical("Closing Main Window.") self.master.destroy() + def show_site(self, event): + logging.info("Loading Website") + system("start http://theorangeone.net") class Options_Window: def __init__(self):