mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-03 19:04:40 +01:00
124 lines
3 KiB
Text
124 lines
3 KiB
Text
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://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="DynamicFont" id=3]
|
|
[ext_resource path="res://file_browser.tscn" type="PackedScene" id=4]
|
|
|
|
[node name="Repository" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
mouse_filter = 2
|
|
theme = ExtResource( 2 )
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Rows" type="VSplitContainer" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
mouse_filter = 2
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="RepoVis" type="Control" parent="Rows"]
|
|
margin_right = 1920.0
|
|
margin_bottom = 925.0
|
|
mouse_filter = 2
|
|
size_flags_vertical = 3
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Label" type="Label" parent="Rows/RepoVis"]
|
|
margin_left = 5.60091
|
|
margin_top = -0.518692
|
|
margin_right = 204.601
|
|
margin_bottom = 48.4813
|
|
custom_fonts/font = ExtResource( 3 )
|
|
text = "Repo name"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Index" type="Label" parent="Rows/RepoVis"]
|
|
margin_left = 8.64569
|
|
margin_top = 63.8375
|
|
margin_right = 359.725
|
|
margin_bottom = 1027.84
|
|
text = "entry1
|
|
entry2"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="IndexLabel" type="Label" parent="Rows/RepoVis"]
|
|
visible = false
|
|
margin_left = 21.0
|
|
margin_top = 65.0
|
|
margin_right = 377.0
|
|
margin_bottom = 108.0
|
|
text = "Index:"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Button" type="Button" parent="Rows/RepoVis"]
|
|
visible = false
|
|
margin_left = 36.5602
|
|
margin_top = 67.9891
|
|
margin_right = 119.56
|
|
margin_bottom = 109.989
|
|
text = "Update"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="SimplifyCheckbox" type="CheckBox" parent="Rows/RepoVis"]
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
margin_left = -208.715
|
|
margin_top = 17.9594
|
|
margin_right = -15.7146
|
|
margin_bottom = 42.9594
|
|
focus_mode = 0
|
|
enabled_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
|
|
margin_top = -1.43991
|
|
margin_bottom = -1.43994
|
|
mouse_filter = 2
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Path" type="LineEdit" parent="Rows/RepoVis"]
|
|
margin_left = 23.0
|
|
margin_top = 12.0
|
|
margin_right = 374.0
|
|
margin_bottom = 61.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="FileBrowser" parent="Rows" instance=ExtResource( 4 )]
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_top = 937.0
|
|
margin_right = 1920.0
|
|
margin_bottom = 1080.0
|
|
size_flags_vertical = 3
|
|
size_flags_stretch_ratio = 0.16
|
|
[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_entered" from="Rows/RepoVis/Path" to="." method="set_path"]
|