mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-03 19:04:40 +01:00
120 lines
3 KiB
Text
120 lines
3 KiB
Text
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://scenes/repository.gd" type="Script" id=1]
|
|
[ext_resource path="res://styles/theme.tres" type="Theme" id=2]
|
|
[ext_resource path="res://fonts/big.tres" type="FontFile" id=3]
|
|
[ext_resource path="res://scenes/drop_area.tscn" type="PackedScene" id=4]
|
|
|
|
[node name="Repository" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
clip_contents = true
|
|
mouse_filter = 2
|
|
theme = ExtResource( 2 )
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Rows" type="HSplitContainer" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
mouse_filter = 2
|
|
|
|
[node name="RepoVis" type="Control" parent="Rows"]
|
|
offset_right = 1920.0
|
|
offset_bottom = 1080.0
|
|
mouse_filter = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="SeparatorLine" type="ColorRect" parent="Rows/RepoVis"]
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = -4.0
|
|
mouse_filter = 2
|
|
color = Color( 0.196078, 0.184314, 0.435294, 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="DropArea" parent="Rows/RepoVis/SeparatorLine" instance=ExtResource( 4 )]
|
|
position = Vector2( 71.6342, -29.3427 )
|
|
|
|
[node name="Label" type="Label" parent="Rows/RepoVis"]
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 7.06314
|
|
offset_top = -64.5048
|
|
offset_right = 229.063
|
|
offset_bottom = -8.50476
|
|
theme_override_fonts/font = ExtResource( 3 )
|
|
text = "Repo name"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="IndexLabel" type="Label" parent="Rows/RepoVis"]
|
|
visible = false
|
|
offset_left = 21.0
|
|
offset_top = 65.0
|
|
offset_right = 377.0
|
|
offset_bottom = 108.0
|
|
text = "Index:"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Button" type="Button" parent="Rows/RepoVis"]
|
|
visible = false
|
|
offset_left = 36.5602
|
|
offset_top = 67.9891
|
|
offset_right = 119.56
|
|
offset_bottom = 109.989
|
|
text = "Update"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="SimplifyCheckbox" type="CheckBox" parent="Rows/RepoVis"]
|
|
visible = false
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
offset_left = -208.715
|
|
offset_top = 17.9594
|
|
offset_right = -15.7146
|
|
offset_bottom = 42.9594
|
|
focus_mode = 0
|
|
focus_mode = 0
|
|
text = "Hide trees and blobs"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Nodes" type="Control" parent="Rows/RepoVis"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_bottom = -6.10352e-05
|
|
mouse_filter = 2
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Path3D" type="LineEdit" parent="Rows/RepoVis"]
|
|
visible = false
|
|
offset_left = 23.0
|
|
offset_top = 12.0
|
|
offset_right = 374.0
|
|
offset_bottom = 61.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
|
|
[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]
|
|
[connection signal="pressed" from="Rows/RepoVis/Button" to="." method="update_everything"]
|
|
[connection signal="toggled" from="Rows/RepoVis/SimplifyCheckbox" to="." method="set_simplified_view"]
|
|
[connection signal="text_submitted" from="Rows/RepoVis/Path3D" to="." method="set_path"]
|