End of lesson 6, Creating a base theme.
This commit is contained in:
41
themes/default_theme.tres
Normal file
41
themes/default_theme.tres
Normal file
@@ -0,0 +1,41 @@
|
||||
[gd_resource type="Theme" load_steps=7 format=3 uid="uid://dnxny0n7ti7eq"]
|
||||
|
||||
[ext_resource type="FontFile" uid="uid://1u28cjgctsn7" path="res://fonts/alagard_by_pix3m-d6awiwp.ttf" id="1_lkf7m"]
|
||||
[ext_resource type="Texture2D" uid="uid://b0vf0rr7rvprp" path="res://gfx/ui/buttonSquare_brown.png" id="2_fx2g0"]
|
||||
[ext_resource type="Texture2D" uid="uid://br5cg1witxy7i" path="res://gfx/ui/buttonSquare_brown_pressed.png" id="3_nwjvr"]
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_r3xux"]
|
||||
texture = ExtResource("2_fx2g0")
|
||||
texture_margin_left = 6.48627
|
||||
texture_margin_top = 4.13675
|
||||
texture_margin_right = 7.43218
|
||||
texture_margin_bottom = 8.10783
|
||||
axis_stretch_horizontal = 1
|
||||
axis_stretch_vertical = 1
|
||||
region_rect = Rect2(-0.11042, 0, 45.1104, 49)
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_oxkhk"]
|
||||
texture = ExtResource("2_fx2g0")
|
||||
texture_margin_left = 6.48627
|
||||
texture_margin_top = 4.13675
|
||||
texture_margin_right = 7.43218
|
||||
texture_margin_bottom = 8.10783
|
||||
axis_stretch_horizontal = 1
|
||||
axis_stretch_vertical = 1
|
||||
region_rect = Rect2(-0.11042, 0, 45.1104, 49)
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_pvobe"]
|
||||
texture = ExtResource("3_nwjvr")
|
||||
texture_margin_left = 6.48627
|
||||
texture_margin_top = 4.13675
|
||||
texture_margin_right = 7.43218
|
||||
texture_margin_bottom = 8.10783
|
||||
axis_stretch_horizontal = 1
|
||||
axis_stretch_vertical = 1
|
||||
region_rect = Rect2(-0.11042, 0, 45.1104, 45.1079)
|
||||
|
||||
[resource]
|
||||
Button/fonts/font = ExtResource("1_lkf7m")
|
||||
Button/styles/hover = SubResource("StyleBoxTexture_r3xux")
|
||||
Button/styles/normal = SubResource("StyleBoxTexture_oxkhk")
|
||||
Button/styles/pressed = SubResource("StyleBoxTexture_pvobe")
|
||||
Reference in New Issue
Block a user