Some tweaks to the Tool Bar.
@ -0,0 +1,3 @@
|
||||
source_md5="e4ac4a51f4801c8bb5e17a43bdfbcdf3"
|
||||
dest_md5="51c5a2ab4f8a16d4902035dfb7992e65"
|
||||
|
@ -0,0 +1,3 @@
|
||||
source_md5="d8a83649b7307f1d65614341804c6639"
|
||||
dest_md5="e3be699fcd567bb29b4ccd3ea90b1c5e"
|
||||
|
BIN
.import/end_call.png-e1d253d2d75a22b4be3952b176e1c010.stex
Normal file
@ -0,0 +1,3 @@
|
||||
source_md5="730a72a4d323cdb0c5a3d0bf491059ea"
|
||||
dest_md5="466dedecfcfe1186a9880a3e64f35b35"
|
||||
|
BIN
.import/end_call_hover.png-0faa542b4752be4ceabdd535c2a732fb.stex
Normal file
@ -0,0 +1,3 @@
|
||||
source_md5="050a79beeb77385bc344a922967e2a36"
|
||||
dest_md5="cac805e8edfffc857dc9e3ff17d12927"
|
||||
|
@ -0,0 +1,3 @@
|
||||
source_md5="845db8c90c55911468d6814175861e7f"
|
||||
dest_md5="52bb739bf758b451a19e47a40cdf7e8a"
|
||||
|
3
.import/mute.png-9ee895fd41a4d1966216cd7ff04a898d.md5
Normal file
@ -0,0 +1,3 @@
|
||||
source_md5="16c853c0d1d07b03d04721555b6a7c84"
|
||||
dest_md5="b48151c307db378b00fabf65a278c133"
|
||||
|
BIN
.import/mute.png-9ee895fd41a4d1966216cd7ff04a898d.stex
Normal file
@ -0,0 +1,3 @@
|
||||
source_md5="0d98e9a201af376d56e7051b07592e1c"
|
||||
dest_md5="568e5b83ff7d8ed1f09234706cf47a02"
|
||||
|
BIN
.import/mute_hover.png-4902936d736231ffae268a96e047fcec.stex
Normal file
@ -0,0 +1,3 @@
|
||||
source_md5="8714e2b08b93bc7d2013d90c42e09a6d"
|
||||
dest_md5="86db4d25fd66255dd50015d67a57a7ec"
|
||||
|
BIN
.import/mute_pressed.png-51f15a812649ba925bba069b925c9aa1.stex
Normal file
@ -0,0 +1,3 @@
|
||||
source_md5="40aa972eac39e7be43c14961e86b28c2"
|
||||
dest_md5="4d3db932631000aec846a1481ad99b58"
|
||||
|
BIN
.import/settings.png-fc5b96bf9563a6b53dbb4ede4b0f02c6.stex
Normal file
@ -0,0 +1,3 @@
|
||||
source_md5="0f5b9d1f9348b8b9f87d5b36c224804c"
|
||||
dest_md5="c9a2463f348541a2c106980ecd68f406"
|
||||
|
BIN
.import/settings_hover.png-90f1bd7c54f954fb0dc412ad0e811210.stex
Normal file
@ -0,0 +1,3 @@
|
||||
source_md5="9865e57df5b3fe6e1bacd3be734cfcf5"
|
||||
dest_md5="858ece5b5fcdc40e1fa55c67619ae881"
|
||||
|
@ -0,0 +1,3 @@
|
||||
source_md5="0cc56f200661f90004e377ad31734780"
|
||||
dest_md5="93ba24e85229fb510400eb30ffa5d83f"
|
||||
|
BIN
.import/start_call.png-f24221ff3d78e833beba102b03713f40.stex
Normal file
@ -0,0 +1,3 @@
|
||||
source_md5="71d121d7ee5aae72cb16379caba54e89"
|
||||
dest_md5="08c78563e3b87c4df8ad4fd5726bf22b"
|
||||
|
@ -0,0 +1,3 @@
|
||||
source_md5="18027add6a36a0265aa7178150aae3bf"
|
||||
dest_md5="0b7f6547bd5317debdb604385129f4a6"
|
||||
|
3
.import/unmute.png-759345f4e4c6d7c434c21e9b1d13797e.md5
Normal file
@ -0,0 +1,3 @@
|
||||
source_md5="586907cac49f6a06a88bcfbaa8fda45f"
|
||||
dest_md5="2d49f84e0d54c06c5a4ad51430b7760a"
|
||||
|
BIN
.import/unmute.png-759345f4e4c6d7c434c21e9b1d13797e.stex
Normal file
@ -0,0 +1,3 @@
|
||||
source_md5="b2ebf342c83c912005bdcacbd46a14a9"
|
||||
dest_md5="7180968923cfd188d2ca1425ab44b19a"
|
||||
|
BIN
.import/unmute_dash.png-13b926ba76cce7280f64d5b892633056.stex
Normal file
@ -0,0 +1,3 @@
|
||||
source_md5="998632932289121e964fc66aa62d59ce"
|
||||
dest_md5="d09f23e7a361b4b1feb4c9424ff92551"
|
||||
|
BIN
.import/unmute_hover.png-35ec3e9937c64078e458985824e6cf28.stex
Normal file
@ -0,0 +1,3 @@
|
||||
source_md5="fbeca0d06e8dced156d8d58fa179a17a"
|
||||
dest_md5="2d38b249161f8a6b54120967155bbcf1"
|
||||
|
BIN
.import/unmute_pressed.png-c90e34ec229f1c0292069ba940cda0ff.stex
Normal file
384
main.tscn
@ -1,384 +0,0 @@
|
||||
[gd_scene load_steps=21 format=2]
|
||||
|
||||
[ext_resource path="res://assets/ui/mainTheme.tres" type="Theme" id=1]
|
||||
[ext_resource path="res://user_interface/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://user_interface/fonts/Helvetica/Helvetica-Oblique.ttf" type="DynamicFontData" id=4]
|
||||
[ext_resource path="res://user_interface/tool_bar/icons/off.png" type="Texture" id=5]
|
||||
[ext_resource path="res://user_interface/tool_bar/icons/call0.png" type="Texture" id=6]
|
||||
[ext_resource path="res://treecontrolling.gd" type="Script" id=7]
|
||||
[ext_resource path="res://user_interface/tool_bar/icons/call01.png" type="Texture" id=8]
|
||||
[ext_resource path="res://user_interface/tool_bar/icons/call1.png" type="Texture" id=9]
|
||||
[ext_resource path="res://system_old/core.gd" type="Script" id=10]
|
||||
[ext_resource path="res://user_interface/tool_bar/icons/on.png" type="Texture" id=11]
|
||||
[ext_resource path="res://user_interface/tool_bar/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 = 1004.0
|
||||
margin_bottom = 546.0
|
||||
custom_constants/separation = 20
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Header" type="PanelContainer" parent="Panel/Margin/Structure"]
|
||||
margin_right = 984.0
|
||||
margin_bottom = 56.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Panel/Margin/Structure/Header"]
|
||||
margin_right = 984.0
|
||||
margin_bottom = 56.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
alignment = 2
|
||||
|
||||
[node name="Body" type="HBoxContainer" parent="Panel/Margin/Structure"]
|
||||
margin_top = 76.0
|
||||
margin_right = 984.0
|
||||
margin_bottom = 526.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 = 450.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 = 279.0
|
||||
margin_bottom = 450.0
|
||||
|
||||
[node name="Margin" type="MarginContainer" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer"]
|
||||
margin_right = 279.0
|
||||
margin_bottom = 386.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 = 386.0
|
||||
|
||||
[node name="Panel" type="Panel" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/Margin/Structure"]
|
||||
margin_right = 279.0
|
||||
margin_bottom = 54.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 = 58.0
|
||||
margin_right = 279.0
|
||||
margin_bottom = 386.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 = 162.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 = 166.0
|
||||
margin_right = 279.0
|
||||
margin_bottom = 328.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="UserToolbox" type="PanelContainer" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer"]
|
||||
margin_top = 390.0
|
||||
margin_right = 279.0
|
||||
margin_bottom = 450.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 = 60.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 = 50.0
|
||||
|
||||
[node name="Profile" type="HBoxContainer" parent="Panel/Margin/Structure/Body/SidePanel/VBoxContainer/UserToolbox/Margin/Structure"]
|
||||
margin_right = 140.0
|
||||
margin_bottom = 40.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 = 55.0
|
||||
margin_bottom = 40.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 = 65.0
|
||||
margin_right = 140.0
|
||||
margin_bottom = 40.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 = 75.0
|
||||
margin_bottom = 40.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 = 144.0
|
||||
margin_right = 179.0
|
||||
margin_bottom = 40.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 = 183.0
|
||||
margin_right = 259.0
|
||||
margin_bottom = 40.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 = 299.0
|
||||
margin_right = 984.0
|
||||
margin_bottom = 450.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 = 685.0
|
||||
margin_bottom = 450.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="Panel/Margin/Structure/Body/ChatPanel/VBoxContainer"]
|
||||
margin_right = 685.0
|
||||
margin_bottom = 396.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 = 665.0
|
||||
margin_bottom = 386.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 = 655.0
|
||||
margin_bottom = 376.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 = 400.0
|
||||
margin_right = 685.0
|
||||
margin_bottom = 450.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"]
|
@ -102,6 +102,7 @@ Data="*res://system/data/data_singleton.gd"
|
||||
Users="*res://system/users/users_singleton.gd"
|
||||
Time="*res://system/time/time_singleton.gd"
|
||||
PingSystem="*res://system/ping_system/ping_system.tscn"
|
||||
Call="*res://system/call/call_singleton.gd"
|
||||
|
||||
[display]
|
||||
|
||||
|
11
system/call/call_singleton.gd
Normal file
@ -0,0 +1,11 @@
|
||||
extends Node
|
||||
|
||||
signal requested
|
||||
|
||||
var is_call_active: bool = false
|
||||
var muted: bool = false
|
||||
|
||||
|
||||
func request_call():
|
||||
#emit_signal("requested")
|
||||
pass
|
@ -9,7 +9,7 @@ func _ready():
|
||||
topics = TopicData.new()
|
||||
|
||||
var autosave_timer = Timer.new()
|
||||
autosave_timer.wait_time = 6.0 # Every ten minutes.
|
||||
autosave_timer.wait_time = 600.0 # Every ten minutes.
|
||||
autosave_timer.autostart = true
|
||||
autosave_timer.connect("timeout", self, "_save_data")
|
||||
add_child(autosave_timer)
|
||||
|
11
user_interface/call_panel/call_panel.gd
Normal file
@ -0,0 +1,11 @@
|
||||
extends PanelContainer
|
||||
|
||||
onready var animation_player = get_node("AnimationPlayer")
|
||||
|
||||
|
||||
func _ready():
|
||||
Call.connect("requested", self, "_on_call_requested")
|
||||
|
||||
|
||||
func _on_call_requested():
|
||||
animation_player.play("FadeIn")
|
@ -1,6 +1,101 @@
|
||||
[gd_scene format=2]
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://user_interface/call_panel/call_panel.gd" type="Script" id=1]
|
||||
|
||||
[sub_resource type="Animation" id=1]
|
||||
resource_name = "FadeIn"
|
||||
length = 0.2
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath(".:visible")
|
||||
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": 1,
|
||||
"values": [ true ]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/path = NodePath(".:rect_min_size")
|
||||
tracks/1/interp = 2
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/keys = {
|
||||
"times": PoolRealArray( 0, 0.2 ),
|
||||
"transitions": PoolRealArray( 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ Vector2( 0, 0 ), Vector2( 0, 300 ) ]
|
||||
}
|
||||
|
||||
[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( 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ Vector2( 0, 200 ), 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 ]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id=3]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath(".:visible")
|
||||
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": [ true ]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/path = NodePath(".:rect_min_size")
|
||||
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": [ Vector2( 0, 0 ) ]
|
||||
}
|
||||
|
||||
[node name="CallPanel" type="PanelContainer"]
|
||||
self_modulate = Color( 0.219608, 2.00392, 3.52549, 1 )
|
||||
margin_top = 88.0
|
||||
margin_right = 1008.0
|
||||
margin_bottom = 88.0
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
anims/FadeIn = SubResource( 1 )
|
||||
anims/FadeOut = SubResource( 2 )
|
||||
anims/RESET = SubResource( 3 )
|
||||
|
@ -42,9 +42,11 @@ margin_bottom = 568.0
|
||||
visible = false
|
||||
|
||||
[node name="CallPanel" parent="Panel/MarginContainer/VBoxContainer" instance=ExtResource( 5 )]
|
||||
visible = false
|
||||
margin_top = 0.0
|
||||
margin_bottom = 0.0
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer"]
|
||||
margin_top = 8.0
|
||||
margin_right = 1008.0
|
||||
margin_bottom = 560.0
|
||||
size_flags_vertical = 3
|
||||
@ -54,17 +56,17 @@ __meta__ = {
|
||||
|
||||
[node name="SidePanel" type="VBoxContainer" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer"]
|
||||
margin_right = 328.0
|
||||
margin_bottom = 560.0
|
||||
margin_bottom = 552.0
|
||||
rect_min_size = Vector2( 328, 0 )
|
||||
|
||||
[node name="TopicPanel" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/SidePanel" instance=ExtResource( 3 )]
|
||||
margin_bottom = 484.0
|
||||
margin_bottom = 482.0
|
||||
|
||||
[node name="ToolBar" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer/SidePanel" instance=ExtResource( 2 )]
|
||||
margin_top = 492.0
|
||||
margin_bottom = 560.0
|
||||
margin_top = 490.0
|
||||
margin_bottom = 552.0
|
||||
|
||||
[node name="ChatPanel" parent="Panel/MarginContainer/VBoxContainer/HBoxContainer" instance=ExtResource( 1 )]
|
||||
margin_bottom = 560.0
|
||||
margin_bottom = 552.0
|
||||
|
||||
[connection signal="resized" from="." to="." method="_on_resized"]
|
||||
|
5
user_interface/tool_bar/call_button.gd
Normal file
@ -0,0 +1,5 @@
|
||||
extends TextureButton
|
||||
|
||||
|
||||
func _on_toggled(button_pressed):
|
||||
Call.request_call()
|
Before Width: | Height: | Size: 11 KiB |
@ -1,35 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/call0.png-bd301461443cfb2159f3203b22d64513.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://user_interface/tool_bar/icons/call0.png"
|
||||
dest_files=[ "res://.import/call0.png-bd301461443cfb2159f3203b22d64513.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 11 KiB |
BIN
user_interface/tool_bar/icons/end_call.png
Normal file
After Width: | Height: | Size: 821 B |
8
user_interface/tool_bar/icons/call01.png.import → user_interface/tool_bar/icons/end_call.png.import
@ -2,15 +2,15 @@
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/call01.png-6a8d3bd7cabe8fc7da1d3078de113ba3.stex"
|
||||
path="res://.import/end_call.png-e1d253d2d75a22b4be3952b176e1c010.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://user_interface/tool_bar/icons/call01.png"
|
||||
dest_files=[ "res://.import/call01.png-6a8d3bd7cabe8fc7da1d3078de113ba3.stex" ]
|
||||
source_file="res://user_interface/tool_bar/icons/end_call.png"
|
||||
dest_files=[ "res://.import/end_call.png-e1d253d2d75a22b4be3952b176e1c010.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
@ -21,7 +21,7 @@ compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
BIN
user_interface/tool_bar/icons/end_call_hover.png
Normal file
After Width: | Height: | Size: 796 B |
35
user_interface/tool_bar/icons/end_call_hover.png.import
Normal file
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/end_call_hover.png-0faa542b4752be4ceabdd535c2a732fb.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://user_interface/tool_bar/icons/end_call_hover.png"
|
||||
dest_files=[ "res://.import/end_call_hover.png-0faa542b4752be4ceabdd535c2a732fb.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
user_interface/tool_bar/icons/end_call_pressed.png
Normal file
After Width: | Height: | Size: 714 B |
35
user_interface/tool_bar/icons/end_call_pressed.png.import
Normal file
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/end_call_pressed.png-2a5ae7ef633f2868cebf1b201b0ddc40.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://user_interface/tool_bar/icons/end_call_pressed.png"
|
||||
dest_files=[ "res://.import/end_call_pressed.png-2a5ae7ef633f2868cebf1b201b0ddc40.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
user_interface/tool_bar/icons/mute.png
Normal file
After Width: | Height: | Size: 818 B |
@ -2,15 +2,15 @@
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/on.png-30e09c905166ec12e325b6897eba5eab.stex"
|
||||
path="res://.import/mute.png-9ee895fd41a4d1966216cd7ff04a898d.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://user_interface/tool_bar/icons/on.png"
|
||||
dest_files=[ "res://.import/on.png-30e09c905166ec12e325b6897eba5eab.stex" ]
|
||||
source_file="res://user_interface/tool_bar/icons/mute.png"
|
||||
dest_files=[ "res://.import/mute.png-9ee895fd41a4d1966216cd7ff04a898d.stex" ]
|
||||
|
||||
[params]
|
||||
|
BIN
user_interface/tool_bar/icons/mute_hover.png
Normal file
After Width: | Height: | Size: 888 B |
35
user_interface/tool_bar/icons/mute_hover.png.import
Normal file
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/mute_hover.png-4902936d736231ffae268a96e047fcec.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://user_interface/tool_bar/icons/mute_hover.png"
|
||||
dest_files=[ "res://.import/mute_hover.png-4902936d736231ffae268a96e047fcec.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
user_interface/tool_bar/icons/mute_pressed.png
Normal file
After Width: | Height: | Size: 913 B |
35
user_interface/tool_bar/icons/mute_pressed.png.import
Normal file
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/mute_pressed.png-51f15a812649ba925bba069b925c9aa1.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://user_interface/tool_bar/icons/mute_pressed.png"
|
||||
dest_files=[ "res://.import/mute_pressed.png-51f15a812649ba925bba069b925c9aa1.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
Before Width: | Height: | Size: 775 B |
Before Width: | Height: | Size: 827 B |
Before Width: | Height: | Size: 2.2 KiB |
@ -1,35 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/plus0.png-5b08f8ec4468b765a90486e3bd698ea3.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://user_interface/tool_bar/icons/plus0.png"
|
||||
dest_files=[ "res://.import/plus0.png-5b08f8ec4468b765a90486e3bd698ea3.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
user_interface/tool_bar/icons/settings.png
Normal file
After Width: | Height: | Size: 943 B |
8
user_interface/tool_bar/icons/call1.png.import → user_interface/tool_bar/icons/settings.png.import
@ -2,15 +2,15 @@
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/call1.png-6cb5273ff894162c8dc068ddac753817.stex"
|
||||
path="res://.import/settings.png-fc5b96bf9563a6b53dbb4ede4b0f02c6.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://user_interface/tool_bar/icons/call1.png"
|
||||
dest_files=[ "res://.import/call1.png-6cb5273ff894162c8dc068ddac753817.stex" ]
|
||||
source_file="res://user_interface/tool_bar/icons/settings.png"
|
||||
dest_files=[ "res://.import/settings.png-fc5b96bf9563a6b53dbb4ede4b0f02c6.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
@ -21,7 +21,7 @@ compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
BIN
user_interface/tool_bar/icons/settings_hover.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
35
user_interface/tool_bar/icons/settings_hover.png.import
Normal file
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/settings_hover.png-90f1bd7c54f954fb0dc412ad0e811210.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://user_interface/tool_bar/icons/settings_hover.png"
|
||||
dest_files=[ "res://.import/settings_hover.png-90f1bd7c54f954fb0dc412ad0e811210.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
user_interface/tool_bar/icons/settings_pressed.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
35
user_interface/tool_bar/icons/settings_pressed.png.import
Normal file
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/settings_pressed.png-3fd8096d2594388612d3cf8397617380.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://user_interface/tool_bar/icons/settings_pressed.png"
|
||||
dest_files=[ "res://.import/settings_pressed.png-3fd8096d2594388612d3cf8397617380.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
user_interface/tool_bar/icons/start_call.png
Normal file
After Width: | Height: | Size: 961 B |
35
user_interface/tool_bar/icons/start_call.png.import
Normal file
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/start_call.png-f24221ff3d78e833beba102b03713f40.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://user_interface/tool_bar/icons/start_call.png"
|
||||
dest_files=[ "res://.import/start_call.png-f24221ff3d78e833beba102b03713f40.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
user_interface/tool_bar/icons/start_call_hover.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
35
user_interface/tool_bar/icons/start_call_hover.png.import
Normal file
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/start_call_hover.png-81051a002118dd5c155362e81f9656fa.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://user_interface/tool_bar/icons/start_call_hover.png"
|
||||
dest_files=[ "res://.import/start_call_hover.png-81051a002118dd5c155362e81f9656fa.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
user_interface/tool_bar/icons/start_call_pressed.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
35
user_interface/tool_bar/icons/start_call_pressed.png.import
Normal file
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/start_call_pressed.png-65ce00fed89ba3955d95e514190106fc.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://user_interface/tool_bar/icons/start_call_pressed.png"
|
||||
dest_files=[ "res://.import/start_call_pressed.png-65ce00fed89ba3955d95e514190106fc.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
user_interface/tool_bar/icons/unmute.png
Normal file
After Width: | Height: | Size: 947 B |
@ -2,15 +2,15 @@
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/off.png-9e318488e74f0027d75f0bc130ff17e4.stex"
|
||||
path="res://.import/unmute.png-759345f4e4c6d7c434c21e9b1d13797e.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://user_interface/tool_bar/icons/off.png"
|
||||
dest_files=[ "res://.import/off.png-9e318488e74f0027d75f0bc130ff17e4.stex" ]
|
||||
source_file="res://user_interface/tool_bar/icons/unmute.png"
|
||||
dest_files=[ "res://.import/unmute.png-759345f4e4c6d7c434c21e9b1d13797e.stex" ]
|
||||
|
||||
[params]
|
||||
|
BIN
user_interface/tool_bar/icons/unmute_dash.png
Normal file
After Width: | Height: | Size: 646 B |
35
user_interface/tool_bar/icons/unmute_dash.png.import
Normal file
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/unmute_dash.png-13b926ba76cce7280f64d5b892633056.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://user_interface/tool_bar/icons/unmute_dash.png"
|
||||
dest_files=[ "res://.import/unmute_dash.png-13b926ba76cce7280f64d5b892633056.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
user_interface/tool_bar/icons/unmute_hover.png
Normal file
After Width: | Height: | Size: 919 B |
35
user_interface/tool_bar/icons/unmute_hover.png.import
Normal file
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/unmute_hover.png-35ec3e9937c64078e458985824e6cf28.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://user_interface/tool_bar/icons/unmute_hover.png"
|
||||
dest_files=[ "res://.import/unmute_hover.png-35ec3e9937c64078e458985824e6cf28.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
user_interface/tool_bar/icons/unmute_pressed.png
Normal file
After Width: | Height: | Size: 871 B |
35
user_interface/tool_bar/icons/unmute_pressed.png.import
Normal file
@ -0,0 +1,35 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/unmute_pressed.png-c90e34ec229f1c0292069ba940cda0ff.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://user_interface/tool_bar/icons/unmute_pressed.png"
|
||||
dest_files=[ "res://.import/unmute_pressed.png-c90e34ec229f1c0292069ba940cda0ff.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
26
user_interface/tool_bar/mute_button.gd
Normal file
@ -0,0 +1,26 @@
|
||||
extends TextureButton
|
||||
|
||||
const MUTE_NORMAL = preload("res://user_interface/tool_bar/icons/mute.png")
|
||||
const MUTE_HOVER = preload("res://user_interface/tool_bar/icons/mute_hover.png")
|
||||
const MUTE_PRESSED = preload("res://user_interface/tool_bar/icons/mute_pressed.png")
|
||||
|
||||
const UNMUTE_NORMAL = preload("res://user_interface/tool_bar/icons/unmute.png")
|
||||
const UNMUTE_HOVER = preload("res://user_interface/tool_bar/icons/unmute_hover.png")
|
||||
const UNMUTE_PRESSED = preload("res://user_interface/tool_bar/icons/unmute_pressed.png")
|
||||
|
||||
onready var mute_dash = get_node("MuteDash")
|
||||
|
||||
|
||||
func _on_pressed():
|
||||
if Call.muted:
|
||||
Call.muted = false
|
||||
mute_dash.visible = false
|
||||
texture_normal = MUTE_NORMAL
|
||||
texture_hover = MUTE_HOVER
|
||||
texture_pressed = MUTE_PRESSED
|
||||
else:
|
||||
Call.muted = true
|
||||
mute_dash.visible = true
|
||||
texture_normal = UNMUTE_NORMAL
|
||||
texture_hover = UNMUTE_HOVER
|
||||
texture_pressed = UNMUTE_PRESSED
|
@ -20,7 +20,3 @@ func _input(event):
|
||||
func _on_user_switched():
|
||||
profile_image_rect.texture = Users.get_current().profile_image
|
||||
username.text = Users.get_current().username
|
||||
|
||||
|
||||
func _on_CheckButton_toggled(_button_pressed):
|
||||
Users.switch()
|
||||
|
@ -1,16 +1,22 @@
|
||||
[gd_scene load_steps=16 format=2]
|
||||
[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/fonts/Helvetica/Helvetica-Oblique.ttf" type="DynamicFontData" id=4]
|
||||
[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/call0.png" type="Texture" id=7]
|
||||
[ext_resource path="res://user_interface/tool_bar/icons/off.png" type="Texture" id=8]
|
||||
[ext_resource path="res://user_interface/tool_bar/icons/call1.png" type="Texture" id=9]
|
||||
[ext_resource path="res://user_interface/tool_bar/icons/call01.png" type="Texture" id=10]
|
||||
[ext_resource path="res://user_interface/tool_bar/icons/on.png" type="Texture" id=11]
|
||||
[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;
|
||||
@ -31,17 +37,11 @@ use_mipmaps = true
|
||||
use_filter = true
|
||||
font_data = ExtResource( 5 )
|
||||
|
||||
[sub_resource type="DynamicFont" id=4]
|
||||
size = 24
|
||||
use_mipmaps = true
|
||||
use_filter = true
|
||||
font_data = ExtResource( 4 )
|
||||
|
||||
[node name="ToolBar" type="PanelContainer"]
|
||||
margin_top = 404.0
|
||||
margin_right = 328.0
|
||||
margin_bottom = 472.0
|
||||
rect_min_size = Vector2( 0, 60 )
|
||||
margin_bottom = 466.0
|
||||
rect_min_size = Vector2( 0, 52 )
|
||||
theme = ExtResource( 1 )
|
||||
script = ExtResource( 6 )
|
||||
__meta__ = {
|
||||
@ -50,71 +50,103 @@ __meta__ = {
|
||||
|
||||
[node name="Margin" type="MarginContainer" parent="."]
|
||||
margin_right = 328.0
|
||||
margin_bottom = 68.0
|
||||
custom_constants/margin_right = 10
|
||||
custom_constants/margin_top = 10
|
||||
custom_constants/margin_left = 10
|
||||
custom_constants/margin_bottom = 10
|
||||
margin_bottom = 62.0
|
||||
custom_constants/margin_right = 18
|
||||
|
||||
[node name="Structure" type="HBoxContainer" parent="Margin"]
|
||||
margin_left = 10.0
|
||||
margin_top = 10.0
|
||||
margin_right = 318.0
|
||||
margin_bottom = 58.0
|
||||
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 = 172.0
|
||||
margin_bottom = 48.0
|
||||
margin_right = 170.0
|
||||
margin_bottom = 46.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
size_flags_stretch_ratio = 4.0
|
||||
custom_constants/separation = 10
|
||||
|
||||
[node name="ProfileImageRect" parent="Margin/Structure/Profile" instance=ExtResource( 3 )]
|
||||
material = SubResource( 2 )
|
||||
margin_right = 48.0
|
||||
margin_bottom = 48.0
|
||||
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 = 58.0
|
||||
margin_right = 172.0
|
||||
margin_bottom = 48.0
|
||||
margin_left = 56.0
|
||||
margin_top = 5.0
|
||||
margin_right = 170.0
|
||||
margin_bottom = 41.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
size_flags_stretch_ratio = 2.0
|
||||
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 = 48.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
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"]
|
||||
margin_left = 180.0
|
||||
margin_right = 224.0
|
||||
margin_bottom = 48.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
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( 9 )
|
||||
texture_hover = ExtResource( 10 )
|
||||
expand = true
|
||||
stretch_mode = 5
|
||||
texture_pressed = ExtResource( 16 )
|
||||
texture_hover = ExtResource( 4 )
|
||||
script = ExtResource( 13 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="CheckButton" type="CheckButton" parent="Margin/Structure"]
|
||||
margin_left = 232.0
|
||||
margin_right = 308.0
|
||||
margin_bottom = 48.0
|
||||
size_flags_stretch_ratio = 0.5
|
||||
custom_fonts/font = SubResource( 4 )
|
||||
custom_icons/off = ExtResource( 8 )
|
||||
custom_icons/on = ExtResource( 11 )
|
||||
align = 1
|
||||
expand_icon = true
|
||||
[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 )
|
||||
|
||||
[connection signal="toggled" from="Margin/Structure/CheckButton" to="." method="_on_CheckButton_toggled"]
|
||||
[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"]
|
||||
|