diary/user_interface/call_panel/call_panel.tscn
2022-06-28 21:51:50 +02:00

341 lines
10 KiB
Plaintext

[gd_scene load_steps=22 format=2]
[ext_resource path="res://user_interface/call_panel/call_panel.gd" type="Script" id=1]
[ext_resource path="res://user_interface/call_panel/call_background.png" type="Texture" id=2]
[ext_resource path="res://user_interface/call_panel/icons/button_slot_01.png" type="Texture" id=3]
[ext_resource path="res://user_interface/call_panel/interface.gd" type="Script" id=4]
[ext_resource path="res://user_interface/call_panel/mute_button.gd" type="Script" id=5]
[ext_resource path="res://user_interface/call_panel/icons/mute_hover.png" type="Texture" id=6]
[ext_resource path="res://user_interface/call_panel/icons/end_call_pressed.png" type="Texture" id=7]
[ext_resource path="res://user_interface/call_panel/icons/end_call.png" type="Texture" id=8]
[ext_resource path="res://user_interface/call_panel/icons/mute_pressed.png" type="Texture" id=9]
[ext_resource path="res://user_interface/call_panel/icons/end_call_hover.png" type="Texture" id=10]
[ext_resource path="res://user_interface/fonts/username_font.tres" type="DynamicFont" id=11]
[ext_resource path="res://user_interface/call_panel/call_member.tscn" type="PackedScene" id=12]
[ext_resource path="res://user_interface/call_panel/icons/mute.png" type="Texture" id=13]
[ext_resource path="res://user_interface/call_panel/end_call_button.gd" type="Script" id=14]
[ext_resource path="res://user_interface/call_panel/icons/bad_connection_dummy.png" type="Texture" id=15]
[ext_resource path="res://user_interface/call_panel/icons/settings_dummy.png" type="Texture" id=16]
[ext_resource path="res://user_interface/call_panel/icons/button_slot_00.png" type="Texture" id=17]
[sub_resource type="StyleBoxTexture" id=4]
texture = ExtResource( 2 )
region_rect = Rect2( 0, 0, 17, 300 )
margin_left = 8.0
margin_right = 8.0
margin_top = 8.0
margin_bottom = 8.0
[sub_resource type="Animation" id=1]
resource_name = "FadeIn"
length = 0.3
tracks/0/type = "value"
tracks/0/path = NodePath(".:rect_min_size")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.3 ),
"transitions": PoolRealArray( 0.4, 4.43828 ),
"update": 0,
"values": [ Vector2( 0, 0 ), Vector2( 0, 300 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("../..:visible")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("../..:rect_min_size")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0, 0.3 ),
"transitions": PoolRealArray( 0.4, 1 ),
"update": 0,
"values": [ Vector2( 0, 0 ), Vector2( 0, 300 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath(".:visible")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}
[sub_resource type="Animation" id=2]
resource_name = "FadeOut"
length = 0.3
tracks/0/type = "value"
tracks/0/path = NodePath(".:rect_min_size")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.3 ),
"transitions": PoolRealArray( 0.4, 1 ),
"update": 0,
"values": [ Vector2( 0, 300 ), Vector2( 0, 0 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("../..:visible")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0.3 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ false ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("../..:rect_min_size")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0, 0.3 ),
"transitions": PoolRealArray( 0.4, 1 ),
"update": 0,
"values": [ Vector2( 0, 300 ), Vector2( 0, 0 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath(".:visible")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0.3 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ false ]
}
[sub_resource type="Animation" id=3]
length = 0.001
tracks/0/type = "value"
tracks/0/path = NodePath(".:rect_min_size")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector2( 0, 0 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("../..:visible")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ false ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("../..:rect_min_size")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector2( 0, 0 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath(".:visible")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ false ]
}
[node name="CallPanel" type="ViewportContainer"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 1
stretch = true
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Viewport" type="Viewport" parent="."]
size = Vector2( 1024, 576 )
transparent_bg = true
handle_input_locally = false
render_target_update_mode = 0
[node name="Interface" type="PanelContainer" parent="Viewport"]
visible = false
anchor_right = 1.0
custom_styles/panel = SubResource( 4 )
script = ExtResource( 4 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="Viewport/Interface"]
margin_left = 8.0
margin_top = 8.0
margin_right = 1016.0
margin_bottom = 264.0
size_flags_vertical = 3
custom_constants/separation = 12
[node name="LabelMembers" type="Label" parent="Viewport/Interface/VBoxContainer"]
margin_right = 1008.0
margin_bottom = 12.0
custom_fonts/font = ExtResource( 11 )
[node name="CenterContainer" type="CenterContainer" parent="Viewport/Interface/VBoxContainer"]
margin_top = 24.0
margin_right = 1008.0
margin_bottom = 180.0
size_flags_vertical = 3
[node name="HBoxContainer" type="HBoxContainer" parent="Viewport/Interface/VBoxContainer/CenterContainer"]
margin_left = 316.0
margin_right = 692.0
margin_bottom = 156.0
custom_constants/separation = 64
alignment = 1
[node name="LeftMember" parent="Viewport/Interface/VBoxContainer/CenterContainer/HBoxContainer" instance=ExtResource( 12 )]
margin_left = 0.0
margin_right = 156.0
[node name="RightMember" parent="Viewport/Interface/VBoxContainer/CenterContainer/HBoxContainer" instance=ExtResource( 12 )]
[node name="HBoxContainer" type="HBoxContainer" parent="Viewport/Interface/VBoxContainer"]
margin_top = 192.0
margin_right = 1008.0
margin_bottom = 240.0
custom_constants/separation = 48
alignment = 1
[node name="ButtonSlot00" type="TextureRect" parent="Viewport/Interface/VBoxContainer/HBoxContainer"]
margin_left = 308.0
margin_top = 20.0
margin_right = 316.0
margin_bottom = 28.0
size_flags_vertical = 4
texture = ExtResource( 3 )
[node name="ButtonSlot01" type="TextureRect" parent="Viewport/Interface/VBoxContainer/HBoxContainer"]
margin_left = 364.0
margin_top = 14.0
margin_right = 384.0
margin_bottom = 34.0
size_flags_vertical = 4
texture = ExtResource( 17 )
[node name="EndCallButton" type="TextureButton" parent="Viewport/Interface/VBoxContainer/HBoxContainer"]
margin_left = 432.0
margin_right = 480.0
margin_bottom = 48.0
texture_normal = ExtResource( 8 )
texture_pressed = ExtResource( 7 )
texture_hover = ExtResource( 10 )
script = ExtResource( 14 )
[node name="MuteButton" type="TextureButton" parent="Viewport/Interface/VBoxContainer/HBoxContainer"]
margin_left = 528.0
margin_right = 576.0
margin_bottom = 48.0
texture_normal = ExtResource( 13 )
texture_pressed = ExtResource( 9 )
texture_hover = ExtResource( 6 )
script = ExtResource( 5 )
[node name="ButtonSlot02" type="TextureRect" parent="Viewport/Interface/VBoxContainer/HBoxContainer"]
margin_left = 624.0
margin_top = 14.0
margin_right = 644.0
margin_bottom = 34.0
size_flags_vertical = 4
texture = ExtResource( 17 )
[node name="ButtonSlot03" type="TextureRect" parent="Viewport/Interface/VBoxContainer/HBoxContainer"]
margin_left = 692.0
margin_top = 20.0
margin_right = 700.0
margin_bottom = 28.0
size_flags_vertical = 4
texture = ExtResource( 3 )
[node name="Filler" type="Control" parent="Viewport/Interface/VBoxContainer"]
margin_top = 252.0
margin_right = 1008.0
margin_bottom = 256.0
rect_min_size = Vector2( 0, 4 )
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="Viewport/Interface"]
[node name="Dummies" type="Control" parent="Viewport/Interface"]
margin_left = 8.0
margin_top = 8.0
margin_right = 1016.0
margin_bottom = 264.0
mouse_filter = 2
[node name="ConnectionDummy" type="TextureRect" parent="Viewport/Interface/Dummies"]
anchor_top = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = -20.0
margin_right = 20.0
margin_bottom = -4.0
texture = ExtResource( 15 )
[node name="SettingsDummy" type="TextureRect" parent="Viewport/Interface/Dummies"]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -20.0
margin_top = 4.0
margin_right = -4.0
margin_bottom = 20.0
texture = ExtResource( 16 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
root_node = NodePath("../Viewport/Interface")
anims/FadeIn = SubResource( 1 )
anims/FadeOut = SubResource( 2 )
anims/RESET = SubResource( 3 )
[connection signal="resized" from="." to="." method="_on_resized"]
[connection signal="pressed" from="Viewport/Interface/VBoxContainer/HBoxContainer/EndCallButton" to="Viewport/Interface/VBoxContainer/HBoxContainer/EndCallButton" method="_on_pressed"]
[connection signal="pressed" from="Viewport/Interface/VBoxContainer/HBoxContainer/MuteButton" to="Viewport/Interface/VBoxContainer/HBoxContainer/MuteButton" method="_on_pressed"]