165 lines
4.8 KiB
Text
165 lines
4.8 KiB
Text
[gd_scene load_steps=15 format=2]
|
|
|
|
[ext_resource path="res://Scenes/UI/SpaceMap.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://Scenes/UI.gd" type="Script" id=2]
|
|
[ext_resource path="res://Graphics/UI/iosevka-aile-regular.ttf" type="DynamicFontData" id=3]
|
|
[ext_resource path="res://Scenes/UI/Panels/ServerInfo.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://Scenes/UI/Widgets/ResizablePanel.tscn" type="PackedScene" id=5]
|
|
[ext_resource path="res://Scenes/UI/Panels/Logs.gd" type="Script" id=6]
|
|
[ext_resource path="res://Graphics/UI/iosevka-aile-italic.ttf" type="DynamicFontData" id=7]
|
|
[ext_resource path="res://Graphics/UI/iosevka-aile-bold.ttf" type="DynamicFontData" id=8]
|
|
[ext_resource path="res://Graphics/UI/iosevka-aile-bolditalic.ttf" type="DynamicFontData" id=9]
|
|
|
|
[sub_resource type="DynamicFont" id=1]
|
|
size = 14
|
|
use_mipmaps = true
|
|
font_data = ExtResource( 9 )
|
|
|
|
[sub_resource type="DynamicFont" id=2]
|
|
size = 14
|
|
use_mipmaps = true
|
|
font_data = ExtResource( 7 )
|
|
|
|
[sub_resource type="DynamicFont" id=3]
|
|
size = 14
|
|
use_mipmaps = true
|
|
font_data = ExtResource( 8 )
|
|
|
|
[sub_resource type="DynamicFont" id=4]
|
|
size = 14
|
|
use_mipmaps = true
|
|
font_data = ExtResource( 3 )
|
|
|
|
[sub_resource type="StyleBoxFlat" id=5]
|
|
bg_color = Color( 0.133333, 0.12549, 0.203922, 0.705882 )
|
|
border_width_left = 4
|
|
border_width_top = 4
|
|
border_width_right = 4
|
|
border_width_bottom = 4
|
|
border_color = Color( 0.0941176, 0.0823529, 0.180392, 1 )
|
|
border_blend = true
|
|
corner_radius_top_left = 4
|
|
corner_radius_top_right = 4
|
|
corner_radius_bottom_right = 4
|
|
corner_radius_bottom_left = 4
|
|
|
|
[node name="ui" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
mouse_filter = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MapPopup" parent="." instance=ExtResource( 1 )]
|
|
|
|
[node name="Logs" type="Control" parent="."]
|
|
margin_left = 10.0
|
|
margin_top = 10.0
|
|
margin_right = 475.0
|
|
margin_bottom = 273.0
|
|
script = ExtResource( 6 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="ResizablePanel" parent="Logs" instance=ExtResource( 5 )]
|
|
title = "Logs"
|
|
|
|
[node name="RichTextLabel" type="RichTextLabel" parent="Logs/ResizablePanel"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 10.0
|
|
margin_top = 40.0
|
|
margin_right = -10.0
|
|
margin_bottom = -40.0
|
|
focus_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
custom_fonts/bold_italics_font = SubResource( 1 )
|
|
custom_fonts/italics_font = SubResource( 2 )
|
|
custom_fonts/bold_font = SubResource( 3 )
|
|
custom_fonts/normal_font = SubResource( 4 )
|
|
bbcode_enabled = true
|
|
selection_enabled = true
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="LineEdit" type="LineEdit" parent="Logs/ResizablePanel"]
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 6.0
|
|
margin_top = -30.0
|
|
margin_right = -16.0
|
|
margin_bottom = -6.0
|
|
focus_mode = 1
|
|
caret_blink = true
|
|
caret_blink_speed = 0.5
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Menu" type="PanelContainer" parent="."]
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
margin_left = -126.0
|
|
margin_top = 10.0
|
|
margin_right = -10.0
|
|
margin_bottom = 38.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
custom_styles/panel = SubResource( 5 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Margins" type="MarginContainer" parent="Menu"]
|
|
margin_left = 4.0
|
|
margin_top = 4.0
|
|
margin_right = 148.0
|
|
margin_bottom = 24.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="Grid" type="GridContainer" parent="Menu/Margins"]
|
|
margin_right = 144.0
|
|
margin_bottom = 20.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
custom_constants/vseparation = 4
|
|
custom_constants/hseparation = 4
|
|
columns = 4
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Server" type="MenuButton" parent="Menu/Margins/Grid"]
|
|
margin_right = 52.0
|
|
margin_bottom = 20.0
|
|
custom_constants/hseparation = 8
|
|
text = "Server"
|
|
|
|
[node name="Preferences" type="MenuButton" parent="Menu/Margins/Grid"]
|
|
margin_left = 56.0
|
|
margin_right = 144.0
|
|
margin_bottom = 20.0
|
|
text = "Preferences"
|
|
|
|
[node name="ServerInfoPopup" parent="." instance=ExtResource( 4 )]
|
|
margin_left = 31.2773
|
|
margin_top = 46.9222
|
|
margin_right = 287.277
|
|
margin_bottom = 214.923
|
|
[connection signal="chat_message_sent" from="Logs" to="." method="_send_chat"]
|
|
[connection signal="focus_entered" from="Logs/ResizablePanel/LineEdit" to="Logs" method="_chat_bar_status" binds= [ true ]]
|
|
[connection signal="focus_exited" from="Logs/ResizablePanel/LineEdit" to="Logs" method="_chat_bar_status" binds= [ false ]]
|
|
[connection signal="mouse_entered" from="Logs/ResizablePanel/LineEdit" to="Logs" method="_chat_bar_focus" binds= [ true ]]
|
|
[connection signal="mouse_exited" from="Logs/ResizablePanel/LineEdit" to="Logs" method="_chat_bar_focus" binds= [ false ]]
|
|
[connection signal="text_entered" from="Logs/ResizablePanel/LineEdit" to="Logs" method="_text_submitted"]
|