diary/main.tscn
2022-04-19 08:24:57 -04:00

385 lines
13 KiB
Plaintext

[gd_scene load_steps=21 format=2]
[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]
[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]
[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]
[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]
[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 )
[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"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 1 )
script = ExtResource( 10 )
__meta__ = {
"_edit_use_anchors_": false
}
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")
[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
margin_right = 1346.0
margin_bottom = 738.0
custom_constants/separation = 20
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Header" type="PanelContainer" parent="Panel/Margin/Structure"]
margin_right = 1326.0
margin_bottom = 77.0
size_flags_horizontal = 3
size_flags_vertical = 3
[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
[node name="Body" type="HBoxContainer" parent="Panel/Margin/Structure"]
margin_top = 97.0
margin_right = 1326.0
margin_bottom = 718.0
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"]
margin_right = 288.0
margin_bottom = 621.0
rect_min_size = Vector2( 279, 0 )
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 1.7
custom_styles/panel = SubResource( 16 )
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/Margin/Structure/Body/SidePanel"]
margin_right = 288.0
margin_bottom = 621.0
[node name="Margin" type="MarginContainer" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer"]
margin_right = 288.0
margin_bottom = 548.0
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"]
margin_right = 288.0
margin_bottom = 548.0
[node name="Panel" type="Panel" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/Margin/Structure"]
margin_right = 288.0
margin_bottom = 77.0
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"]
margin_top = 81.0
margin_right = 288.0
margin_bottom = 548.0
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"]
margin_right = 288.0
margin_bottom = 231.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Tree2" type="Tree" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/Margin/Structure/VBoxContainer"]
margin_top = 235.0
margin_right = 288.0
margin_bottom = 467.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="UserToolbox" type="PanelContainer" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer"]
margin_top = 552.0
margin_right = 288.0
margin_bottom = 621.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Margin" type="MarginContainer" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/UserToolbox"]
margin_right = 288.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
[node name="Structure" type="HBoxContainer" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/UserToolbox/Margin"]
margin_left = 10.0
margin_top = 10.0
margin_right = 278.0
margin_bottom = 59.0
[node name="Profile" type="HBoxContainer" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/UserToolbox/Margin/Structure"]
margin_right = 147.0
margin_bottom = 49.0
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 4.0
custom_constants/separation = 10
[node name="UserProfile" type="TextureRect" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/UserToolbox/Margin/Structure/Profile"]
margin_right = 58.0
margin_bottom = 49.0
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 1.5
texture = ExtResource( 3 )
expand = true
stretch_mode = 6
[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
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 2.0
alignment = 1
[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
size_flags_horizontal = 3
size_flags_vertical = 3
custom_fonts/font = SubResource( 14 )
text = "asdasd"
valign = 1
autowrap = true
clip_text = true
[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
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
[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
[node name="ChatPanel" type="PanelContainer" parent="Panel/Margin/Structure/Body"]
margin_left = 308.0
margin_right = 1326.0
margin_bottom = 621.0
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"]
margin_right = 1018.0
margin_bottom = 621.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="MarginContainer" type="MarginContainer" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer"]
margin_right = 1018.0
margin_bottom = 548.0
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 8.0
custom_constants/margin_right = 20
custom_constants/margin_top = 10
custom_constants/margin_left = 10
custom_constants/margin_bottom = 10
[node name="ScrollContainer" type="ScrollContainer" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/MarginContainer"]
margin_left = 10.0
margin_top = 10.0
margin_right = 998.0
margin_bottom = 538.0
size_flags_horizontal = 3
size_flags_vertical = 3
scroll_horizontal_enabled = false
[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
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/separation = 20
[node name="PanelContainer" type="Panel" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer"]
margin_top = 552.0
margin_right = 1018.0
margin_bottom = 621.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/panel = SubResource( 18 )
[node name="HBoxContainer" type="HBoxContainer" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/PanelContainer"]
margin_right = 1018.0
margin_bottom = 69.0
size_flags_horizontal = 3
size_flags_vertical = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="InputContainer" type="PanelContainer" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/PanelContainer/HBoxContainer"]
margin_right = 921.0
margin_bottom = 69.0
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 10.0
custom_styles/panel = SubResource( 19 )
[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
[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
[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
size_flags_horizontal = 3
size_flags_vertical = 3
[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
[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
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/margin_top = 13
custom_constants/margin_left = 10
custom_constants/margin_bottom = 10
[node name="TextEdit" type="TextEdit" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/PanelContainer/HBoxContainer/InputContainer/MarginContainer/VBoxContainer/HBoxContainer/MarginContainer"]
margin_left = 10.0
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 )
text = "Message"
[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
size_flags_horizontal = 3
size_flags_vertical = 3
custom_styles/panel = SubResource( 20 )
[node name="Label" type="Label" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/PanelContainer/HBoxContainer/TimerConainer"]
margin_right = 93.0
margin_bottom = 69.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "00:00:00"
align = 1
valign = 1
[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"]