mirror of
https://github.com/kristoferssolo/FuncIt.git
synced 2025-10-21 19:30:35 +00:00
69 lines
1.4 KiB
Plaintext
69 lines
1.4 KiB
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://font/Roboto-Regular.ttf" type="DynamicFontData" id=1]
|
|
[ext_resource path="res://code/simple_prompt.gd" type="Script" id=2]
|
|
|
|
[sub_resource type="DynamicFont" id=1]
|
|
size = 100
|
|
use_mipmaps = true
|
|
use_filter = true
|
|
font_data = ExtResource( 1 )
|
|
|
|
[sub_resource type="DynamicFont" id=2]
|
|
size = 100
|
|
use_mipmaps = true
|
|
use_filter = true
|
|
font_data = ExtResource( 1 )
|
|
|
|
[node name="simple_prompt" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Panel" type="Panel" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -704.0
|
|
margin_top = -330.0
|
|
margin_right = 704.0
|
|
margin_bottom = 330.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="ok" type="Button" parent="Panel"]
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
margin_left = -257.0
|
|
margin_top = -310.0
|
|
margin_right = 257.0
|
|
margin_bottom = -113.0
|
|
custom_fonts/font = SubResource( 1 )
|
|
text = "OK"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -516.0
|
|
margin_top = -155.5
|
|
margin_right = 516.0
|
|
margin_bottom = -68.5
|
|
custom_fonts/font = SubResource( 2 )
|
|
text = "Simple prompt"
|
|
align = 1
|
|
valign = 1
|
|
|
|
[connection signal="pressed" from="Panel/ok" to="." method="_on_ok_pressed"]
|