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):
|
||||
return {
|
||||
|
||||
0: "res/omnitrix.png",
|
||||
1: "res/heatblast.png",
|
||||
2: "res/nasaSquare.png",
|
||||
3: "res/????.jpg",
|
||||
4: "res/energy-momentum-relation-equation-epc.jpg",
|
||||
5: "res/em1_patch_final.png",
|
||||
6: "res/artemis.png",
|
||||
7: "XLR8",
|
||||
8: "Grey Matter",
|
||||
9: "Wildmutt",
|
||||
10: "Ghostfreak",
|
||||
11: "Wildvine",
|
||||
12: "Heatblast",
|
||||
0: "res/Omnitrix.png",
|
||||
1: "res/Heatblast.png",
|
||||
2: "res/",
|
||||
3: "res/",
|
||||
4: "res/",
|
||||
5: "res/",
|
||||
6: "res/",
|
||||
7: "res/",
|
||||
8: "res/",
|
||||
9: "res/",
|
||||
10: "res/Ghostfreak.png",
|
||||
11: "res/",
|
||||
12: "res/",
|
||||
# TODO: Add more aliens
|
||||
# TODO: Add proper alien silhouettes
|
||||
}.get(index, "res/omnitrix.png")
|
||||
|
|
2
ben10.py
2
ben10.py
|
@ -14,7 +14,7 @@ root.rowconfigure(1, weight=1)
|
|||
# root window parameters
|
||||
|
||||
|
||||
path = "res/omnitrix.png"
|
||||
path = "res/Omnitrix.png"
|
||||
img = ImageTk.PhotoImage(Image.open(path))
|
||||
omnitrix_button = Button(root, bg="#70b607", image=img, activebackground='#70b607',
|
||||
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