oh-my-git/main.tscn
2020-09-05 10:47:38 +02:00

109 lines
2.7 KiB
Text

[gd_scene load_steps=5 format=2]
[ext_resource path="res://terminal.tscn" type="PackedScene" id=1]
[ext_resource path="res://main.gd" type="Script" id=2]
[ext_resource path="res://repository.tscn" type="PackedScene" id=3]
[ext_resource path="res://fonts/default.tres" type="DynamicFont" id=5]
[node name="Main" type="Node2D"]
script = ExtResource( 2 )
[node name="Background" type="ColorRect" parent="."]
margin_right = 1922.0
margin_bottom = 1081.0
mouse_filter = 2
color = Color( 0.0705882, 0.0705882, 0.0705882, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Terminal" parent="." instance=ExtResource( 1 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 1223.0
margin_top = 484.0
margin_right = 1898.0
margin_bottom = 1059.0
[node name="CommitMessage" type="TextEdit" parent="."]
visible = false
margin_left = 1209.0
margin_top = 484.0
margin_right = 1907.0
margin_bottom = 1068.0
custom_fonts/font = ExtResource( 5 )
custom_colors/background_color = Color( 0, 0, 0, 1 )
syntax_highlighting = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="SaveButton" type="Button" parent="CommitMessage"]
margin_left = 540.661
margin_top = 528.031
margin_right = 689.661
margin_bottom = 577.031
custom_fonts/font = ExtResource( 5 )
text = "Save"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="LevelSelect" type="MenuButton" parent="."]
margin_left = 1226.25
margin_top = 16.2615
margin_right = 1388.25
margin_bottom = 48.2615
custom_fonts/font = ExtResource( 5 )
text = "Select level..."
flat = false
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Repositories" type="HBoxContainer" parent="."]
margin_left = 5.0
margin_top = 5.0
margin_right = 1203.0
margin_bottom = 1038.0
mouse_filter = 2
custom_constants/separation = 0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="GoalRepository" parent="Repositories" instance=ExtResource( 3 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 0.0
margin_top = 0.0
margin_right = 599.0
margin_bottom = 1033.0
size_flags_horizontal = 3
size_flags_vertical = 3
label = "Goal"
[node name="ActiveRepository" parent="Repositories" instance=ExtResource( 3 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 599.0
margin_top = 0.0
margin_right = 1198.0
margin_bottom = 1033.0
size_flags_horizontal = 3
size_flags_vertical = 3
label = "Your repository"
[node name="LevelDescription" type="RichTextLabel" parent="."]
margin_left = 1224.0
margin_top = 58.0
margin_right = 1889.0
margin_bottom = 472.0
custom_fonts/normal_font = ExtResource( 5 )
bbcode_enabled = true
bbcode_text = "Level description here!"
text = "Level description here!"
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="CommitMessage/SaveButton" to="." method="save_commit_message"]