aboutsummaryrefslogtreecommitdiff
path: root/test_input.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'test_input.tscn')
-rw-r--r--test_input.tscn58
1 files changed, 58 insertions, 0 deletions
diff --git a/test_input.tscn b/test_input.tscn
new file mode 100644
index 0000000..4b507fe
--- /dev/null
+++ b/test_input.tscn
@@ -0,0 +1,58 @@
+[gd_scene load_steps=3 format=2]
+
+[ext_resource path="res://test_input.gd" type="Script" id=1]
+[ext_resource path="res://fonts/font_regular.tres" type="DynamicFont" id=2]
+
+[node name="main" type="Control"]
+anchor_right = 1.0
+anchor_bottom = 1.0
+__meta__ = {
+"_edit_use_anchors_": false
+}
+
+[node name="debug" type="RichTextLabel" parent="."]
+anchor_right = 1.0
+anchor_bottom = 1.0
+mouse_filter = 2
+custom_fonts/normal_font = ExtResource( 2 )
+scroll_following = true
+__meta__ = {
+"_edit_use_anchors_": false
+}
+
+[node name="a" type="ColorRect" parent="."]
+anchor_right = 0.66
+anchor_bottom = 0.66
+color = Color( 1, 0, 0, 0.196078 )
+script = ExtResource( 1 )
+__meta__ = {
+"_edit_use_anchors_": false
+}
+
+[node name="b" type="ColorRect" parent="a"]
+anchor_left = 0.5
+anchor_right = 1.502
+anchor_bottom = 1.0
+mouse_filter = 1
+color = Color( 0, 1, 0, 0.196078 )
+script = ExtResource( 1 )
+__meta__ = {
+"_edit_use_anchors_": false
+}
+
+[node name="c" type="ColorRect" parent="."]
+anchor_top = 0.333
+anchor_right = 0.666
+anchor_bottom = 1.0
+color = Color( 0, 0, 1, 0.196078 )
+script = ExtResource( 1 )
+__meta__ = {
+"_edit_use_anchors_": false
+}
+
+[node name="d" type="ColorRect" parent="c"]
+anchor_left = 0.5
+anchor_right = 1.502
+anchor_bottom = 1.0
+color = Color( 1, 1, 1, 0.196078 )
+script = ExtResource( 1 )