godot-webrtc-mplayer-testing/lobby.tscn
2021-12-06 21:56:37 -06:00

98 lines
2.2 KiB
Plaintext

[gd_scene load_steps=3 format=2]
[ext_resource path="res://lobby.gd" type="Script" id=1]
[ext_resource path="res://theme.tres" type="Theme" id=2]
[node name="lobby" type="MarginContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 20.0
margin_top = 20.0
margin_right = -20.0
margin_bottom = -20.0
theme = ExtResource( 2 )
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="v" type="VBoxContainer" parent="."]
margin_right = 984.0
margin_bottom = 560.0
[node name="head" type="HBoxContainer" parent="v"]
margin_right = 984.0
margin_bottom = 50.0
[node name="leave_button" type="Button" parent="v/head"]
margin_right = 150.0
margin_bottom = 50.0
rect_min_size = Vector2( 150, 50 )
text = "Leave"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="lobby_info" type="Label" parent="v/head"]
margin_left = 154.0
margin_right = 984.0
margin_bottom = 50.0
size_flags_horizontal = 3
size_flags_vertical = 3
valign = 1
autowrap = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="body" type="HBoxContainer" parent="v"]
margin_top = 54.0
margin_right = 984.0
margin_bottom = 560.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="peers" type="VBoxContainer" parent="v/body"]
margin_right = 128.0
margin_bottom = 506.0
[node name="label" type="Label" parent="v/body/peers"]
margin_right = 128.0
margin_bottom = 21.0
text = "Players in Lobby"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="peers" type="ItemList" parent="v/body/peers"]
margin_top = 25.0
margin_right = 128.0
margin_bottom = 506.0
size_flags_horizontal = 3
size_flags_vertical = 3
auto_height = true
[node name="v" type="VBoxContainer" parent="v/body"]
margin_left = 132.0
margin_right = 984.0
margin_bottom = 506.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="label" type="Label" parent="v/body/v"]
margin_right = 852.0
margin_bottom = 21.0
text = "Chat"
[node name="messages" type="ItemList" parent="v/body/v"]
margin_top = 25.0
margin_right = 852.0
margin_bottom = 506.0
size_flags_horizontal = 3
size_flags_vertical = 3
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="v/head/leave_button" to="." method="_on_leave_button_pressed"]