mirror of
https://github.com/csd4ni3l/browser.git
synced 2025-11-05 04:57:57 +01:00
8 lines
433 B
Python
8 lines
433 B
Python
import arcade.gui, arcade
|
|
from http_client.html_parser import CSSParser
|
|
|
|
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"))
|
|
|
|
DEFAULT_STYLE_SHEET = CSSParser(open("assets/css/browser.css").read()).parse()
|