153 lines
5.2 KiB
Plaintext
153 lines
5.2 KiB
Plaintext
[gd_scene load_steps=21 format=2]
|
|
|
|
[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]
|
|
[ext_resource path="res://user_interface/tool_bar/icons/start_call_hover.png" type="Texture" id=4]
|
|
[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]
|
|
[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]
|
|
|
|
[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
|
|
margin_bottom = 466.0
|
|
rect_min_size = Vector2( 0, 52 )
|
|
theme = ExtResource( 1 )
|
|
script = ExtResource( 6 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Margin" type="MarginContainer" parent="."]
|
|
margin_right = 328.0
|
|
margin_bottom = 62.0
|
|
custom_constants/margin_right = 18
|
|
|
|
[node name="Structure" type="HBoxContainer" parent="Margin"]
|
|
margin_left = 8.0
|
|
margin_top = 8.0
|
|
margin_right = 310.0
|
|
margin_bottom = 54.0
|
|
custom_constants/separation = 12
|
|
|
|
[node name="Profile" type="HBoxContainer" parent="Margin/Structure"]
|
|
margin_right = 170.0
|
|
margin_bottom = 46.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
custom_constants/separation = 10
|
|
|
|
[node name="ProfileImageRect" parent="Margin/Structure/Profile" instance=ExtResource( 3 )]
|
|
material = SubResource( 2 )
|
|
margin_right = 46.0
|
|
margin_bottom = 46.0
|
|
rect_min_size = Vector2( 46, 46 )
|
|
|
|
[node name="UserTexts" type="VBoxContainer" parent="Margin/Structure/Profile"]
|
|
margin_left = 56.0
|
|
margin_top = 5.0
|
|
margin_right = 170.0
|
|
margin_bottom = 41.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 4
|
|
custom_constants/separation = 6
|
|
alignment = 1
|
|
|
|
[node name="Username" type="Label" parent="Margin/Structure/Profile/UserTexts"]
|
|
margin_right = 114.0
|
|
margin_bottom = 15.0
|
|
rect_min_size = Vector2( 0, 15 )
|
|
custom_fonts/font = SubResource( 3 )
|
|
text = "[User]"
|
|
valign = 1
|
|
autowrap = true
|
|
clip_text = true
|
|
|
|
[node name="AggressionTimer" type="Label" parent="Margin/Structure/Profile/UserTexts"]
|
|
margin_top = 21.0
|
|
margin_right = 114.0
|
|
margin_bottom = 36.0
|
|
text = "#7785"
|
|
|
|
[node name="CallButton" type="TextureButton" parent="Margin/Structure"]
|
|
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
|
|
texture_normal = ExtResource( 7 )
|
|
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 )
|
|
|
|
[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"]
|