This repository has been archived on 2020-09-30. You can view files and clone it, but cannot push or open issues or pull requests.
odyssey-old/Scenes/UI.tscn

210 lines
5.9 KiB
Text
Raw Normal View History

2020-07-23 12:21:27 +00:00
[gd_scene load_steps=16 format=2]
2020-07-10 00:09:54 +00:00
[ext_resource path="res://Scenes/UI/SpaceMap.tscn" type="PackedScene" id=1]
[ext_resource path="res://Scenes/UI.gd" type="Script" id=2]
2020-07-22 15:34:04 +00:00
[ext_resource path="res://Graphics/UI/iosevka-aile-regular.ttf" type="DynamicFontData" id=3]
2020-07-21 08:51:15 +00:00
[ext_resource path="res://Scenes/UI/Panels/ServerInfo.tscn" type="PackedScene" id=4]
2020-07-22 15:34:04 +00:00
[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]
2020-07-06 22:00:39 +00:00
2020-07-22 15:34:04 +00:00
[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]
2020-07-10 11:31:16 +00:00
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
2020-07-23 12:21:27 +00:00
[sub_resource type="StyleBoxFlat" id=6]
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
2020-07-06 22:00:39 +00:00
[node name="ui" type="Control"]
2020-07-10 00:09:54 +00:00
anchor_right = 1.0
anchor_bottom = 1.0
2020-07-12 15:26:40 +00:00
mouse_filter = 2
2020-07-10 00:09:54 +00:00
size_flags_horizontal = 3
size_flags_vertical = 3
script = ExtResource( 2 )
2020-07-06 22:00:39 +00:00
__meta__ = {
"_edit_use_anchors_": false
}
2020-07-10 00:09:54 +00:00
[node name="MapPopup" parent="." instance=ExtResource( 1 )]
2020-07-10 10:37:17 +00:00
2020-07-22 15:34:04 +00:00
[node name="Logs" type="Control" parent="."]
2020-07-20 09:15:39 +00:00
margin_left = 10.0
margin_top = 10.0
2020-07-22 15:34:04 +00:00
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
}
2020-07-10 11:31:16 +00:00
[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
2020-07-22 15:34:04 +00:00
custom_styles/panel = SubResource( 5 )
2020-07-10 11:31:16 +00:00
__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"]
2020-07-10 13:37:13 +00:00
margin_right = 144.0
margin_bottom = 20.0
2020-07-10 11:31:16 +00:00
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"
2020-07-20 09:15:39 +00:00
[node name="ServerInfoPopup" parent="." instance=ExtResource( 4 )]
2020-07-23 12:21:27 +00:00
visible = false
2020-07-20 09:15:39 +00:00
margin_left = 31.2773
margin_top = 46.9222
margin_right = 287.277
margin_bottom = 214.923
2020-07-23 12:21:27 +00:00
[node name="InspectBox" type="RichTextLabel" parent="."]
margin_left = 19.0
margin_top = -124.0
margin_right = 376.0
margin_bottom = -97.0
size_flags_horizontal = 15
size_flags_vertical = 15
custom_styles/normal = SubResource( 6 )
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 )
fit_content_height = true
scroll_active = false
__meta__ = {
"_edit_use_anchors_": false
}
2020-07-28 07:54:04 +00:00
[node name="ItemSlots" type="HBoxContainer" parent="."]
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_top = -100.0
margin_bottom = -50.0
rect_scale = Vector2( 2, 2 )
alignment = 1
__meta__ = {
"_edit_use_anchors_": false
}
2020-07-22 15:34:04 +00:00
[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"]