GiantsEditReloaded/UI.tscn

158 lines
3.6 KiB
Plaintext

[gd_scene load_steps=2 format=2]
[ext_resource path="res://UI.gd" type="Script" id=1]
[node name="Node" type="Node"]
script = ExtResource( 1 )
[node name="Title" type="Label" parent="."]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -280.5
margin_top = 61.0
margin_right = 280.5
margin_bottom = 143.001
grow_horizontal = 2
grow_vertical = 2
text = "Welcome to Giants Model Viewer!
This tool allows you to show Giants models and textures.
You can use it to explore the models and/or get the ID needed to be used in GiantsEdit!"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Quit" type="Button" parent="."]
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = 99.5
margin_top = -155.0
margin_right = 262.5
margin_bottom = -125.0
rect_pivot_offset = Vector2( 34.3256, 17.0624 )
text = "Quit"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="GCKFileDialog" type="FileDialog" parent="."]
margin_right = 800.0
margin_bottom = 500.0
window_title = "Open a Directory"
resizable = true
mode = 2
access = 2
current_dir = "/home/tasty/Jeux/GiantsEdit"
current_path = "/home/tasty/Jeux/GiantsEdit/"
[node name="GiantsDir" type="LineEdit" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -17.5
margin_top = -12.0
margin_right = 355.5
margin_bottom = 12.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="EnterGCKDir" type="Label" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -313.5
margin_top = -7.0
margin_right = -38.5
margin_bottom = 7.0
text = "Enter your Giants: Citizen Kabuto directory:"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="BrowseButton" type="Button" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = 357.5
margin_top = -12.0
margin_right = 416.5
margin_bottom = 12.0
text = "Browse"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Start" type="Button" parent="."]
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -254.5
margin_top = -155.0
margin_right = -91.5
margin_bottom = -125.0
text = "Start"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Credit" type="Label" parent="."]
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -197.438
margin_top = -15.3966
margin_right = -5.43799
margin_bottom = -1.39661
text = "V1.1 - Made by Amazed#0001"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ErrorPopup" type="WindowDialog" parent="."]
margin_left = 231.5
margin_top = 203.0
margin_right = 782.5
margin_bottom = 411.0
popup_exclusive = true
window_title = "Error"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ErrorLbl" type="Label" parent="ErrorPopup"]
anchor_left = 0.5
anchor_right = 0.5
margin_left = -275.5
margin_top = 20.0
margin_right = 275.5
margin_bottom = 80.0
text = "Error !"
align = 1
[node name="Close" type="Button" parent="ErrorPopup"]
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -50.0
margin_top = -52.0
margin_right = 50.0
margin_bottom = -21.0
text = "Close"
[connection signal="ready" from="." to="." method="_on_Node_ready"]
[connection signal="pressed" from="Quit" to="." method="_on_Quit_pressed"]
[connection signal="dir_selected" from="GCKFileDialog" to="." method="_on_GCKFileDialog_dir_selected"]
[connection signal="pressed" from="BrowseButton" to="." method="_on_BrowseButton_pressed"]
[connection signal="pressed" from="Start" to="." method="_on_Start_pressed"]
[connection signal="pressed" from="ErrorPopup/Close" to="." method="_on_Close_pressed"]