mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-20 16:20:18 +01:00
107 lines
2.7 KiB
Text
107 lines
2.7 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="DynamicFont" 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
|
|
rect_clip_content = 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"]
|
|
margin_right = 1920.0
|
|
margin_bottom = 1080.0
|
|
mouse_filter = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="DropArea" parent="Rows/RepoVis" instance=ExtResource( 4 )]
|
|
position = Vector2( 67.3194, 32.6666 )
|
|
|
|
[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="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"]
|
|
visible = false
|
|
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_bottom = -6.10352e-05
|
|
mouse_filter = 2
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Path" type="LineEdit" parent="Rows/RepoVis"]
|
|
visible = false
|
|
margin_left = 23.0
|
|
margin_top = 12.0
|
|
margin_right = 374.0
|
|
margin_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_entered" from="Rows/RepoVis/Path" to="." method="set_path"]
|