Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / ui / MapEditorMapMark.tscn
  1. [gd_scene load_steps=9 format=3 uid="uid://peo0n8bl15y5"]
  2.  
  3. [ext_resource type="Script" path="res://src/game/ui/mapEditorMapMark/MapEditorMapMarkPanel.cs" id="1_dudey"]
  4. [ext_resource type="Texture2D" uid="uid://n4atvj5fkcpg" path="res://resource/sprite/ui/commonIcon/Add.png" id="2_osya0"]
  5. [ext_resource type="Texture2D" uid="uid://dggb6p4sdmfry" path="res://resource/sprite/ui/commonIcon/Edit.png" id="3_wwaki"]
  6. [ext_resource type="Texture2D" uid="uid://c5778ntk2rdon" path="res://resource/sprite/ui/commonIcon/Delete.png" id="4_urq7y"]
  7. [ext_resource type="Texture2D" uid="uid://d4gduco55dqpk" path="res://resource/sprite/ui/commonIcon/Down.png" id="5_x5dpw"]
  8. [ext_resource type="Texture2D" uid="uid://cgtmjuiks7mot" path="res://resource/sprite/ui/commonIcon/WaveCell.png" id="6_eod5i"]
  9. [ext_resource type="Texture2D" uid="uid://bn47bmilcw4x0" path="res://resource/sprite/ui/commonIcon/Select2.png" id="6_jpt3y"]
  10. [ext_resource type="Texture2D" uid="uid://bylf0kxccwgdw" path="res://resource/sprite/ui/commonIcon/MarkCell.png" id="8_xyhe6"]
  11.  
  12. [node name="MapEditorMapMark" type="Control"]
  13. layout_mode = 3
  14. anchors_preset = 15
  15. anchor_right = 1.0
  16. anchor_bottom = 1.0
  17. grow_horizontal = 2
  18. grow_vertical = 2
  19. script = ExtResource("1_dudey")
  20.  
  21. [node name="VBoxContainer" type="VBoxContainer" parent="."]
  22. layout_mode = 1
  23. anchors_preset = 15
  24. anchor_right = 1.0
  25. anchor_bottom = 1.0
  26. grow_horizontal = 2
  27. grow_vertical = 2
  28.  
  29. [node name="MarkLabel" type="Label" parent="VBoxContainer"]
  30. layout_mode = 2
  31. text = "编辑预设:"
  32.  
  33. [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
  34. layout_mode = 2
  35.  
  36. [node name="PreinstallOption" type="OptionButton" parent="VBoxContainer/HBoxContainer"]
  37. layout_mode = 2
  38. size_flags_horizontal = 3
  39.  
  40. [node name="AddPreinstall" type="Button" parent="VBoxContainer/HBoxContainer"]
  41. layout_mode = 2
  42. icon = ExtResource("2_osya0")
  43.  
  44. [node name="EditPreinstall" type="Button" parent="VBoxContainer/HBoxContainer"]
  45. layout_mode = 2
  46. icon = ExtResource("3_wwaki")
  47.  
  48. [node name="DeletePreinstall" type="Button" parent="VBoxContainer/HBoxContainer"]
  49. layout_mode = 2
  50. icon = ExtResource("4_urq7y")
  51.  
  52. [node name="MarkLabel2" type="Label" parent="VBoxContainer"]
  53. layout_mode = 2
  54. text = "编辑对象:"
  55.  
  56. [node name="DynamicTool" type="HBoxContainer" parent="VBoxContainer"]
  57. visible = false
  58. layout_mode = 2
  59.  
  60. [node name="EditButton" type="Button" parent="VBoxContainer/DynamicTool"]
  61. layout_mode = 2
  62. icon = ExtResource("3_wwaki")
  63.  
  64. [node name="DeleteButton" type="Button" parent="VBoxContainer/DynamicTool"]
  65. layout_mode = 2
  66. icon = ExtResource("4_urq7y")
  67.  
  68. [node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"]
  69. layout_mode = 2
  70. size_flags_vertical = 3
  71.  
  72. [node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/ScrollContainer"]
  73. layout_mode = 2
  74. size_flags_horizontal = 3
  75. size_flags_vertical = 3
  76.  
  77. [node name="AddWaveButton" type="Button" parent="VBoxContainer/ScrollContainer/VBoxContainer"]
  78. layout_mode = 2
  79. text = "添加波数"
  80.  
  81. [node name="WaveItem" type="VBoxContainer" parent="VBoxContainer/ScrollContainer/VBoxContainer"]
  82. layout_mode = 2
  83. size_flags_horizontal = 3
  84.  
  85. [node name="WaveContainer" type="HBoxContainer" parent="VBoxContainer/ScrollContainer/VBoxContainer/WaveItem"]
  86. layout_mode = 2
  87.  
  88. [node name="TextureButton" type="TextureButton" parent="VBoxContainer/ScrollContainer/VBoxContainer/WaveItem/WaveContainer"]
  89. custom_minimum_size = Vector2(36, 36)
  90. layout_mode = 2
  91. texture_normal = ExtResource("5_x5dpw")
  92. stretch_mode = 3
  93.  
  94. [node name="WaveButton" type="Button" parent="VBoxContainer/ScrollContainer/VBoxContainer/WaveItem/WaveContainer"]
  95. layout_mode = 2
  96. size_flags_horizontal = 3
  97. text = "第1波"
  98. icon = ExtResource("6_eod5i")
  99. alignment = 0
  100.  
  101. [node name="Select" type="NinePatchRect" parent="VBoxContainer/ScrollContainer/VBoxContainer/WaveItem/WaveContainer/WaveButton"]
  102. visible = false
  103. layout_mode = 1
  104. anchors_preset = 15
  105. anchor_right = 1.0
  106. anchor_bottom = 1.0
  107. grow_horizontal = 2
  108. grow_vertical = 2
  109. texture = ExtResource("6_jpt3y")
  110. patch_margin_left = 3
  111. patch_margin_top = 3
  112. patch_margin_right = 3
  113. patch_margin_bottom = 3
  114.  
  115. [node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/ScrollContainer/VBoxContainer/WaveItem"]
  116. layout_mode = 2
  117. theme_override_constants/margin_left = 40
  118.  
  119. [node name="AddMarkButton" type="Button" parent="VBoxContainer/ScrollContainer/VBoxContainer/WaveItem/MarginContainer"]
  120. layout_mode = 2
  121. text = "添加标记"
  122. icon_alignment = 1
  123.  
  124. [node name="MarkContainer" type="MarginContainer" parent="VBoxContainer/ScrollContainer/VBoxContainer/WaveItem"]
  125. layout_mode = 2
  126. theme_override_constants/margin_left = 40
  127.  
  128. [node name="MarkItem" type="HBoxContainer" parent="VBoxContainer/ScrollContainer/VBoxContainer/WaveItem/MarkContainer"]
  129. layout_mode = 2
  130.  
  131. [node name="MarkButton" type="Button" parent="VBoxContainer/ScrollContainer/VBoxContainer/WaveItem/MarkContainer/MarkItem"]
  132. layout_mode = 2
  133. size_flags_horizontal = 3
  134. text = "1001"
  135. icon = ExtResource("8_xyhe6")
  136. alignment = 0
  137. text_overrun_behavior = 3
  138.  
  139. [node name="Select" type="NinePatchRect" parent="VBoxContainer/ScrollContainer/VBoxContainer/WaveItem/MarkContainer/MarkItem/MarkButton"]
  140. visible = false
  141. layout_mode = 1
  142. anchors_preset = 15
  143. anchor_right = 1.0
  144. anchor_bottom = 1.0
  145. grow_horizontal = 2
  146. grow_vertical = 2
  147. texture = ExtResource("6_jpt3y")
  148. patch_margin_left = 3
  149. patch_margin_top = 3
  150. patch_margin_right = 3
  151. patch_margin_bottom = 3