renamed images
This commit is contained in:
parent
a171beb25c
commit
1be70610a1
5 changed files with 14 additions and 14 deletions
26
aliens.py
26
aliens.py
|
@ -22,19 +22,19 @@ def alien_table(index):
|
||||||
def image_display(index):
|
def image_display(index):
|
||||||
return {
|
return {
|
||||||
|
|
||||||
0: "res/omnitrix.png",
|
0: "res/Omnitrix.png",
|
||||||
1: "res/heatblast.png",
|
1: "res/Heatblast.png",
|
||||||
2: "res/nasaSquare.png",
|
2: "res/",
|
||||||
3: "res/????.jpg",
|
3: "res/",
|
||||||
4: "res/energy-momentum-relation-equation-epc.jpg",
|
4: "res/",
|
||||||
5: "res/em1_patch_final.png",
|
5: "res/",
|
||||||
6: "res/artemis.png",
|
6: "res/",
|
||||||
7: "XLR8",
|
7: "res/",
|
||||||
8: "Grey Matter",
|
8: "res/",
|
||||||
9: "Wildmutt",
|
9: "res/",
|
||||||
10: "Ghostfreak",
|
10: "res/Ghostfreak.png",
|
||||||
11: "Wildvine",
|
11: "res/",
|
||||||
12: "Heatblast",
|
12: "res/",
|
||||||
# TODO: Add more aliens
|
# TODO: Add more aliens
|
||||||
# TODO: Add proper alien silhouettes
|
# TODO: Add proper alien silhouettes
|
||||||
}.get(index, "res/omnitrix.png")
|
}.get(index, "res/omnitrix.png")
|
||||||
|
|
2
ben10.py
2
ben10.py
|
@ -14,7 +14,7 @@ root.rowconfigure(1, weight=1)
|
||||||
# root window parameters
|
# root window parameters
|
||||||
|
|
||||||
|
|
||||||
path = "res/omnitrix.png"
|
path = "res/Omnitrix.png"
|
||||||
img = ImageTk.PhotoImage(Image.open(path))
|
img = ImageTk.PhotoImage(Image.open(path))
|
||||||
omnitrix_button = Button(root, bg="#70b607", image=img, activebackground='#70b607',
|
omnitrix_button = Button(root, bg="#70b607", image=img, activebackground='#70b607',
|
||||||
highlightthickness=0, bd=0, command=button_press)
|
highlightthickness=0, bd=0, command=button_press)
|
||||||
|
|
BIN
res/Ghostfreak.png
Normal file
BIN
res/Ghostfreak.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Loading…
Add table
Reference in a new issue