oh-my-git/scenes/repository.tscn

121 lines
3 KiB
Text
Raw Permalink Normal View History

2021-01-07 17:35:08 +01:00
[gd_scene load_steps=5 format=2]
2020-09-01 17:24:21 +02:00
[ext_resource path="res://scenes/repository.gd" type="Script" id=1]
[ext_resource path="res://styles/theme.tres" type="Theme" id=2]
2020-09-05 10:47:38 +02:00
[ext_resource path="res://fonts/big.tres" type="DynamicFont" id=3]
2021-01-07 17:35:08 +01:00
[ext_resource path="res://scenes/drop_area.tscn" type="PackedScene" id=4]
2020-09-01 17:24:21 +02:00
[node name="Repository" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
rect_clip_content = true
mouse_filter = 2
theme = ExtResource( 2 )
2020-09-01 17:24:21 +02:00
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
}
2021-01-14 12:00:53 +01:00
[node name="SeparatorLine" type="ColorRect" parent="Rows/RepoVis"]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_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 )
2021-01-07 17:35:08 +01:00
[node name="Label" type="Label" parent="Rows/RepoVis"]
2021-01-14 12:00:53 +01:00
anchor_top = 1.0
anchor_bottom = 1.0
margin_left = 7.06314
margin_top = -64.5048
margin_right = 229.063
margin_bottom = -8.50476
custom_fonts/font = ExtResource( 3 )
text = "Repo name"
__meta__ = {
"_edit_use_anchors_": false
}
2020-09-01 17:24:21 +02:00
[node name="IndexLabel" type="Label" parent="Rows/RepoVis"]
visible = false
margin_left = 21.0
margin_top = 65.0
2020-09-01 17:24:21 +02:00
margin_right = 377.0
margin_bottom = 108.0
text = "Index:"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button" type="Button" parent="Rows/RepoVis"]
2020-09-01 21:25:24 +02:00
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
}
2020-09-03 18:10:09 +02:00
[node name="SimplifyCheckbox" type="CheckBox" parent="Rows/RepoVis"]
2020-10-23 16:52:03 +02:00
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
2020-09-14 16:03:01 +02:00
text = "Hide trees and blobs"
__meta__ = {
"_edit_use_anchors_": false
}
2020-09-15 18:41:06 +02:00
[node name="Nodes" type="Control" parent="Rows/RepoVis"]
2020-09-15 18:41:06 +02:00
anchor_right = 1.0
anchor_bottom = 1.0
2020-10-23 15:19:25 +02:00
margin_bottom = -6.10352e-05
2020-09-15 18:41:06 +02:00
mouse_filter = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Path" type="LineEdit" parent="Rows/RepoVis"]
2020-10-23 15:19:25 +02:00
visible = false
margin_left = 23.0
margin_top = 12.0
margin_right = 374.0
margin_bottom = 61.0
__meta__ = {
"_edit_use_anchors_": false
}
2020-09-15 18:41:06 +02:00
[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"]