137 lines
4.2 KiB
Plaintext
137 lines
4.2 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://ccsaeb8hm5lsu"]
|
||
|
||
[ext_resource type="Texture2D" uid="uid://bx2layh7wm6ft" path="res://res/ui/ui_021_map/tuceng309.png" id="1_e45qx"]
|
||
[ext_resource type="Script" path="res://scene/map.gd" id="1_ifxi0"]
|
||
[ext_resource type="Texture2D" uid="uid://bc4vkd7u4s4sb" path="res://res/ui/ui_021_map/tuceng308.png" id="2_slael"]
|
||
[ext_resource type="Texture2D" uid="uid://bo84mljdw3my8" path="res://res/ui/ui_021_map/tuceng315.png" id="3_4y8t4"]
|
||
[ext_resource type="PackedScene" uid="uid://dtbfpnr54ifod" path="res://test/scene/map_example.tscn" id="5_jn1dj"]
|
||
|
||
[node name="map" type="Control"]
|
||
layout_mode = 3
|
||
anchors_preset = 15
|
||
anchor_right = 1.0
|
||
anchor_bottom = 1.0
|
||
grow_horizontal = 2
|
||
grow_vertical = 2
|
||
script = ExtResource("1_ifxi0")
|
||
|
||
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
||
layout_mode = 1
|
||
anchors_preset = 15
|
||
anchor_right = 1.0
|
||
anchor_bottom = 1.0
|
||
grow_horizontal = 2
|
||
grow_vertical = 2
|
||
|
||
[node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer"]
|
||
layout_mode = 2
|
||
|
||
[node name="TextureRect" type="TextureRect" parent="ScrollContainer/HBoxContainer"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 0
|
||
texture = ExtResource("1_e45qx")
|
||
expand_mode = 3
|
||
|
||
[node name="TextureRect" type="TextureRect" parent="ScrollContainer/HBoxContainer/TextureRect"]
|
||
z_index = 1
|
||
layout_mode = 1
|
||
anchors_preset = 1
|
||
anchor_left = 1.0
|
||
anchor_right = 1.0
|
||
offset_left = 3.94254
|
||
offset_right = 515.943
|
||
offset_bottom = 142.0
|
||
grow_horizontal = 0
|
||
texture = ExtResource("3_4y8t4")
|
||
|
||
[node name="date" type="Label" parent="ScrollContainer/HBoxContainer/TextureRect/TextureRect"]
|
||
layout_mode = 0
|
||
anchor_left = 0.347656
|
||
anchor_right = 1.0
|
||
anchor_bottom = 0.373239
|
||
offset_bottom = -4.0
|
||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||
theme_override_font_sizes/font_size = 38
|
||
text = "1999/12/12"
|
||
vertical_alignment = 1
|
||
metadata/_edit_use_anchors_ = true
|
||
|
||
[node name="time" type="Label" parent="ScrollContainer/HBoxContainer/TextureRect/TextureRect"]
|
||
layout_mode = 1
|
||
anchors_preset = -1
|
||
anchor_left = 0.347656
|
||
anchor_top = 0.34507
|
||
anchor_right = 0.556641
|
||
anchor_bottom = 0.746479
|
||
offset_bottom = -4.0
|
||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||
theme_override_font_sizes/font_size = 38
|
||
text = "12:12"
|
||
vertical_alignment = 1
|
||
metadata/_edit_use_anchors_ = true
|
||
|
||
[node name="Label3" type="Label" parent="ScrollContainer/HBoxContainer/TextureRect/TextureRect"]
|
||
layout_mode = 1
|
||
anchors_preset = -1
|
||
anchor_left = 0.59375
|
||
anchor_top = 0.34507
|
||
anchor_right = 0.816406
|
||
anchor_bottom = 0.746479
|
||
offset_bottom = -4.0
|
||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||
theme_override_font_sizes/font_size = 38
|
||
text = "天气:"
|
||
vertical_alignment = 1
|
||
metadata/_edit_use_anchors_ = true
|
||
|
||
[node name="weather" type="Label" parent="ScrollContainer/HBoxContainer/TextureRect/TextureRect"]
|
||
layout_mode = 1
|
||
anchors_preset = -1
|
||
anchor_left = 0.816406
|
||
anchor_top = 0.34507
|
||
anchor_right = 1.03906
|
||
anchor_bottom = 0.746479
|
||
offset_bottom = -4.0
|
||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||
theme_override_font_sizes/font_size = 38
|
||
text = "晴"
|
||
vertical_alignment = 1
|
||
metadata/_edit_use_anchors_ = true
|
||
|
||
[node name="pos" type="Label" parent="ScrollContainer/HBoxContainer/TextureRect/TextureRect"]
|
||
layout_mode = 1
|
||
anchors_preset = -1
|
||
anchor_left = 0.347656
|
||
anchor_top = 0.661972
|
||
anchor_right = 1.0
|
||
anchor_bottom = 1.06338
|
||
offset_bottom = -4.0
|
||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||
theme_override_font_sizes/font_size = 38
|
||
text = "(000,000)"
|
||
vertical_alignment = 1
|
||
metadata/_edit_use_anchors_ = true
|
||
|
||
[node name="TextureRect2" type="TextureRect" parent="ScrollContainer/HBoxContainer"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 0
|
||
texture = ExtResource("2_slael")
|
||
expand_mode = 3
|
||
|
||
[node name="map_example" parent="ScrollContainer/HBoxContainer" instance=ExtResource("5_jn1dj")]
|
||
layout_mode = 2
|
||
|
||
[node name="TextureRect4" type="TextureRect" parent="ScrollContainer/HBoxContainer"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 8
|
||
texture = ExtResource("2_slael")
|
||
expand_mode = 3
|
||
|
||
[node name="TextureRect3" type="TextureRect" parent="ScrollContainer/HBoxContainer"]
|
||
layout_mode = 2
|
||
size_flags_horizontal = 0
|
||
texture = ExtResource("1_e45qx")
|
||
expand_mode = 3
|
||
|
||
[connection signal="gui_input" from="ScrollContainer" to="." method="_on_scroll_container_gui_input"]
|