mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-24 16:20:08 +01:00
898f276eba
This should help make the game more accessible, and reduce font rendering issues. Closes #5.
99 lines
2.4 KiB
Text
99 lines
2.4 KiB
Text
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://scenes/file_browser_item.gd" type="Script" id=1]
|
|
[ext_resource path="res://fonts/default.tres" type="DynamicFont" id=2]
|
|
[ext_resource path="res://nodes/document.svg" type="Texture" id=3]
|
|
[ext_resource path="res://scenes/drop_area.tscn" type="PackedScene" id=4]
|
|
|
|
[node name="Control" type="Control"]
|
|
anchor_right = 0.104
|
|
anchor_bottom = 0.126
|
|
margin_right = 0.319992
|
|
margin_bottom = -0.0800018
|
|
rect_min_size = Vector2( 140, 140 )
|
|
mouse_filter = 1
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Control" type="Control" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="DropArea" parent="Control" instance=ExtResource( 4 )]
|
|
position = Vector2( 0, 0 )
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
mouse_filter = 2
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Control" type="Control" parent="VBoxContainer"]
|
|
margin_right = 200.0
|
|
margin_bottom = 87.0
|
|
mouse_filter = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="VBoxContainer/Control"]
|
|
visible = false
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
mouse_filter = 2
|
|
color = Color( 0.203922, 0.721569, 0.501961, 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 8.0
|
|
margin_top = 8.0
|
|
margin_right = -8.0
|
|
margin_bottom = -8.0
|
|
texture = ExtResource( 3 )
|
|
expand = true
|
|
stretch_mode = 6
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="StatusIcon" type="TextureRect" parent="VBoxContainer/Control/TextureRect"]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -11.2842
|
|
margin_top = 0.810516
|
|
margin_right = 13.7158
|
|
margin_bottom = 25.8105
|
|
expand = true
|
|
stretch_mode = 6
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer"]
|
|
margin_top = 91.0
|
|
margin_right = 200.0
|
|
margin_bottom = 140.0
|
|
size_flags_vertical = 7
|
|
size_flags_stretch_ratio = 0.55
|
|
custom_fonts/font = ExtResource( 2 )
|
|
text = "filename"
|
|
align = 1
|
|
autowrap = true
|
|
|
|
[node name="PopupMenu" type="PopupMenu" parent="."]
|
|
margin_right = 20.0
|
|
margin_bottom = 20.0
|
|
[connection signal="id_pressed" from="PopupMenu" to="." method="_popup_menu_pressed"]
|