88 lines
2.4 KiB
Text
88 lines
2.4 KiB
Text
[gd_scene load_steps=2 format=3 uid="uid://itch_settings_scene"]
|
|
|
|
[ext_resource type="Script" path="res://plugins/itch/core/itch_settings.gd" id="1"]
|
|
|
|
[node name="ItchSettings" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
script = ExtResource("1")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -200.0
|
|
offset_top = -120.0
|
|
offset_right = 200.0
|
|
offset_bottom = 120.0
|
|
|
|
[node name="TitleLabel" type="Label" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "itch.io"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="StatusLabel" type="Label" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "Status: starting butlerd..."
|
|
|
|
[node name="LoginMethod" type="OptionButton" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
item_count = 2
|
|
popup/item_0_text = "API Key"
|
|
popup/item_1_text = "Username & Password"
|
|
|
|
[node name="ApiKeyInput" type="LineEdit" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
placeholder_text = "itch.io API key"
|
|
|
|
[node name="UsernameInput" type="LineEdit" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
placeholder_text = "Username"
|
|
visible = false
|
|
|
|
[node name="PasswordInput" type="LineEdit" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
placeholder_text = "Password"
|
|
secret = true
|
|
visible = false
|
|
|
|
[node name="HelpLabel" type="Label" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
autowrap_mode = 2
|
|
text = "Get an API key from https://itch.io/user/settings/api-keys"
|
|
|
|
[node name="FilterUnsupported" type="CheckBox" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "Only show games available on this platform"
|
|
|
|
[node name="ShowPurchases" type="CheckBox" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "Show main purchases"
|
|
button_pressed = true
|
|
|
|
[node name="CollectionsLabel" type="Label" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "Show collections:"
|
|
|
|
[node name="CollectionsContainer" type="VBoxContainer" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
|
|
[node name="SaveButton" type="Button" parent="VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "Save and Log In"
|