oh-my-git/main.tscn
2020-09-01 17:24:21 +02:00

63 lines
1.6 KiB
Text

[gd_scene load_steps=4 format=2]
[ext_resource path="res://terminal.gd" type="Script" id=1]
[ext_resource path="res://main.gd" type="Script" id=2]
[ext_resource path="res://repository.tscn" type="PackedScene" id=3]
[node name="Main" type="Node2D"]
script = ExtResource( 2 )
[node name="Terminal" type="Node2D" parent="."]
z_index = 1
script = ExtResource( 1 )
[node name="Output" type="TextEdit" parent="Terminal"]
margin_left = 1416.1
margin_top = 4.0
margin_right = 1915.1
margin_bottom = 1008.0
readonly = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Input" type="LineEdit" parent="Terminal"]
margin_left = 1414.0
margin_top = 1019.0
margin_right = 1913.0
margin_bottom = 1075.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CommitMessage" type="TextEdit" parent="."]
visible = false
margin_left = 889.832
margin_top = 16.4234
margin_right = 1388.83
margin_bottom = 582.423
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button" type="Button" parent="CommitMessage"]
margin_left = 344.277
margin_top = 509.45
margin_right = 493.277
margin_bottom = 558.45
text = "SAVE!"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Repository" parent="." instance=ExtResource( 3 )]
position = Vector2( 264.285, 118.658 )
path = "/tmp/githydragit/"
size = Vector2( 500, 1000 )
[node name="Repository2" parent="." instance=ExtResource( 3 )]
position = Vector2( 880.229, 135.918 )
path = "/tmp/githydragit/"
size = Vector2( 500, 1000 )
[connection signal="text_entered" from="Terminal/Input" to="Terminal" method="send_command"]
[connection signal="pressed" from="CommitMessage/Button" to="." method="save_commit_message"]