-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLine.tscn
More file actions
45 lines (35 loc) · 1.18 KB
/
Copy pathLine.tscn
File metadata and controls
45 lines (35 loc) · 1.18 KB
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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Line.gd" type="Script" id=1]
[sub_resource type="DynamicFont" id=1]
[sub_resource type="StyleBoxFlat" id=3]
bg_color = Color( 1, 0, 0, 1 )
[sub_resource type="StyleBoxFlat" id=2]
bg_color = Color( 1, 0.960784, 0, 1 )
[node name="Line" type="Node2D"]
script = ExtResource( 1 )
[node name="Button" type="Button" parent="."]
margin_top = -2.0
margin_right = 87.0
margin_bottom = 2.0
mouse_default_cursor_shape = 2
custom_fonts/font = SubResource( 1 )
custom_styles/hover = SubResource( 3 )
custom_styles/pressed = SubResource( 2 )
custom_styles/focus = SubResource( 2 )
custom_styles/disabled = SubResource( 2 )
custom_styles/normal = SubResource( 2 )
button_mask = 2
[node name="Control" type="Control" parent="Button"]
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
[node name="Node2D" type="Node2D" parent="Button/Control"]
position = Vector2( -1, 0 )
rotation = 2.35619
[node name="ColorRect" type="ColorRect" parent="Button/Control/Node2D"]
margin_right = 8.0
margin_bottom = 8.0
mouse_filter = 2
color = Color( 1, 0.960784, 0, 1 )
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]