khanat-client/scenes/interfaces/options/option_settings.tscn

452 lines
19 KiB
Text

[gd_scene load_steps=2 format=2]
[ext_resource path="res://scenes/interfaces/options/option_settings.gd" type="Script" id=1]
[node name="control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="window_dialog" type="WindowDialog" parent="."]
margin_left = 55.2183
margin_top = 62.4725
margin_right = 1231.22
margin_bottom = 674.473
window_title = "OPTION_TITLE"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="margin_container" type="MarginContainer" parent="window_dialog"]
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/margin_right = 5
custom_constants/margin_top = 5
custom_constants/margin_left = 5
custom_constants/margin_bottom = 5
__meta__ = {
"_edit_use_anchors_": false
}
[node name="v_box_container" type="VBoxContainer" parent="window_dialog/margin_container"]
margin_left = 5.0
margin_top = 5.0
margin_right = 1171.0
margin_bottom = 607.0
custom_constants/separation = 5
__meta__ = {
"_edit_use_anchors_": false
}
[node name="tab_container" type="TabContainer" parent="window_dialog/margin_container/v_box_container"]
margin_right = 1166.0
margin_bottom = 577.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/label_valign_fg = 0
custom_constants/hseparation = 0
custom_constants/label_valign_bg = 0
custom_constants/top_margin = 0
custom_constants/side_margin = 0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="OPTION_SETTINGS_VIDEO" type="VBoxContainer" parent="window_dialog/margin_container/v_box_container/tab_container"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 32.0
margin_right = -4.0
margin_bottom = -4.0
[node name="h_box_container_8" type="HBoxContainer" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO"]
margin_right = 1158.0
margin_bottom = 24.0
size_flags_horizontal = 3
[node name="label" type="Label" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/h_box_container_8"]
margin_left = 349.0
margin_top = 5.0
margin_right = 577.0
margin_bottom = 19.0
size_flags_horizontal = 10
text = "OPTION_SETTINGS_VIDEO_DEFAULT"
[node name="default" type="CheckBox" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/h_box_container_8"]
margin_left = 581.0
margin_right = 605.0
margin_bottom = 24.0
size_flags_horizontal = 2
[node name="h_box_container_9" type="HBoxContainer" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO"]
visible = false
margin_top = 28.0
margin_right = 1158.0
margin_bottom = 52.0
size_flags_horizontal = 3
[node name="label" type="Label" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/h_box_container_9"]
margin_left = 338.0
margin_top = 5.0
margin_right = 577.0
margin_bottom = 19.0
size_flags_horizontal = 10
text = "OPTION_SETTINGS_VIDEO_SIZE_FONT"
[node name="font" type="SpinBox" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/h_box_container_9"]
margin_left = 581.0
margin_right = 655.0
margin_bottom = 24.0
size_flags_horizontal = 2
min_value = 8.0
value = 8.0
[node name="settings_video" type="GridContainer" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO"]
margin_top = 28.0
margin_right = 1158.0
margin_bottom = 130.0
custom_constants/vseparation = 2
custom_constants/hseparation = 0
columns = 2
[node name="h_box_container" type="HBoxContainer" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video"]
margin_right = 579.0
margin_bottom = 24.0
size_flags_horizontal = 3
[node name="label" type="Label" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video/h_box_container"]
margin_left = 38.0
margin_top = 5.0
margin_right = 287.0
margin_bottom = 19.0
size_flags_horizontal = 10
text = "OPTION_SETTINGS_VIDEO_FULLSCREEN"
[node name="fullscreen" type="CheckBox" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video/h_box_container"]
margin_left = 291.0
margin_right = 315.0
margin_bottom = 24.0
size_flags_horizontal = 2
[node name="h_box_container_2" type="HBoxContainer" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video"]
margin_left = 579.0
margin_right = 1158.0
margin_bottom = 24.0
size_flags_horizontal = 3
[node name="label" type="Label" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video/h_box_container_2"]
margin_left = 35.0
margin_top = 5.0
margin_right = 287.0
margin_bottom = 19.0
size_flags_horizontal = 10
text = "OPTION_SETTINGS_VIDEO_BORDERLESS"
[node name="borderless" type="CheckBox" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video/h_box_container_2"]
margin_left = 291.0
margin_right = 315.0
margin_bottom = 24.0
size_flags_horizontal = 2
[node name="h_box_container_7" type="HBoxContainer" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video"]
margin_top = 26.0
margin_right = 579.0
margin_bottom = 50.0
size_flags_horizontal = 3
[node name="label" type="Label" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video/h_box_container_7"]
margin_top = 5.0
margin_right = 315.0
margin_bottom = 19.0
size_flags_horizontal = 10
text = "OPTION_SETTINGS_VIDEO_WINDOW_MAXIMIZED"
[node name="window_maximized" type="CheckBox" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video/h_box_container_7"]
margin_left = 319.0
margin_right = 343.0
margin_bottom = 24.0
size_flags_horizontal = 2
[node name="h_box_container_3" type="HBoxContainer" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video"]
margin_left = 579.0
margin_top = 26.0
margin_right = 1158.0
margin_bottom = 50.0
size_flags_horizontal = 3
[node name="label" type="Label" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video/h_box_container_3"]
margin_left = 49.0
margin_top = 5.0
margin_right = 287.0
margin_bottom = 19.0
size_flags_horizontal = 10
text = "OPTION_SETTINGS_VIDEO_RESIZABLE"
[node name="resizable" type="CheckBox" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video/h_box_container_3"]
margin_left = 291.0
margin_right = 315.0
margin_bottom = 24.0
size_flags_horizontal = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="h_box_container_4" type="HBoxContainer" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video"]
margin_top = 52.0
margin_right = 579.0
margin_bottom = 76.0
size_flags_horizontal = 3
[node name="label" type="Label" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video/h_box_container_4"]
margin_left = 69.0
margin_top = 5.0
margin_right = 287.0
margin_bottom = 19.0
size_flags_horizontal = 10
text = "OPTION_SETTINGS_VIDEO_SCREEN"
[node name="screen" type="SpinBox" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video/h_box_container_4"]
margin_left = 291.0
margin_right = 365.0
margin_bottom = 24.0
size_flags_horizontal = 2
[node name="h_box_container_5" type="HBoxContainer" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video"]
margin_left = 579.0
margin_top = 52.0
margin_right = 1158.0
margin_bottom = 76.0
size_flags_horizontal = 3
[node name="label" type="Label" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video/h_box_container_5"]
margin_top = 5.0
margin_right = 314.0
margin_bottom = 19.0
size_flags_horizontal = 10
text = "OPTION_SETTINGS_VIDEO_SCREEN_ORIENTATION"
[node name="orientation" type="SpinBox" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video/h_box_container_5"]
margin_left = 318.0
margin_right = 392.0
margin_bottom = 24.0
size_flags_horizontal = 2
max_value = 6.0
[node name="h_box_container_6" type="HBoxContainer" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video"]
margin_top = 78.0
margin_right = 579.0
margin_bottom = 102.0
size_flags_horizontal = 3
[node name="label" type="Label" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video/h_box_container_6"]
margin_top = 5.0
margin_right = 350.0
margin_bottom = 19.0
size_flags_horizontal = 10
text = "OPTION_SETTINGS_VIDEO_WINDOW_ALWAYS_ON_TOP"
[node name="always_on_top" type="CheckBox" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video/h_box_container_6"]
margin_left = 354.0
margin_right = 579.0
margin_bottom = 24.0
size_flags_horizontal = 3
[node name="OPTION_SETTINGS_SOUND" type="GridContainer" parent="window_dialog/margin_container/v_box_container/tab_container"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 32.0
margin_right = -4.0
margin_bottom = -4.0
[node name="h_box_container_2" type="HBoxContainer" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND"]
margin_right = 1158.0
margin_bottom = 24.0
size_flags_horizontal = 3
[node name="label" type="Label" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND/h_box_container_2"]
margin_left = 363.0
margin_top = 5.0
margin_right = 577.0
margin_bottom = 19.0
size_flags_horizontal = 10
text = "OPTION_SETTINGS_SOUND_MUTE"
[node name="mute" type="CheckBox" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND/h_box_container_2"]
margin_left = 581.0
margin_right = 605.0
margin_bottom = 24.0
size_flags_horizontal = 2
[node name="h_box_container_3" type="HBoxContainer" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND"]
margin_top = 28.0
margin_right = 1158.0
margin_bottom = 42.0
size_flags_horizontal = 3
[node name="label" type="Label" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND/h_box_container_3"]
margin_left = 304.0
margin_right = 577.0
margin_bottom = 14.0
size_flags_horizontal = 10
text = "OPTION_SETTINGS_SOUND_LEVEL_GLOBAL"
[node name="sound_lvl_global" type="HScrollBar" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND/h_box_container_3"]
margin_left = 581.0
margin_right = 1158.0
margin_bottom = 12.0
size_flags_horizontal = 3
step = 1.0
rounded = true
custom_step = 10.0
[node name="h_box_container_6" type="HBoxContainer" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND"]
margin_top = 46.0
margin_right = 1158.0
margin_bottom = 60.0
size_flags_horizontal = 3
[node name="label" type="Label" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND/h_box_container_6"]
margin_left = 315.0
margin_right = 577.0
margin_bottom = 14.0
size_flags_horizontal = 10
text = "OPTION_SETTINGS_SOUND_LEVEL_MUSIC"
[node name="sound_lvl_music" type="HScrollBar" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND/h_box_container_6"]
margin_left = 581.0
margin_right = 1158.0
margin_bottom = 12.0
size_flags_horizontal = 3
step = 1.0
[node name="h_box_container_4" type="HBoxContainer" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND"]
margin_top = 64.0
margin_right = 1158.0
margin_bottom = 78.0
size_flags_horizontal = 3
[node name="label" type="Label" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND/h_box_container_4"]
margin_left = 314.0
margin_right = 577.0
margin_bottom = 14.0
size_flags_horizontal = 10
text = "OPTION_SETTINGS_SOUND_LEVEL_EFFECT"
[node name="sound_lvl_effect" type="HScrollBar" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND/h_box_container_4"]
margin_left = 581.0
margin_right = 1158.0
margin_bottom = 12.0
size_flags_horizontal = 3
[node name="h_box_container_5" type="HBoxContainer" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND"]
margin_top = 82.0
margin_right = 1158.0
margin_bottom = 106.0
size_flags_horizontal = 3
[node name="label" type="Label" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND/h_box_container_5"]
margin_left = 315.0
margin_top = 5.0
margin_right = 577.0
margin_bottom = 19.0
size_flags_horizontal = 10
text = "OPTION_SETTINGS_SOUND_YOUR_MUSIC"
[node name="musicplayer" type="CheckBox" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND/h_box_container_5"]
margin_left = 581.0
margin_right = 605.0
margin_bottom = 24.0
size_flags_horizontal = 2
[node name="h_box_container_7" type="HBoxContainer" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND"]
margin_top = 110.0
margin_right = 1158.0
margin_bottom = 130.0
size_flags_horizontal = 3
[node name="label" type="Label" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND/h_box_container_7"]
margin_left = 305.0
margin_top = 3.0
margin_right = 577.0
margin_bottom = 17.0
size_flags_horizontal = 10
text = "OPTION_SETTINGS_SOUND_SELECT_DEVICE"
[node name="audiodevice" type="OptionButton" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND/h_box_container_7"]
margin_left = 581.0
margin_right = 610.0
margin_bottom = 20.0
size_flags_horizontal = 2
[node name="h_box_container" type="HBoxContainer" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND"]
margin_top = 134.0
margin_right = 1158.0
margin_bottom = 154.0
size_flags_horizontal = 3
[node name="button" type="Button" parent="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND/h_box_container"]
margin_left = 546.0
margin_right = 612.0
margin_bottom = 20.0
size_flags_horizontal = 6
text = "Juke Box"
align = 2
[node name="ok" type="Button" parent="window_dialog/margin_container/v_box_container"]
margin_top = 582.0
margin_right = 1166.0
margin_bottom = 602.0
text = "OPTION_SETTINGS_EXIT"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="file_dialog" type="FileDialog" parent="."]
margin_left = 156.0
margin_top = 237.0
margin_right = 1102.0
margin_bottom = 586.0
popup_exclusive = true
window_title = "Ouvrir un ou plusieurs fichiers"
resizable = true
mode = 1
access = 2
filters = PoolStringArray( "*.mp3,*.ogg" )
show_hidden_files = true
current_dir = "/home/aleajactaest/Projets/khanat/khanat-client-new"
current_path = "/home/aleajactaest/Projets/khanat/khanat-client-new/"
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="musicplayer_pressed" from="." to="." method="_on_control_musicplayer_pressed"]
[connection signal="mute_pressed" from="." to="." method="_on_control_mute_pressed"]
[connection signal="draw" from="window_dialog" to="." method="_on_window_dialog_draw"]
[connection signal="hide" from="window_dialog" to="." method="_on_window_dialog_hide"]
[connection signal="modal_closed" from="window_dialog" to="." method="_on_window_dialog_modal_closed"]
[connection signal="toggled" from="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/h_box_container_8/default" to="." method="_on_default_toggled"]
[connection signal="value_changed" from="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/h_box_container_9/font" to="." method="_on_font_value_changed"]
[connection signal="toggled" from="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video/h_box_container/fullscreen" to="." method="_on_fullscreen_toggled"]
[connection signal="toggled" from="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video/h_box_container_2/borderless" to="." method="_on_borderless_toggled"]
[connection signal="toggled" from="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video/h_box_container_7/window_maximized" to="." method="_on_window_maximized_toggled"]
[connection signal="toggled" from="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video/h_box_container_3/resizable" to="." method="_on_resizable_toggled"]
[connection signal="value_changed" from="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video/h_box_container_4/screen" to="." method="_on_screen_value_changed"]
[connection signal="value_changed" from="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video/h_box_container_5/orientation" to="." method="_on_orientation_value_changed"]
[connection signal="toggled" from="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_VIDEO/settings_video/h_box_container_6/always_on_top" to="." method="_on_always_on_top_toggled"]
[connection signal="toggled" from="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND/h_box_container_2/mute" to="." method="_on_mute_toggled"]
[connection signal="value_changed" from="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND/h_box_container_3/sound_lvl_global" to="." method="_on_sound_lvl_global_value_changed"]
[connection signal="value_changed" from="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND/h_box_container_6/sound_lvl_music" to="." method="_on_sound_lvl_music_value_changed"]
[connection signal="value_changed" from="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND/h_box_container_4/sound_lvl_effect" to="." method="_on_sound_lvl_effect_value_changed"]
[connection signal="pressed" from="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND/h_box_container_5/musicplayer" to="." method="_on_musicplayer_pressed"]
[connection signal="item_selected" from="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND/h_box_container_7/audiodevice" to="." method="_on_audiodevice_item_selected"]
[connection signal="pressed" from="window_dialog/margin_container/v_box_container/tab_container/OPTION_SETTINGS_SOUND/h_box_container/button" to="." method="_on_button_pressed"]
[connection signal="pressed" from="window_dialog/margin_container/v_box_container/ok" to="." method="_on_ok_pressed"]
[connection signal="files_selected" from="file_dialog" to="." method="_on_file_dialog_files_selected"]