2023-07-27 11:39:38 -07:00
|
|
|
[gd_scene load_steps=3 format=3 uid="uid://qdxrxv3c3hxk"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://addons/dialogue_manager/components/download_update_panel.gd" id="1_4tm1k"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://d3baj6rygkb3f" path="res://addons/dialogue_manager/assets/update.svg" id="2_4o2m6"]
|
|
|
|
|
|
|
|
[node name="DownloadUpdatePanel" type="Control"]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
script = ExtResource("1_4tm1k")
|
|
|
|
|
|
|
|
[node name="HTTPRequest" type="HTTPRequest" parent="."]
|
|
|
|
|
|
|
|
[node name="VBox" type="VBoxContainer" parent="."]
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
offset_left = -1.0
|
|
|
|
offset_top = 9.0
|
|
|
|
offset_right = -1.0
|
|
|
|
offset_bottom = 9.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
theme_override_constants/separation = 10
|
|
|
|
|
|
|
|
[node name="Logo" type="TextureRect" parent="VBox"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
clip_contents = true
|
|
|
|
custom_minimum_size = Vector2(300, 80)
|
|
|
|
layout_mode = 2
|
|
|
|
texture = ExtResource("2_4o2m6")
|
|
|
|
stretch_mode = 5
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="VBox"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "v1.2.3 is available for download."
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
|
|
|
[node name="Center" type="CenterContainer" parent="VBox"]
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
[node name="DownloadButton" type="Button" parent="VBox/Center"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
2024-04-08 14:42:12 -07:00
|
|
|
text = "Download update"
|
2023-07-27 11:39:38 -07:00
|
|
|
|
|
|
|
[node name="Center2" type="CenterContainer" parent="VBox"]
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
[node name="NotesButton" type="LinkButton" parent="VBox/Center2"]
|
|
|
|
layout_mode = 2
|
2024-04-08 14:42:12 -07:00
|
|
|
text = "Read release notes"
|
2023-07-27 11:39:38 -07:00
|
|
|
|
|
|
|
[connection signal="request_completed" from="HTTPRequest" to="." method="_on_http_request_request_completed"]
|
|
|
|
[connection signal="pressed" from="VBox/Center/DownloadButton" to="." method="_on_download_button_pressed"]
|
|
|
|
[connection signal="pressed" from="VBox/Center2/NotesButton" to="." method="_on_notes_button_pressed"]
|