update icons
This commit is contained in:
parent
887a3b0922
commit
4b04f2b918
|
@ -5,10 +5,8 @@ import tkinter as tk
|
|||
from Utils import local_path
|
||||
|
||||
def set_icon(window):
|
||||
er16 = tk.PhotoImage(file=local_path('data', 'ER16.gif'))
|
||||
er32 = tk.PhotoImage(file=local_path('data', 'ER32.gif'))
|
||||
er48 = tk.PhotoImage(file=local_path('data', 'ER32.gif'))
|
||||
window.tk.call('wm', 'iconphoto', window._w, er16, er32, er48) # pylint: disable=protected-access
|
||||
logo = tk.PhotoImage(file=local_path('data', 'icon.png'))
|
||||
window.tk.call('wm', 'iconphoto', window._w, logo)
|
||||
|
||||
# Although tkinter is intended to be thread safe, there are many reports of issues
|
||||
# some which may be platform specific, or depend on if the TCL library was compiled without
|
||||
|
|
|
@ -153,8 +153,8 @@ def adjust(args):
|
|||
|
||||
|
||||
def adjustGUI():
|
||||
from tkinter import Checkbutton, OptionMenu, Toplevel, LabelFrame, PhotoImage, Tk, LEFT, RIGHT, BOTTOM, TOP, \
|
||||
StringVar, IntVar, Frame, Label, W, E, X, BOTH, Entry, Spinbox, Button, filedialog, messagebox, ttk
|
||||
from tkinter import Tk, LEFT, BOTTOM, TOP, \
|
||||
StringVar, Frame, Label, X, Entry, Button, filedialog, messagebox, ttk
|
||||
from Gui import get_rom_options_frame, get_rom_frame
|
||||
from GuiUtils import set_icon
|
||||
from argparse import Namespace
|
||||
|
|
|
@ -8,8 +8,6 @@ import base64
|
|||
import shutil
|
||||
from json import loads, dumps
|
||||
|
||||
from random import randrange
|
||||
|
||||
from Utils import get_item_name_from_id
|
||||
|
||||
exit_func = atexit.register(input, "Press enter to close.")
|
||||
|
|
BIN
data/ER.icns
BIN
data/ER.icns
Binary file not shown.
BIN
data/ER.ico
BIN
data/ER.ico
Binary file not shown.
Before Width: | Height: | Size: 38 KiB |
BIN
data/ER16.gif
BIN
data/ER16.gif
Binary file not shown.
Before Width: | Height: | Size: 123 B |
BIN
data/ER32.gif
BIN
data/ER32.gif
Binary file not shown.
Before Width: | Height: | Size: 370 B |
BIN
data/ER48.gif
BIN
data/ER48.gif
Binary file not shown.
Before Width: | Height: | Size: 882 B |
Binary file not shown.
After Width: | Height: | Size: 34 KiB |
Loading…
Reference in New Issue