REFACTOR assets

This commit is contained in:
2025-05-01 13:14:46 +02:00
parent 5abf81c6cb
commit 98e44a6cf8
27 changed files with 55 additions and 42 deletions

View File

@@ -10,10 +10,10 @@ class GUIRenderer:
# Buttons
self.settings_button = Button(self.screen.get_width()-40, 10, 30, 30, None)
self.settings_button.set_image("assets/setting.png")
self.settings_button.set_image("assets/images/setting.png")
self.back_button = Button(self.screen.get_width()-80, 10, 30, 30, None)
self.back_button.set_image("assets/arrow.png")
self.back_button.set_image("assets/images/arrow.png")
self.colour = (255, 255, 255)

View File

@@ -21,7 +21,7 @@ class SettingsMenuRenderer:
self.back_button.set_colour(self.styling["button_colour"])
self.back_button.set_font(self.styling["font"])
self.back_button.set_pressed_colour(self.styling["pressed_button_colour"])
self.back_button.set_image("assets/arrow.png")
self.back_button.set_image("assets/images/arrow.png")
# Switches
self.show_yaw_button = Switch(self.widget_start_x, 100, 100, self.show_yaw_text.get_rect().height, self.options["show_yaw"])