TranslationThrive/src/saving/SaveListItem.tscn

198 lines
6.1 KiB
Plaintext

[gd_scene load_steps=7 format=2]
[ext_resource path="res://assets/textures/gui/bevel/TrashIcon.png" type="Texture" id=1]
[ext_resource path="res://src/gui_common/thrive_theme.tres" type="Theme" id=2]
[ext_resource path="res://assets/misc/icon.png" type="Texture" id=3]
[ext_resource path="res://assets/textures/gui/bevel/trashButtonHover.png" type="Texture" id=4]
[ext_resource path="res://src/saving/SaveListItem.cs" type="Script" id=5]
[ext_resource path="res://assets/textures/gui/bevel/trashButton.png" type="Texture" id=6]
[sub_resource type="StyleBoxEmpty" id=1]
content_margin_left = 7.0
[node name="SaveListItem" type="HBoxContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 2.0
margin_top = 2.0
margin_right = 2.0
margin_bottom = 2.0
size_flags_horizontal = 3
theme = ExtResource( 2 )
script = ExtResource( 5 )
__meta__ = {
"_edit_use_anchors_": false
}
SaveNamePath = NodePath("VBoxContainer/HBoxContainer/SaveName")
ScreenshotPath = NodePath("Screenshot")
VersionPath = NodePath("VBoxContainer/HBoxContainer/Version")
TypePath = NodePath("VBoxContainer/HBoxContainer4/Type")
CreatedAtPath = NodePath("VBoxContainer/HBoxContainer2/CreatedAt")
CreatedByPath = NodePath("VBoxContainer/HBoxContainer2/Creator")
CreatedOnPlatformPath = NodePath("VBoxContainer/HBoxContainer4/Platform")
DescriptionPath = NodePath("VBoxContainer/HBoxContainer3/Description")
SelectedPath = NodePath("VBoxContainer/HBoxContainer/HBoxContainer/SelectBox")
LoadButtonPath = NodePath("VBoxContainer/HBoxContainer/HBoxContainer/Load")
[node name="Screenshot" type="TextureRect" parent="."]
margin_right = 255.0
margin_bottom = 720.0
rect_min_size = Vector2( 128, 128 )
size_flags_horizontal = 3
texture = ExtResource( 3 )
expand = true
stretch_mode = 6
[node name="VBoxContainer" type="VBoxContainer" parent="."]
margin_left = 259.0
margin_right = 1280.0
margin_bottom = 720.0
size_flags_horizontal = 3
size_flags_stretch_ratio = 4.0
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
margin_right = 1021.0
margin_bottom = 43.0
[node name="Label1" type="Label" parent="VBoxContainer/HBoxContainer"]
margin_top = 10.0
margin_right = 62.0
margin_bottom = 33.0
text = "NAME_LABEL"
[node name="SaveName" type="Label" parent="VBoxContainer/HBoxContainer"]
margin_left = 66.0
margin_top = 10.0
margin_right = 160.0
margin_bottom = 33.0
text = "LOADING_PLACEHOLDER"
[node name="Label2" type="Label" parent="VBoxContainer/HBoxContainer"]
margin_left = 164.0
margin_top = 10.0
margin_right = 251.0
margin_bottom = 33.0
custom_styles/normal = SubResource( 1 )
text = "VERSION_LABEL"
[node name="Version" type="Label" parent="VBoxContainer/HBoxContainer"]
margin_left = 255.0
margin_top = 10.0
margin_right = 270.0
margin_bottom = 33.0
text = "..."
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/HBoxContainer"]
margin_left = 274.0
margin_right = 1021.0
margin_bottom = 43.0
size_flags_horizontal = 3
alignment = 2
[node name="SelectBox" type="CheckBox" parent="VBoxContainer/HBoxContainer/HBoxContainer"]
margin_left = 538.0
margin_right = 628.0
margin_bottom = 43.0
text = "SELECT"
[node name="Delete" type="TextureButton" parent="VBoxContainer/HBoxContainer/HBoxContainer"]
margin_left = 632.0
margin_right = 674.0
margin_bottom = 43.0
texture_normal = ExtResource( 6 )
texture_hover = ExtResource( 4 )
texture_disabled = ExtResource( 1 )
[node name="Load" type="Button" parent="VBoxContainer/HBoxContainer/HBoxContainer"]
margin_left = 678.0
margin_right = 747.0
margin_bottom = 43.0
text = "LOAD"
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"]
margin_top = 47.0
margin_right = 1021.0
margin_bottom = 70.0
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer2"]
margin_right = 109.0
margin_bottom = 23.0
text = "CREATED_AT_LABEL"
[node name="CreatedAt" type="Label" parent="VBoxContainer/HBoxContainer2"]
margin_left = 113.0
margin_right = 128.0
margin_bottom = 23.0
text = "..."
[node name="Label3" type="Label" parent="VBoxContainer/HBoxContainer2"]
margin_left = 132.0
margin_right = 169.0
margin_bottom = 23.0
custom_styles/normal = SubResource( 1 )
text = "BY_LABEL"
[node name="Creator" type="Label" parent="VBoxContainer/HBoxContainer2"]
margin_left = 173.0
margin_right = 188.0
margin_bottom = 23.0
text = "..."
[node name="HBoxContainer4" type="HBoxContainer" parent="VBoxContainer"]
margin_top = 74.0
margin_right = 1021.0
margin_bottom = 97.0
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer4"]
margin_right = 54.0
margin_bottom = 23.0
text = "TYPE_LABEL"
[node name="Type" type="Label" parent="VBoxContainer/HBoxContainer4"]
margin_left = 58.0
margin_right = 73.0
margin_bottom = 23.0
text = "..."
[node name="Label2" type="Label" parent="VBoxContainer/HBoxContainer4"]
margin_left = 77.0
margin_right = 288.0
margin_bottom = 23.0
custom_styles/normal = SubResource( 1 )
text = "CREATED_ON_PLATFORM_LABEL"
[node name="Platform" type="Label" parent="VBoxContainer/HBoxContainer4"]
margin_left = 292.0
margin_right = 307.0
margin_bottom = 23.0
text = "..."
[node name="HBoxContainer3" type="HBoxContainer" parent="VBoxContainer"]
margin_top = 101.0
margin_right = 1021.0
margin_bottom = 124.0
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer3"]
margin_right = 119.0
margin_bottom = 23.0
text = "DESCRIPTION_LABEL"
[node name="Description" type="Label" parent="VBoxContainer/HBoxContainer3"]
margin_left = 123.0
margin_right = 138.0
margin_bottom = 23.0
text = "..."
[node name="DeleteConfirmDialog" type="ConfirmationDialog" parent="."]
margin_left = 1079.0
margin_right = 1279.0
margin_bottom = 720.0
size_flags_horizontal = 5
size_flags_vertical = 5
popup_exclusive = true
window_title = "Delete this Save?"
dialog_text = "Deleting this save cannot be undone, are you sure you want to permanently delete this?"
[connection signal="toggled" from="VBoxContainer/HBoxContainer/HBoxContainer/SelectBox" to="." method="OnSelectedCheckboxChanged"]
[connection signal="pressed" from="VBoxContainer/HBoxContainer/HBoxContainer/Delete" to="." method="DeletePressed"]
[connection signal="pressed" from="VBoxContainer/HBoxContainer/HBoxContainer/Load" to="." method="LoadThisSave"]