2022-06-04 13:33:00 +02:00
[gd_scene load_steps=22 format=2]
2022-05-14 20:51:48 +02:00
[ext_resource path="res://user_interface/main.theme" type="Theme" id=1]
[ext_resource path="res://user_interface/utility_controls/profile_image_rect_mask.png" type="Texture" id=2]
[ext_resource path="res://user_interface/utility_controls/profile_image_rect.tscn" type="PackedScene" id=3]
2022-05-24 21:31:30 +02:00
[ext_resource path="res://user_interface/tool_bar/icons/start_call_hover.png" type="Texture" id=4]
2022-05-14 20:51:48 +02:00
[ext_resource path="res://user_interface/fonts/Helvetica/Helvetica-Bold.ttf" type="DynamicFontData" id=5]
[ext_resource path="res://user_interface/tool_bar/tool_bar.gd" type="Script" id=6]
2022-05-24 21:31:30 +02:00
[ext_resource path="res://user_interface/tool_bar/icons/start_call.png" type="Texture" id=7]
[ext_resource path="res://user_interface/tool_bar/icons/settings.png" type="Texture" id=8]
[ext_resource path="res://user_interface/tool_bar/icons/mute_hover.png" type="Texture" id=9]
[ext_resource path="res://user_interface/tool_bar/icons/mute.png" type="Texture" id=10]
[ext_resource path="res://user_interface/tool_bar/mute_button.gd" type="Script" id=11]
[ext_resource path="res://user_interface/tool_bar/icons/unmute_dash.png" type="Texture" id=12]
[ext_resource path="res://user_interface/tool_bar/call_button.gd" type="Script" id=13]
[ext_resource path="res://user_interface/tool_bar/icons/settings_hover.png" type="Texture" id=14]
[ext_resource path="res://user_interface/tool_bar/icons/settings_pressed.png" type="Texture" id=15]
[ext_resource path="res://user_interface/tool_bar/icons/start_call_pressed.png" type="Texture" id=16]
[ext_resource path="res://user_interface/tool_bar/icons/mute_pressed.png" type="Texture" id=17]
2022-06-04 13:33:00 +02:00
[ext_resource path="res://user_interface/tool_bar/settings_button.gd" type="Script" id=18]
2022-05-14 20:51:48 +02:00
[sub_resource type="Shader" id=1]
code = "shader_type canvas_item;
render_mode blend_mix;
uniform sampler2D mask;
void fragment() {
COLOR = texture(TEXTURE, UV) * vec4(vec3(1.0), texture(mask, UV).r);
}"
[sub_resource type="ShaderMaterial" id=2]
shader = SubResource( 1 )
shader_param/mask = ExtResource( 2 )
[sub_resource type="DynamicFont" id=3]
use_mipmaps = true
use_filter = true
font_data = ExtResource( 5 )
[node name="ToolBar" type="PanelContainer"]
margin_top = 404.0
margin_right = 328.0
2022-05-24 21:31:30 +02:00
margin_bottom = 466.0
rect_min_size = Vector2( 0, 52 )
2022-05-14 20:51:48 +02:00
theme = ExtResource( 1 )
script = ExtResource( 6 )
2022-05-21 14:56:02 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
2022-05-14 20:51:48 +02:00
[node name="Margin" type="MarginContainer" parent="."]
margin_right = 328.0
2022-05-24 21:31:30 +02:00
margin_bottom = 62.0
custom_constants/margin_right = 18
2022-05-14 20:51:48 +02:00
[node name="Structure" type="HBoxContainer" parent="Margin"]
2022-05-24 21:31:30 +02:00
margin_left = 8.0
margin_top = 8.0
margin_right = 310.0
margin_bottom = 54.0
custom_constants/separation = 12
2022-05-14 20:51:48 +02:00
[node name="Profile" type="HBoxContainer" parent="Margin/Structure"]
2022-05-24 21:31:30 +02:00
margin_right = 170.0
margin_bottom = 46.0
2022-05-14 20:51:48 +02:00
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/separation = 10
2022-05-21 14:56:02 +02:00
[node name="ProfileImageRect" parent="Margin/Structure/Profile" instance=ExtResource( 3 )]
2022-05-14 20:51:48 +02:00
material = SubResource( 2 )
2022-05-24 21:31:30 +02:00
margin_right = 46.0
margin_bottom = 46.0
rect_min_size = Vector2( 46, 46 )
2022-05-14 20:51:48 +02:00
[node name="UserTexts" type="VBoxContainer" parent="Margin/Structure/Profile"]
2022-05-24 21:31:30 +02:00
margin_left = 56.0
margin_top = 5.0
margin_right = 170.0
margin_bottom = 41.0
2022-05-14 20:51:48 +02:00
size_flags_horizontal = 3
2022-05-24 21:31:30 +02:00
size_flags_vertical = 4
custom_constants/separation = 6
alignment = 1
2022-05-14 20:51:48 +02:00
[node name="Username" type="Label" parent="Margin/Structure/Profile/UserTexts"]
margin_right = 114.0
2022-05-24 21:31:30 +02:00
margin_bottom = 15.0
rect_min_size = Vector2( 0, 15 )
2022-05-14 20:51:48 +02:00
custom_fonts/font = SubResource( 3 )
text = "[User]"
valign = 1
autowrap = true
clip_text = true
2022-05-24 21:31:30 +02:00
[node name="AggressionTimer" type="Label" parent="Margin/Structure/Profile/UserTexts"]
margin_top = 21.0
margin_right = 114.0
margin_bottom = 36.0
text = "#7785"
2022-05-14 20:51:48 +02:00
[node name="CallButton" type="TextureButton" parent="Margin/Structure"]
2022-05-24 21:31:30 +02:00
self_modulate = Color( 1, 1, 1, 0.658824 )
margin_left = 182.0
margin_top = 7.0
margin_right = 214.0
margin_bottom = 39.0
size_flags_vertical = 4
toggle_mode = true
2022-05-14 20:51:48 +02:00
texture_normal = ExtResource( 7 )
2022-05-24 21:31:30 +02:00
texture_pressed = ExtResource( 16 )
texture_hover = ExtResource( 4 )
script = ExtResource( 13 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MuteButton" type="TextureButton" parent="Margin/Structure"]
self_modulate = Color( 1, 1, 1, 0.658824 )
margin_left = 226.0
margin_top = 7.0
margin_right = 258.0
margin_bottom = 39.0
size_flags_vertical = 4
texture_normal = ExtResource( 10 )
texture_pressed = ExtResource( 17 )
texture_hover = ExtResource( 9 )
script = ExtResource( 11 )
[node name="MuteDash" type="TextureRect" parent="Margin/Structure/MuteButton"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
texture = ExtResource( 12 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="SettingsButton" type="TextureButton" parent="Margin/Structure"]
self_modulate = Color( 1, 1, 1, 0.658824 )
margin_left = 270.0
margin_top = 7.0
margin_right = 302.0
margin_bottom = 39.0
size_flags_vertical = 4
texture_normal = ExtResource( 8 )
texture_pressed = ExtResource( 15 )
texture_hover = ExtResource( 14 )
2022-06-04 13:33:00 +02:00
script = ExtResource( 18 )
2022-05-24 21:31:30 +02:00
[connection signal="toggled" from="Margin/Structure/CallButton" to="Margin/Structure/CallButton" method="_on_toggled"]
[connection signal="pressed" from="Margin/Structure/MuteButton" to="Margin/Structure/MuteButton" method="_on_pressed"]
[connection signal="toggled" from="Margin/Structure/MuteButton" to="Margin/Structure/MuteButton" method="_on_toggled"]
2022-06-04 13:33:00 +02:00
[connection signal="pressed" from="Margin/Structure/SettingsButton" to="Margin/Structure/SettingsButton" method="_on_pressed"]