diary/main.tscn

385 lines
13 KiB
Plaintext
Raw Normal View History

2022-04-19 14:24:57 +02:00
[gd_scene load_steps=21 format=2]
2022-03-30 15:05:15 +02:00
[ext_resource path="res://assets/ui/mainTheme.tres" type="Theme" id=1]
[ext_resource path="res://assets/fonts/Helvetica/Helvetica-Bold.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://assets/textures/jimsito.png" type="Texture" id=3]
2022-04-19 14:24:57 +02:00
[ext_resource path="res://assets/fonts/Helvetica/Helvetica-Oblique.ttf" type="DynamicFontData" id=4]
[ext_resource path="res://assets/ui/icons/off.png" type="Texture" id=5]
2022-03-30 15:05:15 +02:00
[ext_resource path="res://assets/ui/icons/call0.png" type="Texture" id=6]
[ext_resource path="res://treecontrolling.gd" type="Script" id=7]
[ext_resource path="res://assets/ui/icons/call01.png" type="Texture" id=8]
[ext_resource path="res://assets/ui/icons/call1.png" type="Texture" id=9]
2022-04-19 14:24:57 +02:00
[ext_resource path="res://system/core.gd" type="Script" id=10]
[ext_resource path="res://assets/ui/icons/on.png" type="Texture" id=11]
[ext_resource path="res://assets/ui/icons/plus0.png" type="Texture" id=12]
2022-03-30 15:05:15 +02:00
[sub_resource type="StyleBoxFlat" id=15]
bg_color = Color( 0.0823529, 0.101961, 0.133333, 1 )
[sub_resource type="StyleBoxEmpty" id=16]
[sub_resource type="StyleBoxFlat" id=9]
bg_color = Color( 0.25098, 0.266667, 0.294118, 1 )
border_width_bottom = 2
border_color = Color( 0.160784, 0.168627, 0.184314, 1 )
corner_radius_top_left = 10
corner_radius_top_right = 10
[sub_resource type="DynamicFont" id=14]
use_mipmaps = true
use_filter = true
font_data = ExtResource( 2 )
2022-04-19 14:24:57 +02:00
[sub_resource type="DynamicFont" id=17]
size = 24
use_mipmaps = true
use_filter = true
font_data = ExtResource( 4 )
[sub_resource type="StyleBoxFlat" id=18]
bg_color = Color( 0.25098, 0.266667, 0.294118, 1 )
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[sub_resource type="StyleBoxEmpty" id=19]
[sub_resource type="StyleBoxEmpty" id=20]
[node name="core" type="Control"]
2022-03-30 15:05:15 +02:00
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 1 )
2022-04-19 14:24:57 +02:00
script = ExtResource( 10 )
2022-03-30 15:05:15 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
2022-04-19 14:24:57 +02:00
main_input_path = NodePath("Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/PanelContainer/HBoxContainer/InputContainer/MarginContainer/VBoxContainer/HBoxContainer/MarginContainer/TextEdit")
message_scroller_path = NodePath("Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/MarginContainer/ScrollContainer")
message_container_path = NodePath("Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/MarginContainer/ScrollContainer/messageContainer")
username_label_path = NodePath("Panel/Margin/Structure/Body/SidePanel/VBoxContainer/UserToolbox/Margin/Structure/Profile/UserTexts/Label")
2022-03-30 15:05:15 +02:00
[node name="Panel" type="Panel" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
custom_styles/panel = SubResource( 15 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Margin" type="MarginContainer" parent="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/margin_right = 20
custom_constants/margin_top = 20
custom_constants/margin_left = 20
custom_constants/margin_bottom = 30
__meta__ = {
"_edit_use_anchors_": false,
"_editor_description_": "
"
}
[node name="Structure" type="VBoxContainer" parent="Panel/Margin"]
margin_left = 20.0
margin_top = 20.0
2022-04-19 14:24:57 +02:00
margin_right = 1346.0
margin_bottom = 738.0
2022-03-30 15:05:15 +02:00
custom_constants/separation = 20
2022-04-19 14:24:57 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
2022-03-30 15:05:15 +02:00
[node name="Header" type="PanelContainer" parent="Panel/Margin/Structure"]
2022-04-19 14:24:57 +02:00
margin_right = 1326.0
margin_bottom = 77.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
2022-04-19 14:24:57 +02:00
[node name="HBoxContainer" type="HBoxContainer" parent="Panel/Margin/Structure/Header"]
margin_right = 1326.0
margin_bottom = 77.0
size_flags_horizontal = 3
size_flags_vertical = 3
alignment = 2
2022-03-30 15:05:15 +02:00
[node name="Body" type="HBoxContainer" parent="Panel/Margin/Structure"]
2022-04-19 14:24:57 +02:00
margin_top = 97.0
margin_right = 1326.0
margin_bottom = 718.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 8.0
custom_constants/separation = 20
[node name="SidePanel" type="PanelContainer" parent="Panel/Margin/Structure/Body"]
2022-04-19 14:24:57 +02:00
margin_right = 288.0
margin_bottom = 621.0
2022-03-30 15:05:15 +02:00
rect_min_size = Vector2( 279, 0 )
size_flags_horizontal = 3
size_flags_vertical = 3
2022-04-19 14:24:57 +02:00
size_flags_stretch_ratio = 1.7
2022-03-30 15:05:15 +02:00
custom_styles/panel = SubResource( 16 )
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/Margin/Structure/Body/SidePanel"]
2022-04-19 14:24:57 +02:00
margin_right = 288.0
margin_bottom = 621.0
2022-03-30 15:05:15 +02:00
[node name="Margin" type="MarginContainer" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer"]
2022-04-19 14:24:57 +02:00
margin_right = 288.0
margin_bottom = 548.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 8.0
[node name="Structure" type="VBoxContainer" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/Margin"]
2022-04-19 14:24:57 +02:00
margin_right = 288.0
margin_bottom = 548.0
2022-03-30 15:05:15 +02:00
[node name="Panel" type="Panel" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/Margin/Structure"]
2022-04-19 14:24:57 +02:00
margin_right = 288.0
margin_bottom = 77.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/panel = SubResource( 9 )
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/Margin/Structure"]
2022-04-19 14:24:57 +02:00
margin_top = 81.0
margin_right = 288.0
margin_bottom = 548.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 6.0
script = ExtResource( 7 )
[node name="Tree" type="Tree" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/Margin/Structure/VBoxContainer"]
2022-04-19 14:24:57 +02:00
margin_right = 288.0
margin_bottom = 231.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Tree2" type="Tree" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/Margin/Structure/VBoxContainer"]
2022-04-19 14:24:57 +02:00
margin_top = 235.0
margin_right = 288.0
margin_bottom = 467.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="UserToolbox" type="PanelContainer" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer"]
2022-04-19 14:24:57 +02:00
margin_top = 552.0
margin_right = 288.0
margin_bottom = 621.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Margin" type="MarginContainer" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/UserToolbox"]
2022-04-19 14:24:57 +02:00
margin_right = 288.0
margin_bottom = 69.0
2022-03-30 15:05:15 +02:00
custom_constants/margin_right = 10
custom_constants/margin_top = 10
custom_constants/margin_left = 10
custom_constants/margin_bottom = 10
[node name="Structure" type="HBoxContainer" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/UserToolbox/Margin"]
margin_left = 10.0
margin_top = 10.0
2022-04-19 14:24:57 +02:00
margin_right = 278.0
margin_bottom = 59.0
2022-03-30 15:05:15 +02:00
2022-04-19 14:24:57 +02:00
[node name="Profile" type="HBoxContainer" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/UserToolbox/Margin/Structure"]
margin_right = 147.0
margin_bottom = 49.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
2022-04-19 14:24:57 +02:00
size_flags_stretch_ratio = 4.0
2022-03-30 15:05:15 +02:00
custom_constants/separation = 10
2022-04-19 14:24:57 +02:00
[node name="UserProfile" type="TextureRect" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/UserToolbox/Margin/Structure/Profile"]
margin_right = 58.0
margin_bottom = 49.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
2022-04-19 14:24:57 +02:00
size_flags_stretch_ratio = 1.5
2022-03-30 15:05:15 +02:00
texture = ExtResource( 3 )
expand = true
stretch_mode = 6
2022-04-19 14:24:57 +02:00
[node name="UserTexts" type="VBoxContainer" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/UserToolbox/Margin/Structure/Profile"]
margin_left = 68.0
margin_right = 147.0
margin_bottom = 49.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 2.0
alignment = 1
2022-04-19 14:24:57 +02:00
[node name="Label" type="Label" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/UserToolbox/Margin/Structure/Profile/UserTexts"]
margin_right = 79.0
margin_bottom = 49.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
custom_fonts/font = SubResource( 14 )
2022-04-19 14:24:57 +02:00
text = "asdasd"
2022-03-30 15:05:15 +02:00
valign = 1
2022-04-19 14:24:57 +02:00
autowrap = true
clip_text = true
2022-03-30 15:05:15 +02:00
2022-04-19 14:24:57 +02:00
[node name="CallButton" type="TextureButton" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/UserToolbox/Margin/Structure"]
margin_left = 151.0
margin_right = 187.0
margin_bottom = 49.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
texture_normal = ExtResource( 6 )
texture_pressed = ExtResource( 9 )
texture_hover = ExtResource( 8 )
expand = true
stretch_mode = 5
2022-04-19 14:24:57 +02:00
[node name="CheckButton" type="CheckButton" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/UserToolbox/Margin/Structure"]
margin_left = 191.0
margin_right = 267.0
margin_bottom = 49.0
size_flags_stretch_ratio = 0.5
custom_fonts/font = SubResource( 17 )
custom_icons/off = ExtResource( 5 )
custom_icons/on = ExtResource( 11 )
align = 1
expand_icon = true
2022-03-30 15:05:15 +02:00
[node name="ChatPanel" type="PanelContainer" parent="Panel/Margin/Structure/Body"]
2022-04-19 14:24:57 +02:00
margin_left = 308.0
margin_right = 1326.0
margin_bottom = 621.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 6.0
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/Margin/Structure/Body/ChatPanel"]
2022-04-19 14:24:57 +02:00
margin_right = 1018.0
margin_bottom = 621.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="MarginContainer" type="MarginContainer" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer"]
2022-04-19 14:24:57 +02:00
margin_right = 1018.0
margin_bottom = 548.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 8.0
2022-04-19 14:24:57 +02:00
custom_constants/margin_right = 20
custom_constants/margin_top = 10
custom_constants/margin_left = 10
custom_constants/margin_bottom = 10
2022-03-30 15:05:15 +02:00
[node name="ScrollContainer" type="ScrollContainer" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/MarginContainer"]
2022-04-19 14:24:57 +02:00
margin_left = 10.0
margin_top = 10.0
margin_right = 998.0
margin_bottom = 538.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
scroll_horizontal_enabled = false
2022-04-19 14:24:57 +02:00
[node name="messageContainer" type="VBoxContainer" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/MarginContainer/ScrollContainer"]
margin_right = 988.0
margin_bottom = 528.0
focus_mode = 2
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
2022-04-19 14:24:57 +02:00
custom_constants/separation = 20
2022-03-30 15:05:15 +02:00
2022-04-19 14:24:57 +02:00
[node name="PanelContainer" type="Panel" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer"]
margin_top = 552.0
margin_right = 1018.0
margin_bottom = 621.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
2022-04-19 14:24:57 +02:00
custom_styles/panel = SubResource( 18 )
2022-03-30 15:05:15 +02:00
2022-04-19 14:24:57 +02:00
[node name="HBoxContainer" type="HBoxContainer" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/PanelContainer"]
margin_right = 1018.0
margin_bottom = 69.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
2022-04-19 14:24:57 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
2022-03-30 15:05:15 +02:00
2022-04-19 14:24:57 +02:00
[node name="InputContainer" type="PanelContainer" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/PanelContainer/HBoxContainer"]
margin_right = 921.0
margin_bottom = 69.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
2022-04-19 14:24:57 +02:00
size_flags_stretch_ratio = 10.0
custom_styles/panel = SubResource( 19 )
2022-03-30 15:05:15 +02:00
2022-04-19 14:24:57 +02:00
[node name="MarginContainer" type="MarginContainer" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/PanelContainer/HBoxContainer/InputContainer"]
margin_right = 921.0
margin_bottom = 69.0
custom_constants/margin_right = 10
custom_constants/margin_top = 10
custom_constants/margin_left = 10
custom_constants/margin_bottom = 10
2022-03-30 15:05:15 +02:00
2022-04-19 14:24:57 +02:00
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/PanelContainer/HBoxContainer/InputContainer/MarginContainer"]
margin_left = 10.0
margin_top = 10.0
margin_right = 911.0
margin_bottom = 59.0
2022-03-30 15:05:15 +02:00
2022-04-19 14:24:57 +02:00
[node name="HBoxContainer" type="HBoxContainer" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/PanelContainer/HBoxContainer/InputContainer/MarginContainer/VBoxContainer"]
margin_right = 901.0
margin_bottom = 49.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
2022-04-19 14:24:57 +02:00
[node name="UploadButton" type="TextureButton" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/PanelContainer/HBoxContainer/InputContainer/MarginContainer/VBoxContainer/HBoxContainer"]
margin_right = 50.0
margin_bottom = 49.0
rect_min_size = Vector2( 50, 0 )
texture_normal = ExtResource( 12 )
expand = true
stretch_mode = 5
2022-03-30 15:05:15 +02:00
2022-04-19 14:24:57 +02:00
[node name="MarginContainer" type="MarginContainer" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/PanelContainer/HBoxContainer/InputContainer/MarginContainer/VBoxContainer/HBoxContainer"]
margin_left = 54.0
margin_right = 901.0
margin_bottom = 49.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
2022-04-19 14:24:57 +02:00
custom_constants/margin_top = 13
2022-03-30 15:05:15 +02:00
custom_constants/margin_left = 10
custom_constants/margin_bottom = 10
2022-04-19 14:24:57 +02:00
[node name="TextEdit" type="TextEdit" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/PanelContainer/HBoxContainer/InputContainer/MarginContainer/VBoxContainer/HBoxContainer/MarginContainer"]
2022-03-30 15:05:15 +02:00
margin_left = 10.0
2022-04-19 14:24:57 +02:00
margin_top = 13.0
margin_right = 847.0
margin_bottom = 39.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_colors/font_color = Color( 0.72549, 0.733333, 0.745098, 1 )
2022-03-30 15:05:15 +02:00
text = "Message"
2022-04-19 14:24:57 +02:00
[node name="TimerConainer" type="PanelContainer" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/PanelContainer/HBoxContainer"]
margin_left = 925.0
margin_right = 1018.0
margin_bottom = 69.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
2022-04-19 14:24:57 +02:00
custom_styles/panel = SubResource( 20 )
2022-03-30 15:05:15 +02:00
2022-04-19 14:24:57 +02:00
[node name="Label" type="Label" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/PanelContainer/HBoxContainer/TimerConainer"]
2022-03-30 15:05:15 +02:00
margin_right = 93.0
2022-04-19 14:24:57 +02:00
margin_bottom = 69.0
2022-03-30 15:05:15 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
text = "00:00:00"
align = 1
valign = 1
2022-04-19 14:24:57 +02:00
[connection signal="toggled" from="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/UserToolbox/Margin/Structure/CheckButton" to="." method="_on_CheckButton_toggled"]
[connection signal="pressed" from="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/PanelContainer/HBoxContainer/InputContainer/MarginContainer/VBoxContainer/HBoxContainer/UploadButton" to="." method="_on_UploadButton_pressed"]