From cce7aa059e83afea0a2a08db94e919a3def49224 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 6 Feb 2024 10:26:30 -0300 Subject: Remove some TODO notes --- __main__.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/__main__.py b/__main__.py index 34cb54e..6bd4266 100755 --- a/__main__.py +++ b/__main__.py @@ -252,7 +252,6 @@ def update_serverlist(hosti): def update_soul(): global vaultId, vaultToken, mySoul ## Fetch soul data - ## TODO: Doing this here is too inefficient!! auth = {"vaultId": vaultId, "token": vaultToken} @@ -597,12 +596,12 @@ def world_select(): ## TODO: Image button if an icon can be found button = HoverButton(text=w["Name"], command=partial(launch_game_master, serverlist.index(w)), width=40, anchor="w", bg="#cc6600", fg="#fff", activebackground="#ee9933") canva.create_window(200, ypos, window=button) - ## TODO FIXME: World Info Button + ## World Info Button button = HoverButton(text="?", command=partial(info_game, serverlist.index(w)), bg="#cc6600", fg="#fff", activebackground="#ee9933") canva.create_window(370, ypos, window=button) ypos += 40 - ## TODO: Footnote: Settings button + ## Footer with Mirror Lake information labf = "Lv %d, %d/%d EXP" % (mySoul["level"], mySoul["exp"], mySoul["next"]) labelf = tk.Label(root, text=labf, bg="#0c3251", fg="#fff") labelf.config(font=('helvetica', 13)) @@ -612,8 +611,8 @@ def world_select(): canva.create_window(200, 570, window=labelf) ## Settings button - #setbutton = HoverButton(text="Prefs", command=settings, bg="#cc6600", fg="#fff", activebackground="#ee9933", image=_cog_png) - setbutton = tk.Button(text="Prefs", command=settings, bg="#cc6600", activebackground="#ee9933", image=_cog_png) + setbutton = HoverButton(text="Prefs", command=settings, bg="#cc6600", fg="#fff", activebackground="#ee9933", image=_cog_png) + #setbutton = tk.Button(text="Prefs", command=settings, bg="#cc6600", activebackground="#ee9933", image=_cog_png) canva.create_window(30, 550, window=setbutton) return -- cgit v1.2.3-70-g09d2