mirror of
https://github.com/godotengine/gdnative-demos.git
synced 2026-01-01 05:48:13 +03:00
The projects don't work as of this commit, but are fixed in a later commit in the same PR.
64 lines
1.3 KiB
Plaintext
64 lines
1.3 KiB
Plaintext
[gd_scene load_steps=2 format=2]
|
|
|
|
[ext_resource path="res://main.gd" type="Script" id=1]
|
|
|
|
[node name="main" type="Control" index="0"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
mouse_filter = 0
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Button" type="Button" parent="." index="0"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 384.0
|
|
margin_top = 233.0
|
|
margin_right = 630.0
|
|
margin_bottom = 289.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
focus_mode = 2
|
|
mouse_filter = 0
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
toggle_mode = false
|
|
enabled_focus_mode = 2
|
|
shortcut = null
|
|
group = null
|
|
text = "Hello"
|
|
flat = false
|
|
align = 1
|
|
|
|
[node name="Label" type="Label" parent="." index="1"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 392.0
|
|
margin_top = 311.0
|
|
margin_right = 629.0
|
|
margin_bottom = 368.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
mouse_filter = 2
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 0
|
|
percent_visible = 1.0
|
|
lines_skipped = 0
|
|
max_lines_visible = -1
|
|
|
|
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]
|
|
|
|
|