Files
notifplayground/utils/preload.py
2025-09-19 22:03:33 +02:00

7 lines
414 B
Python

import arcade.gui, arcade
button_texture = arcade.gui.NinePatchTexture(64 // 4, 64 // 4, 64 // 4, 64 // 4, arcade.load_texture("assets/graphics/button.png"))
button_hovered_texture = arcade.gui.NinePatchTexture(64 // 4, 64 // 4, 64 // 4, 64 // 4, arcade.load_texture("assets/graphics/button_hovered.png"))
with open("assets/mit_wordlist.txt", "r") as file:
words = [word.strip() for word in file.readlines()]