169 lines
5.4 KiB
Text
169 lines
5.4 KiB
Text
[gd_scene load_steps=6 format=2]
|
|
|
|
[ext_resource path="res://scripts/URLImage.gd" type="Script" id=1]
|
|
[ext_resource path="res://scripts/SubViewer.gd" type="Script" id=2]
|
|
[ext_resource path="res://loading.png" type="Texture" id=3]
|
|
[ext_resource path="res://theme_panels/sidebar.tres" type="StyleBox" id=4]
|
|
[ext_resource path="res://noun-shrink-size-4939910.svg" type="Texture" id=5]
|
|
|
|
[node name="PanelContainer" type="PanelContainer"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
mouse_filter = 1
|
|
custom_styles/panel = ExtResource( 4 )
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="Viewer" type="VBoxContainer" parent="."]
|
|
margin_left = 6.0
|
|
margin_top = 5.0
|
|
margin_right = 1019.0
|
|
margin_bottom = 595.0
|
|
rect_clip_content = true
|
|
__meta__ = {
|
|
"_edit_lock_": true
|
|
}
|
|
|
|
[node name="HFlowContainer" type="HFlowContainer" parent="Viewer"]
|
|
margin_right = 1013.0
|
|
margin_bottom = 24.0
|
|
|
|
[node name="name" type="Label" parent="Viewer/HFlowContainer"]
|
|
unique_name_in_owner = true
|
|
margin_top = 4.0
|
|
margin_right = 961.0
|
|
margin_bottom = 20.0
|
|
rect_min_size = Vector2( 96, 0 )
|
|
size_flags_horizontal = 3
|
|
text = "Loading..."
|
|
autowrap = true
|
|
|
|
[node name="close" type="Button" parent="Viewer/HFlowContainer"]
|
|
margin_left = 965.0
|
|
margin_right = 1013.0
|
|
margin_bottom = 24.0
|
|
size_flags_vertical = 0
|
|
text = "Close"
|
|
|
|
[node name="VSplit" type="VSplitContainer" parent="Viewer"]
|
|
margin_top = 28.0
|
|
margin_right = 1013.0
|
|
margin_bottom = 590.0
|
|
size_flags_vertical = 3
|
|
split_offset = -48
|
|
|
|
[node name="ImgScroll" type="ScrollContainer" parent="Viewer/VSplit"]
|
|
unique_name_in_owner = true
|
|
margin_right = 1013.0
|
|
margin_bottom = 442.0
|
|
rect_min_size = Vector2( 0, 32 )
|
|
size_flags_vertical = 3
|
|
|
|
[node name="img" type="TextureRect" parent="Viewer/VSplit/ImgScroll"]
|
|
unique_name_in_owner = true
|
|
margin_right = 1013.0
|
|
margin_bottom = 442.0
|
|
mouse_filter = 0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
texture = ExtResource( 3 )
|
|
expand = true
|
|
stretch_mode = 6
|
|
script = ExtResource( 1 )
|
|
ignore_global_busy = true
|
|
|
|
[node name="V" type="VBoxContainer" parent="Viewer/VSplit"]
|
|
margin_top = 454.0
|
|
margin_right = 1013.0
|
|
margin_bottom = 562.0
|
|
|
|
[node name="H" type="HFlowContainer" parent="Viewer/VSplit/V"]
|
|
margin_right = 1013.0
|
|
margin_bottom = 24.0
|
|
|
|
[node name="User" type="MenuButton" parent="Viewer/VSplit/V/H"]
|
|
unique_name_in_owner = true
|
|
margin_right = 70.0
|
|
margin_bottom = 24.0
|
|
focus_mode = 2
|
|
disabled = true
|
|
text = "By name"
|
|
items = [ "View Gallery", null, 0, false, false, 0, 0, null, "", false, "View Scraps", null, 0, false, false, 1, 0, null, "", false, "View Gallery and Scraps", null, 0, false, false, 2, 0, null, "", false, "View Favorites", null, 0, false, false, 3, 0, null, "", false, "Open in Browser", null, 0, false, false, 4, 0, null, "", false, "Watch User", null, 0, false, false, 5, 0, null, "", false, "Blacklist Uesr", null, 0, false, false, 6, 0, null, "", false ]
|
|
|
|
[node name="Download" type="MenuButton" parent="Viewer/VSplit/V/H"]
|
|
unique_name_in_owner = true
|
|
margin_left = 74.0
|
|
margin_right = 173.0
|
|
margin_bottom = 24.0
|
|
focus_mode = 2
|
|
disabled = true
|
|
text = "Download To"
|
|
flat = false
|
|
|
|
[node name="DLStatus" type="AcceptDialog" parent="Viewer/VSplit/V/H/Download"]
|
|
unique_name_in_owner = true
|
|
margin_right = 83.0
|
|
margin_bottom = 60.0
|
|
|
|
[node name="OpenBrowser" type="Button" parent="Viewer/VSplit/V/H"]
|
|
margin_left = 177.0
|
|
margin_right = 296.0
|
|
margin_bottom = 24.0
|
|
text = "View in browser"
|
|
|
|
[node name="ScaleIndicator" type="TextureRect" parent="Viewer/VSplit/V/H"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
margin_left = 300.0
|
|
margin_right = 324.0
|
|
margin_bottom = 24.0
|
|
rect_min_size = Vector2( 24, 24 )
|
|
hint_tooltip = "Downscaled by FurAffinity.
|
|
A larger version of this image may exist on the artist's other social media accounts."
|
|
texture = ExtResource( 5 )
|
|
expand = true
|
|
stretch_mode = 5
|
|
__meta__ = {
|
|
"_editor_description_": "Ugh i hate that i have to suggest you check other SOCIAL MEDIA rather than saying check the artist's website but whatever. thats the bullshit corporate dystopia we live in."
|
|
}
|
|
|
|
[node name="desc" type="RichTextLabel" parent="Viewer/VSplit/V"]
|
|
unique_name_in_owner = true
|
|
margin_top = 28.0
|
|
margin_right = 1013.0
|
|
margin_bottom = 108.0
|
|
rect_min_size = Vector2( 0, 32 )
|
|
focus_mode = 2
|
|
size_flags_vertical = 3
|
|
bbcode_enabled = true
|
|
selection_enabled = true
|
|
|
|
[node name="http" type="HTTPRequest" parent="."]
|
|
|
|
[node name="dl" type="HTTPRequest" parent="."]
|
|
|
|
[node name="Node" type="Node" parent="."]
|
|
|
|
[node name="Alert" type="AcceptDialog" parent="Node"]
|
|
unique_name_in_owner = true
|
|
margin_left = 604.0
|
|
margin_top = 589.0
|
|
margin_right = 688.0
|
|
margin_bottom = 653.0
|
|
__meta__ = {
|
|
"_editor_description_": "Generic multipurpose dialog box."
|
|
}
|
|
|
|
[node name="LinkConf" type="ConfirmationDialog" parent="."]
|
|
margin_left = 6.0
|
|
margin_top = 535.0
|
|
margin_right = 206.0
|
|
margin_bottom = 605.0
|
|
resizable = true
|
|
|
|
[connection signal="pressed" from="Viewer/HFlowContainer/close" to="." method="queue_free"]
|
|
[connection signal="gui_input" from="Viewer/VSplit/ImgScroll/img" to="." method="_on_img_gui_input"]
|
|
[connection signal="image_scaled" from="Viewer/VSplit/ImgScroll/img" to="." method="_on_img_image_scaled"]
|
|
[connection signal="pressed" from="Viewer/VSplit/V/H/OpenBrowser" to="." method="_on_OpenBrowser_pressed"]
|
|
[connection signal="meta_clicked" from="Viewer/VSplit/V/desc" to="." method="_on_desc_meta_clicked"]
|
|
[connection signal="request_completed" from="http" to="." method="_on_http_request_completed"]
|
|
[connection signal="confirmed" from="LinkConf" to="." method="_on_LinkConf_confirmed"]
|