-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMute.tscn
52 lines (47 loc) · 1.44 KB
/
Mute.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
[gd_scene load_steps=6 format=2]
[ext_resource path="res://LobbyUI/EB_Panel.tres" type="StyleBox" id=1]
[ext_resource path="res://Fonts/EBMain.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://Mute.gd" type="Script" id=3]
[sub_resource type="StyleBoxFlat" id=1]
content_margin_left = 10.0
content_margin_right = 10.0
content_margin_top = 10.0
content_margin_bottom = 10.0
bg_color = Color( 0.388235, 0, 0, 1 )
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color( 0.972549, 0.972549, 0.972549, 1 )
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 20
[sub_resource type="DynamicFont" id=2]
size = 32
font_data = ExtResource( 2 )
[node name="Mute" type="MarginContainer"]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -74.0
margin_bottom = 55.0
custom_constants/margin_right = 5
custom_constants/margin_top = 5
custom_constants/margin_left = 5
custom_constants/margin_bottom = 5
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MuteButton" type="Button" parent="."]
margin_left = 5.0
margin_top = 5.0
margin_right = 69.0
margin_bottom = 50.0
custom_styles/pressed = SubResource( 1 )
custom_styles/normal = ExtResource( 1 )
custom_fonts/font = SubResource( 2 )
toggle_mode = true
text = "mute"
[connection signal="toggled" from="MuteButton" to="." method="_on_MuteButton_toggled"]