-
Notifications
You must be signed in to change notification settings - Fork 0
/
tts_toggle.tscn
76 lines (66 loc) · 1.97 KB
/
tts_toggle.tscn
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[gd_scene load_steps=6 format=3 uid="uid://dme4u5mn0mhta"]
[ext_resource type="Texture2D" uid="uid://fca4gcycuntq" path="res://images/ui_elements.png" id="1_lae82"]
[ext_resource type="Script" path="res://tts_toggle.gd" id="1_rs5ue"]
[ext_resource type="Theme" uid="uid://c51pm8mamwwde" path="res://themes/main_theme.tres" id="3_f7yku"]
[sub_resource type="AtlasTexture" id="AtlasTexture_60vke"]
atlas = ExtResource("1_lae82")
region = Rect2(1654, 1254, 218, 93)
[sub_resource type="AtlasTexture" id="AtlasTexture_y2ed1"]
atlas = ExtResource("1_lae82")
region = Rect2(1533, 1268, 91, 65)
[node name="TTSToggle" type="Node2D"]
script = ExtResource("1_rs5ue")
[node name="Background" type="Sprite2D" parent="."]
texture = SubResource("AtlasTexture_60vke")
[node name="Toggle" type="Sprite2D" parent="."]
position = Vector2(49, 0)
texture = SubResource("AtlasTexture_y2ed1")
[node name="Label" type="Label" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -261.0
offset_top = 58.0
offset_right = 261.0
offset_bottom = 166.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("3_f7yku")
text = "_text to speech"
horizontal_alignment = 1
vertical_alignment = 1
[node name="LabelSpeed" type="Label" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -253.0
offset_top = -145.0
offset_right = 269.0
offset_bottom = -37.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("3_f7yku")
text = "_speed %f"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Label2" type="Label" parent="."]
offset_left = 149.0
offset_top = -57.0
offset_right = 656.0
offset_bottom = 51.0
theme = ExtResource("3_f7yku")
text = "_on"
vertical_alignment = 1
[node name="Label3" type="Label" parent="."]
offset_left = -527.0
offset_top = -53.0
offset_right = -138.0
offset_bottom = 55.0
theme = ExtResource("3_f7yku")
text = "_off"
horizontal_alignment = 2
vertical_alignment = 1