diary/main.tscn
2022-03-30 09:05:15 -04:00

369 lines
12 KiB
Plaintext

[gd_scene load_steps=14 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/ui/sendedMessage.tscn" type="PackedScene" id=4]
[ext_resource path="res://assets/ui/receivedMessage.tscn" type="PackedScene" 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]
[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]
size = 24
use_mipmaps = true
use_filter = true
font_data = ExtResource( 2 )
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[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 = 1157.0
margin_bottom = 789.0
custom_constants/separation = 20
[node name="Header" type="PanelContainer" parent="Panel/Margin/Structure"]
margin_right = 1137.0
margin_bottom = 83.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Body" type="HBoxContainer" parent="Panel/Margin/Structure"]
margin_top = 103.0
margin_right = 1137.0
margin_bottom = 769.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 = 279.0
margin_bottom = 666.0
rect_min_size = Vector2( 279, 0 )
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 2.0
custom_styles/panel = SubResource( 16 )
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/Margin/Structure/Body/SidePanel"]
margin_right = 279.0
margin_bottom = 666.0
[node name="Margin" type="MarginContainer" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer"]
margin_right = 279.0
margin_bottom = 588.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 = 279.0
margin_bottom = 588.0
[node name="Panel" type="Panel" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/Margin/Structure"]
margin_right = 279.0
margin_bottom = 83.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 = 87.0
margin_right = 279.0
margin_bottom = 588.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 = 279.0
margin_bottom = 248.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 = 252.0
margin_right = 279.0
margin_bottom = 501.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="UserToolbox" type="PanelContainer" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer"]
margin_top = 592.0
margin_right = 279.0
margin_bottom = 666.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Margin" type="MarginContainer" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/UserToolbox"]
margin_right = 279.0
margin_bottom = 74.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 = 269.0
margin_bottom = 64.0
[node name="HBoxContainer" type="HBoxContainer" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/UserToolbox/Margin/Structure"]
margin_right = 170.0
margin_bottom = 54.0
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 2.0
custom_constants/separation = 10
[node name="TextureRect" type="TextureRect" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/UserToolbox/Margin/Structure/HBoxContainer"]
margin_right = 53.0
margin_bottom = 54.0
size_flags_horizontal = 3
size_flags_vertical = 3
texture = ExtResource( 3 )
expand = true
stretch_mode = 6
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/UserToolbox/Margin/Structure/HBoxContainer"]
margin_left = 63.0
margin_right = 170.0
margin_bottom = 54.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/HBoxContainer/VBoxContainer"]
margin_right = 107.0
margin_bottom = 25.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_fonts/font = SubResource( 14 )
text = "Axsajim"
valign = 1
[node name="Label2" type="Label" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/UserToolbox/Margin/Structure/HBoxContainer/VBoxContainer"]
margin_top = 29.0
margin_right = 107.0
margin_bottom = 54.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "WORKMODE"
valign = 1
[node name="Panel" type="TextureButton" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/UserToolbox/Margin/Structure"]
margin_left = 174.0
margin_right = 259.0
margin_bottom = 54.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="ChatPanel" type="PanelContainer" parent="Panel/Margin/Structure/Body"]
margin_left = 299.0
margin_right = 1137.0
margin_bottom = 666.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 = 838.0
margin_bottom = 666.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="MarginContainer" type="MarginContainer" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer"]
margin_right = 838.0
margin_bottom = 588.0
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 8.0
custom_constants/margin_right = 70
custom_constants/margin_top = 20
custom_constants/margin_left = 35
custom_constants/margin_bottom = 35
[node name="ScrollContainer" type="ScrollContainer" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/MarginContainer"]
margin_left = 35.0
margin_top = 20.0
margin_right = 768.0
margin_bottom = 553.0
size_flags_horizontal = 3
size_flags_vertical = 3
scroll_horizontal_enabled = false
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/MarginContainer/ScrollContainer"]
margin_right = 721.0
margin_bottom = 617.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="receivedMessage" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 5 )]
margin_right = 721.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="sendedMessage" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 4 )]
anchor_left = 0.0
anchor_right = 0.0
margin_left = 0.0
margin_top = 69.0
margin_right = 721.0
margin_bottom = 134.0
rect_scale = Vector2( 1, 1 )
size_flags_horizontal = 3
[node name="sendedMessage2" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 4 )]
anchor_left = 0.0
anchor_right = 0.0
margin_left = 0.0
margin_top = 138.0
margin_right = 721.0
margin_bottom = 203.0
rect_scale = Vector2( 1, 1 )
size_flags_horizontal = 3
[node name="sendedMessage4" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 4 )]
anchor_left = 0.0
anchor_right = 0.0
margin_left = 0.0
margin_top = 207.0
margin_right = 721.0
margin_bottom = 272.0
rect_scale = Vector2( 1, 1 )
size_flags_horizontal = 3
[node name="receivedMessage2" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 5 )]
margin_top = 276.0
margin_right = 721.0
margin_bottom = 341.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="receivedMessage3" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 5 )]
margin_top = 345.0
margin_right = 721.0
margin_bottom = 410.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="receivedMessage5" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 5 )]
margin_top = 414.0
margin_right = 721.0
margin_bottom = 479.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="sendedMessage3" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 4 )]
anchor_left = 0.0
anchor_right = 0.0
margin_left = 0.0
margin_top = 483.0
margin_right = 721.0
margin_bottom = 548.0
rect_scale = Vector2( 1, 1 )
size_flags_horizontal = 3
[node name="receivedMessage4" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 5 )]
margin_top = 552.0
margin_right = 721.0
margin_bottom = 617.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="HBoxContainer" type="HBoxContainer" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer"]
margin_top = 592.0
margin_right = 838.0
margin_bottom = 666.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="InputContainer" type="PanelContainer" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/HBoxContainer"]
margin_right = 741.0
margin_bottom = 74.0
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 8.0
[node name="MarginContainer" type="MarginContainer" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/HBoxContainer/InputContainer"]
margin_right = 741.0
margin_bottom = 74.0
custom_constants/margin_right = 10
custom_constants/margin_top = 10
custom_constants/margin_left = 10
custom_constants/margin_bottom = 10
[node name="TextEdit" type="TextEdit" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/HBoxContainer/InputContainer/MarginContainer"]
margin_left = 10.0
margin_top = 10.0
margin_right = 731.0
margin_bottom = 64.0
text = "Message"
[node name="TimerConainer" type="PanelContainer" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/HBoxContainer"]
margin_left = 745.0
margin_right = 838.0
margin_bottom = 74.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Label" type="Label" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer/HBoxContainer/TimerConainer"]
margin_right = 93.0
margin_bottom = 74.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "00:00:00"
align = 1
valign = 1