summaryrefslogtreecommitdiff
path: root/ui/dice_configurator/dice_configuration_face_preview.tscn
blob: 86f6dab3c5b05ad387db5f9d75144aa2d5d3717c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[gd_scene load_steps=4 format=3 uid="uid://dff1mvgcacrxs"]

[ext_resource type="Script" uid="uid://dmh6116blc558" path="res://ui/dice_configurator/dice_configuration_face_preview.gd" id="1_gt5fx"]
[ext_resource type="Texture2D" uid="uid://dlnccfl2nhsns" path="res://ui/assets/dice_configuration_face_preview.png" id="2_ic0ok"]
[ext_resource type="Texture2D" uid="uid://bpndubw65vuyv" path="res://ui/assets/dice_configuration_face_preview_front.png" id="3_nyrct"]

[node name="DiceConfigurationFacePreview" type="HBoxContainer"]
offset_right = 143.0
offset_bottom = 30.0
script = ExtResource("1_gt5fx")
value = 1

[node name="AspectRatioContainer" type="AspectRatioContainer" parent="."]
layout_mode = 2
size_flags_horizontal = 10
focus_mode = 2

[node name="Dice" type="TextureRect" parent="AspectRatioContainer"]
layout_mode = 2
texture = ExtResource("2_ic0ok")
stretch_mode = 5

[node name="Face" type="TextureRect" parent="AspectRatioContainer"]
unique_name_in_owner = true
self_modulate = Color(0, 0.996078, 0.756863, 0.392157)
layout_mode = 2
texture = ExtResource("3_nyrct")
stretch_mode = 5

[node name="Type" type="TextureButton" parent="."]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 10
stretch_mode = 5

[node name="Value" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 2
focus_mode = 2
text = "1"

[connection signal="focus_entered" from="Type" to="." method="_on_child_focus_entered"]