mirror of
https://codeberg.org/Ikatono/TierMaker.git
synced 2025-10-28 20:45:35 -05:00
142 lines
5.3 KiB
Plaintext
142 lines
5.3 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://jm7tss267q8y"]
|
|
|
|
[ext_resource type="Script" path="res://settings_popup.cs" id="1_blkox"]
|
|
[ext_resource type="Script" path="res://ConfigStretchContainer.cs" id="2_fhn7i"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jcc71"]
|
|
|
|
[sub_resource type="ButtonGroup" id="ButtonGroup_4itga"]
|
|
|
|
[node name="SettingsPopup" type="PopupPanel"]
|
|
title = "Settings"
|
|
size = Vector2i(728, 523)
|
|
visible = true
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_jcc71")
|
|
script = ExtResource("1_blkox")
|
|
|
|
[node name="SettingsDivider" type="VSplitContainer" parent="."]
|
|
offset_right = 728.0
|
|
offset_bottom = 523.0
|
|
|
|
[node name="SettingsPopupContainer" type="TabContainer" parent="SettingsDivider"]
|
|
custom_minimum_size = Vector2(720, 480)
|
|
layout_mode = 2
|
|
|
|
[node name="ChatContainer" type="VBoxContainer" parent="SettingsDivider/SettingsPopupContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="TopBoxContainer" type="GridContainer" parent="SettingsDivider/SettingsPopupContainer/ChatContainer"]
|
|
layout_mode = 2
|
|
columns = 2
|
|
|
|
[node name="ChannelNameLabel" type="Label" parent="SettingsDivider/SettingsPopupContainer/ChatContainer/TopBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Channel Name"
|
|
|
|
[node name="ChannelNameEdit" type="LineEdit" parent="SettingsDivider/SettingsPopupContainer/ChatContainer/TopBoxContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(500, 0)
|
|
layout_mode = 2
|
|
|
|
[node name="CommandLabel" type="Label" parent="SettingsDivider/SettingsPopupContainer/ChatContainer/TopBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Command"
|
|
|
|
[node name="CommandEdit" type="LineEdit" parent="SettingsDivider/SettingsPopupContainer/ChatContainer/TopBoxContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(500, 0)
|
|
layout_mode = 2
|
|
|
|
[node name="CheckBoxModerator" type="CheckBox" parent="SettingsDivider/SettingsPopupContainer/ChatContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "Allow moderators"
|
|
|
|
[node name="UserListContainer" type="HBoxContainer" parent="SettingsDivider/SettingsPopupContainer/ChatContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="WhiteListContainer" type="VBoxContainer" parent="SettingsDivider/SettingsPopupContainer/ChatContainer/UserListContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="WhiteListLabel" type="Label" parent="SettingsDivider/SettingsPopupContainer/ChatContainer/UserListContainer/WhiteListContainer"]
|
|
layout_mode = 2
|
|
text = "Whitelist"
|
|
|
|
[node name="WhiteListEdit" type="TextEdit" parent="SettingsDivider/SettingsPopupContainer/ChatContainer/UserListContainer/WhiteListContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="BlackListContainer" type="VBoxContainer" parent="SettingsDivider/SettingsPopupContainer/ChatContainer/UserListContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="BlackListLabel" type="Label" parent="SettingsDivider/SettingsPopupContainer/ChatContainer/UserListContainer/BlackListContainer"]
|
|
layout_mode = 2
|
|
text = "Blacklist
|
|
"
|
|
|
|
[node name="BlackListEdit" type="TextEdit" parent="SettingsDivider/SettingsPopupContainer/ChatContainer/UserListContainer/BlackListContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="ConfigContainer" type="VBoxContainer" parent="SettingsDivider/SettingsPopupContainer"]
|
|
visible = false
|
|
layout_mode = 2
|
|
|
|
[node name="ConfigStretchContainer" type="VBoxContainer" parent="SettingsDivider/SettingsPopupContainer/ConfigContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
alignment = 1
|
|
script = ExtResource("2_fhn7i")
|
|
|
|
[node name="ConfigStretchLabel" type="Label" parent="SettingsDivider/SettingsPopupContainer/ConfigContainer/ConfigStretchContainer"]
|
|
layout_mode = 2
|
|
text = " Default Stretch Mode"
|
|
|
|
[node name="ConfigStretchFitButton" type="CheckBox" parent="SettingsDivider/SettingsPopupContainer/ConfigContainer/ConfigStretchContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
button_pressed = true
|
|
button_group = SubResource("ButtonGroup_4itga")
|
|
text = "Fit"
|
|
|
|
[node name="ConfigStretchStretchButton" type="CheckBox" parent="SettingsDivider/SettingsPopupContainer/ConfigContainer/ConfigStretchContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
button_group = SubResource("ButtonGroup_4itga")
|
|
text = "Stretch"
|
|
|
|
[node name="ConfigStretchCropButton" type="CheckBox" parent="SettingsDivider/SettingsPopupContainer/ConfigContainer/ConfigStretchContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
button_group = SubResource("ButtonGroup_4itga")
|
|
text = "Crop"
|
|
|
|
[node name="ButtonContainer" type="HBoxContainer" parent="SettingsDivider"]
|
|
layout_mode = 2
|
|
alignment = 2
|
|
|
|
[node name="CancelButton" type="Button" parent="SettingsDivider/ButtonContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(100, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
text = "Cancel"
|
|
|
|
[node name="OkButton" type="Button" parent="SettingsDivider/ButtonContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(100, 0)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
text = "OK"
|
|
|
|
[connection signal="BeforeOk" from="." to="SettingsDivider/SettingsPopupContainer/ConfigContainer/ConfigStretchContainer" method="OkClicked"]
|
|
[connection signal="pressed" from="SettingsDivider/ButtonContainer/CancelButton" to="." method="_on_cancel_button_pressed"]
|
|
[connection signal="pressed" from="SettingsDivider/ButtonContainer/OkButton" to="." method="_on_ok_button_pressed"]
|