diff options
Diffstat (limited to 'ui/window.tscn')
-rw-r--r-- | ui/window.tscn | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/ui/window.tscn b/ui/window.tscn new file mode 100644 index 0000000..6208682 --- /dev/null +++ b/ui/window.tscn @@ -0,0 +1,99 @@ +[gd_scene load_steps=11 format=3 uid="uid://swtqlba1wi3o"] + +[ext_resource type="PackedScene" uid="uid://knmmuhon34rh" path="res://ui/bmp_texture_rect.tscn" id="1_4qpm3"] +[ext_resource type="Script" uid="uid://qdg2tjk8xmjt" path="res://ui/window.gd" id="1_hfgic"] +[ext_resource type="Texture2D" uid="uid://ctcjqer7qdt0o" path="res://client_data/data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/basic_interface/titlebar_left.bmp" id="2_wlfds"] +[ext_resource type="Texture2D" uid="uid://dc2f7tx5xsico" path="res://client_data/data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/basic_interface/titlebar_mid.bmp" id="3_mngfx"] +[ext_resource type="Texture2D" uid="uid://bpwioq1j2pqgp" path="res://client_data/data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/basic_interface/titlebar_right.bmp" id="4_fufdc"] +[ext_resource type="Texture2D" uid="uid://to3tb2oxenq" path="res://client_data/data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/basic_interface/btnbar_left1.bmp" id="5_fufdc"] +[ext_resource type="Texture2D" uid="uid://dqq3mtjcrwqnp" path="res://client_data/data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/basic_interface/sys_base_off.bmp" id="5_mnaxm"] +[ext_resource type="Texture2D" uid="uid://clqwl83uoxeue" path="res://client_data/data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/basic_interface/btnbar_mid1.bmp" id="6_mnaxm"] +[ext_resource type="Texture2D" uid="uid://biapuuwa0wbea" path="res://client_data/data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/basic_interface/btnbar_right1.bmp" id="7_hfgic"] + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fufdc"] +bg_color = Color(1, 1, 1, 1) +border_width_left = 1 +border_width_right = 1 +border_color = Color(0.760784, 0.760784, 0.760784, 1) + +[node name="Window" type="PanelContainer"] +offset_right = 209.0 +offset_bottom = 136.0 +script = ExtResource("1_hfgic") + +[node name="VBoxContainer" type="VBoxContainer" parent="."] +layout_mode = 2 +theme_override_constants/separation = 0 + +[node name="TitleBar" type="PanelContainer" parent="VBoxContainer"] +layout_mode = 2 + +[node name="TitleBarBackground" type="HBoxContainer" parent="VBoxContainer/TitleBar"] +custom_minimum_size = Vector2(63, 0) +layout_mode = 2 +theme_override_constants/separation = 0 + +[node name="Left" parent="VBoxContainer/TitleBar/TitleBarBackground" instance=ExtResource("1_4qpm3")] +layout_mode = 2 +texture = ExtResource("2_wlfds") + +[node name="Middle" parent="VBoxContainer/TitleBar/TitleBarBackground" instance=ExtResource("1_4qpm3")] +layout_mode = 2 +size_flags_horizontal = 3 +texture = ExtResource("3_mngfx") + +[node name="Right" parent="VBoxContainer/TitleBar/TitleBarBackground" instance=ExtResource("1_4qpm3")] +layout_mode = 2 +texture = ExtResource("4_fufdc") + +[node name="TitleBarBackground2" type="MarginContainer" parent="VBoxContainer/TitleBar"] +layout_mode = 2 +theme_override_constants/margin_left = 2 + +[node name="BMPTextureRect" parent="VBoxContainer/TitleBar/TitleBarBackground2" instance=ExtResource("1_4qpm3")] +layout_mode = 2 +size_flags_horizontal = 0 +texture = ExtResource("5_mnaxm") +stretch_mode = 3 + +[node name="TitleBarElements" type="MarginContainer" parent="VBoxContainer/TitleBar"] +layout_mode = 2 +theme_override_constants/margin_left = 15 +theme_override_constants/margin_top = 2 +theme_override_constants/margin_right = 4 +theme_override_constants/margin_bottom = 1 + +[node name="Body" type="PanelContainer" parent="VBoxContainer"] +custom_minimum_size = Vector2(0, 25) +layout_mode = 2 +size_flags_vertical = 3 +theme_override_styles/panel = SubResource("StyleBoxFlat_fufdc") + +[node name="ButtonBar" type="PanelContainer" parent="VBoxContainer"] +layout_mode = 2 + +[node name="ButtonBarBackground" type="HBoxContainer" parent="VBoxContainer/ButtonBar"] +layout_mode = 2 +theme_override_constants/separation = 0 + +[node name="BMPTextureRect" parent="VBoxContainer/ButtonBar/ButtonBarBackground" instance=ExtResource("1_4qpm3")] +layout_mode = 2 +texture = ExtResource("5_fufdc") + +[node name="BMPTextureRect2" parent="VBoxContainer/ButtonBar/ButtonBarBackground" instance=ExtResource("1_4qpm3")] +layout_mode = 2 +size_flags_horizontal = 3 +texture = ExtResource("6_mnaxm") + +[node name="BMPTextureRect3" parent="VBoxContainer/ButtonBar/ButtonBarBackground" instance=ExtResource("1_4qpm3")] +layout_mode = 2 +texture = ExtResource("7_hfgic") + +[node name="ButtonBarElements" type="MarginContainer" parent="VBoxContainer/ButtonBar"] +layout_mode = 2 +theme_override_constants/margin_left = 4 +theme_override_constants/margin_top = 4 +theme_override_constants/margin_right = 4 +theme_override_constants/margin_bottom = 4 + +[connection signal="gui_input" from="VBoxContainer/TitleBar" to="." method="_on_title_bar_gui_input"] |