blob: 64a413fa3ba0b6608064a1c64f17a963d8aa755b (
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=5 format=3 uid="uid://evppekv62x0g"]
[ext_resource type="Script" path="res://ui/mobile/button.gd" id="1_2pd68"]
[ext_resource type="Theme" uid="uid://b067xhqktnmhr" path="res://ui/theme.tres" id="2_rnfal"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_qy0ya"]
bg_color = Color(0.0297164, 0.155372, 0.181691, 1)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(0, 0, 0, 1)
border_blend = true
[sub_resource type="RectangleShape2D" id="RectangleShape2D_cuu3o"]
resource_local_to_scene = true
size = Vector2(160, 20)
[node name="Button" type="Panel"]
texture_filter = 1
offset_right = 160.0
offset_bottom = 20.0
theme_override_styles/panel = SubResource("StyleBoxFlat_qy0ya")
script = ExtResource("1_2pd68")
[node name="TouchScreenButton" type="TouchScreenButton" parent="."]
position = Vector2(80, 10)
shape = SubResource("RectangleShape2D_cuu3o")
shape_visible = false
visibility_mode = 1
[node name="Label" type="Label" parent="."]
layout_mode = 0
offset_right = 160.0
offset_bottom = 20.0
theme = ExtResource("2_rnfal")
theme_override_colors/font_color = Color(1, 1, 1, 1)
horizontal_alignment = 1
vertical_alignment = 1
[connection signal="resized" from="." to="." method="_on_resized"]
[connection signal="pressed" from="TouchScreenButton" to="." method="_on_touch_screen_button_pressed"]
[connection signal="released" from="TouchScreenButton" to="." method="_on_touch_screen_button_released"]
|