feat: update editor ui framework and assets
This commit is contained in:
BIN
editor/resources/Icons/app.ico
Normal file
BIN
editor/resources/Icons/app.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
BIN
editor/resources/Icons/folder_empty_icon.png
Normal file
BIN
editor/resources/Icons/folder_empty_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 353 B |
BIN
editor/resources/Icons/folder_icon.png
Normal file
BIN
editor/resources/Icons/folder_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 270 B |
BIN
editor/resources/Icons/gameobject_icon.png
Normal file
BIN
editor/resources/Icons/gameobject_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 741 B |
BIN
editor/resources/Icons/logo_icon.png
Normal file
BIN
editor/resources/Icons/logo_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 926 B |
25
editor/resources/Icons/resize_png.py
Normal file
25
editor/resources/Icons/resize_png.py
Normal file
@@ -0,0 +1,25 @@
|
||||
from PIL import Image
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
def resize_png(input_path, output_path, size=(30, 30)):
|
||||
img = Image.open(input_path)
|
||||
img = img.resize(size, Image.Resampling.LANCZOS)
|
||||
img.save(output_path, "PNG")
|
||||
print(f"Resized {input_path} to {output_path}")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
if len(sys.argv) < 2:
|
||||
print("Usage: python resize_png.py <input.png> [output.png]")
|
||||
sys.exit(1)
|
||||
|
||||
input_file = sys.argv[1]
|
||||
output_file = (
|
||||
sys.argv[2]
|
||||
if len(sys.argv) > 2
|
||||
else f"{os.path.splitext(input_file)[0]}_30x30.png"
|
||||
)
|
||||
|
||||
resize_png(input_file, output_file)
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 6.5 KiB |
Reference in New Issue
Block a user