Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / ui / MapEditorProject.tscn
  1. [gd_scene load_steps=9 format=3 uid="uid://dh7y03tq6v0a2"]
  2.  
  3. [ext_resource type="Script" path="res://src/game/ui/mapEditorProject/MapEditorProjectPanel.cs" id="1_5aioo"]
  4. [ext_resource type="Texture2D" uid="uid://cajcnlimvoxk" path="res://resource/sprite/ui/commonIcon/Back.png" id="2_v0ry0"]
  5. [ext_resource type="Texture2D" uid="uid://blfvsup876agh" path="res://resource/sprite/ui/commonIcon/Search.png" id="3_f5h8c"]
  6. [ext_resource type="Texture2D" uid="uid://n4atvj5fkcpg" path="res://resource/sprite/ui/commonIcon/Add.png" id="4_okvq0"]
  7. [ext_resource type="Texture2D" uid="uid://bn47bmilcw4x0" path="res://resource/sprite/ui/commonIcon/Select2.png" id="5_rcbyx"]
  8. [ext_resource type="Texture2D" uid="uid://dggb6p4sdmfry" path="res://resource/sprite/ui/commonIcon/Edit.png" id="6_qalh0"]
  9. [ext_resource type="Texture2D" uid="uid://c5778ntk2rdon" path="res://resource/sprite/ui/commonIcon/Delete.png" id="7_lnry3"]
  10. [ext_resource type="Texture2D" uid="uid://c4ltpf5a3egu1" path="res://resource/sprite/ui/commonIcon/Error_mini.png" id="9_xrt38"]
  11.  
  12. [node name="MapEditorProject" 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_5aioo")
  20. metadata/_edit_horizontal_guides_ = [449.0]
  21.  
  22. [node name="Bg" type="Panel" parent="."]
  23. layout_mode = 1
  24. anchors_preset = 15
  25. anchor_right = 1.0
  26. anchor_bottom = 1.0
  27. grow_horizontal = 2
  28. grow_vertical = 2
  29.  
  30. [node name="VBoxContainer" type="VBoxContainer" parent="Bg"]
  31. layout_mode = 1
  32. anchors_preset = 15
  33. anchor_right = 1.0
  34. anchor_bottom = 1.0
  35. grow_horizontal = 2
  36. grow_vertical = 2
  37. theme_override_constants/separation = 0
  38.  
  39. [node name="Head" type="Panel" parent="Bg/VBoxContainer"]
  40. custom_minimum_size = Vector2(0, 70)
  41. layout_mode = 2
  42.  
  43. [node name="Back" type="Button" parent="Bg/VBoxContainer/Head"]
  44. layout_mode = 2
  45. offset_left = 2.0
  46. offset_top = 2.0
  47. offset_right = 62.0
  48. offset_bottom = 68.0
  49. size_flags_horizontal = 0
  50. icon = ExtResource("2_v0ry0")
  51. icon_alignment = 1
  52.  
  53. [node name="HBoxContainer" type="HBoxContainer" parent="Bg/VBoxContainer"]
  54. layout_mode = 2
  55. size_flags_vertical = 3
  56. theme_override_constants/separation = 0
  57.  
  58. [node name="Panel" type="Panel" parent="Bg/VBoxContainer/HBoxContainer"]
  59. layout_mode = 2
  60. size_flags_horizontal = 3
  61. size_flags_stretch_ratio = 2.0
  62.  
  63. [node name="MarginContainer" type="MarginContainer" parent="Bg/VBoxContainer/HBoxContainer/Panel"]
  64. layout_mode = 1
  65. anchors_preset = 15
  66. anchor_right = 1.0
  67. anchor_bottom = 1.0
  68. grow_horizontal = 2
  69. grow_vertical = 2
  70. theme_override_constants/margin_left = 12
  71. theme_override_constants/margin_top = 12
  72. theme_override_constants/margin_right = 12
  73. theme_override_constants/margin_bottom = 12
  74.  
  75. [node name="VBoxContainer" type="VBoxContainer" parent="Bg/VBoxContainer/HBoxContainer/Panel/MarginContainer"]
  76. layout_mode = 2
  77.  
  78. [node name="HBoxContainer" type="HBoxContainer" parent="Bg/VBoxContainer/HBoxContainer/Panel/MarginContainer/VBoxContainer"]
  79. custom_minimum_size = Vector2(0, 45)
  80. layout_mode = 2
  81.  
  82. [node name="GroupSearchInput" type="LineEdit" parent="Bg/VBoxContainer/HBoxContainer/Panel/MarginContainer/VBoxContainer/HBoxContainer"]
  83. layout_mode = 2
  84. size_flags_horizontal = 3
  85. placeholder_text = "搜索"
  86.  
  87. [node name="GroupSearchButton" type="Button" parent="Bg/VBoxContainer/HBoxContainer/Panel/MarginContainer/VBoxContainer/HBoxContainer"]
  88. layout_mode = 2
  89. icon = ExtResource("3_f5h8c")
  90.  
  91. [node name="GroupAddButton" type="Button" parent="Bg/VBoxContainer/HBoxContainer/Panel/MarginContainer/VBoxContainer/HBoxContainer"]
  92. layout_mode = 2
  93. icon = ExtResource("4_okvq0")
  94.  
  95. [node name="ScrollContainer" type="ScrollContainer" parent="Bg/VBoxContainer/HBoxContainer/Panel/MarginContainer/VBoxContainer"]
  96. layout_mode = 2
  97. size_flags_vertical = 3
  98.  
  99. [node name="GroupButton" type="Button" parent="Bg/VBoxContainer/HBoxContainer/Panel/MarginContainer/VBoxContainer/ScrollContainer"]
  100. custom_minimum_size = Vector2(0, 100)
  101. layout_mode = 2
  102. size_flags_horizontal = 3
  103. text = "testGroup1"
  104. alignment = 0
  105. text_overrun_behavior = 3
  106.  
  107. [node name="SelectTexture" type="NinePatchRect" parent="Bg/VBoxContainer/HBoxContainer/Panel/MarginContainer/VBoxContainer/ScrollContainer/GroupButton"]
  108. layout_mode = 1
  109. anchors_preset = 15
  110. anchor_right = 1.0
  111. anchor_bottom = 1.0
  112. grow_horizontal = 2
  113. grow_vertical = 2
  114. texture = ExtResource("5_rcbyx")
  115. region_rect = Rect2(0, 0, 36, 36)
  116. patch_margin_left = 3
  117. patch_margin_top = 3
  118. patch_margin_right = 3
  119. patch_margin_bottom = 3
  120.  
  121. [node name="Panel2" type="Panel" parent="Bg/VBoxContainer/HBoxContainer"]
  122. layout_mode = 2
  123. size_flags_horizontal = 3
  124. size_flags_stretch_ratio = 8.0
  125.  
  126. [node name="MarginContainer" type="MarginContainer" parent="Bg/VBoxContainer/HBoxContainer/Panel2"]
  127. layout_mode = 1
  128. anchors_preset = 15
  129. anchor_right = 1.0
  130. anchor_bottom = 1.0
  131. grow_horizontal = 2
  132. grow_vertical = 2
  133. theme_override_constants/margin_left = 12
  134. theme_override_constants/margin_top = 12
  135. theme_override_constants/margin_right = 12
  136. theme_override_constants/margin_bottom = 12
  137.  
  138. [node name="VBoxContainer" type="VBoxContainer" parent="Bg/VBoxContainer/HBoxContainer/Panel2/MarginContainer"]
  139. layout_mode = 2
  140.  
  141. [node name="HBoxContainer" type="HBoxContainer" parent="Bg/VBoxContainer/HBoxContainer/Panel2/MarginContainer/VBoxContainer"]
  142. custom_minimum_size = Vector2(0, 45)
  143. layout_mode = 2
  144.  
  145. [node name="RoomSearchInput" type="LineEdit" parent="Bg/VBoxContainer/HBoxContainer/Panel2/MarginContainer/VBoxContainer/HBoxContainer"]
  146. custom_minimum_size = Vector2(500, 0)
  147. layout_mode = 2
  148. placeholder_text = "搜索"
  149.  
  150. [node name="RoomTypeButton" type="OptionButton" parent="Bg/VBoxContainer/HBoxContainer/Panel2/MarginContainer/VBoxContainer/HBoxContainer"]
  151. custom_minimum_size = Vector2(200, 0)
  152. layout_mode = 2
  153.  
  154. [node name="RoomSearchButton" type="Button" parent="Bg/VBoxContainer/HBoxContainer/Panel2/MarginContainer/VBoxContainer/HBoxContainer"]
  155. layout_mode = 2
  156. icon = ExtResource("3_f5h8c")
  157.  
  158. [node name="RoomAddButton" type="Button" parent="Bg/VBoxContainer/HBoxContainer/Panel2/MarginContainer/VBoxContainer/HBoxContainer"]
  159. layout_mode = 2
  160. icon = ExtResource("4_okvq0")
  161.  
  162. [node name="RoomEditButton" type="Button" parent="Bg/VBoxContainer/HBoxContainer/Panel2/MarginContainer/VBoxContainer/HBoxContainer"]
  163. layout_mode = 2
  164. icon = ExtResource("6_qalh0")
  165.  
  166. [node name="RoomDeleteButton" type="Button" parent="Bg/VBoxContainer/HBoxContainer/Panel2/MarginContainer/VBoxContainer/HBoxContainer"]
  167. layout_mode = 2
  168. icon = ExtResource("7_lnry3")
  169.  
  170. [node name="ScrollContainer" type="ScrollContainer" parent="Bg/VBoxContainer/HBoxContainer/Panel2/MarginContainer/VBoxContainer"]
  171. layout_mode = 2
  172. size_flags_vertical = 3
  173.  
  174. [node name="RoomButton" type="Button" parent="Bg/VBoxContainer/HBoxContainer/Panel2/MarginContainer/VBoxContainer/ScrollContainer"]
  175. custom_minimum_size = Vector2(200, 285)
  176. layout_mode = 2
  177.  
  178. [node name="PreviewImage" type="TextureRect" parent="Bg/VBoxContainer/HBoxContainer/Panel2/MarginContainer/VBoxContainer/ScrollContainer/RoomButton"]
  179. layout_mode = 1
  180. anchors_preset = 15
  181. anchor_right = 1.0
  182. anchor_bottom = 1.0
  183. offset_left = 2.0
  184. offset_top = 2.0
  185. offset_right = -2.0
  186. offset_bottom = -87.0
  187. grow_horizontal = 2
  188. grow_vertical = 2
  189. mouse_filter = 2
  190. stretch_mode = 5
  191.  
  192. [node name="RoomName" type="Label" parent="Bg/VBoxContainer/HBoxContainer/Panel2/MarginContainer/VBoxContainer/ScrollContainer/RoomButton"]
  193. layout_mode = 1
  194. anchors_preset = 12
  195. anchor_top = 1.0
  196. anchor_right = 1.0
  197. anchor_bottom = 1.0
  198. offset_top = -86.0
  199. offset_bottom = -43.0
  200. grow_horizontal = 2
  201. grow_vertical = 0
  202. text = "Room1"
  203. horizontal_alignment = 1
  204. clip_text = true
  205. text_overrun_behavior = 3
  206.  
  207. [node name="RoomType" type="Label" parent="Bg/VBoxContainer/HBoxContainer/Panel2/MarginContainer/VBoxContainer/ScrollContainer/RoomButton"]
  208. layout_mode = 1
  209. anchors_preset = 12
  210. anchor_top = 1.0
  211. anchor_right = 1.0
  212. anchor_bottom = 1.0
  213. offset_top = -43.0
  214. grow_horizontal = 2
  215. grow_vertical = 0
  216. text = "战斗"
  217. horizontal_alignment = 1
  218. clip_text = true
  219. text_overrun_behavior = 3
  220.  
  221. [node name="SelectTexture" type="NinePatchRect" parent="Bg/VBoxContainer/HBoxContainer/Panel2/MarginContainer/VBoxContainer/ScrollContainer/RoomButton"]
  222. layout_mode = 1
  223. anchors_preset = 15
  224. anchor_right = 1.0
  225. anchor_bottom = 1.0
  226. grow_horizontal = 2
  227. grow_vertical = 2
  228. texture = ExtResource("5_rcbyx")
  229. region_rect = Rect2(0, 0, 36, 36)
  230. patch_margin_left = 3
  231. patch_margin_top = 3
  232. patch_margin_right = 3
  233. patch_margin_bottom = 3
  234.  
  235. [node name="ErrorTexture" type="TextureRect" parent="Bg/VBoxContainer/HBoxContainer/Panel2/MarginContainer/VBoxContainer/ScrollContainer/RoomButton"]
  236. layout_mode = 0
  237. offset_left = 157.0
  238. offset_top = 158.0
  239. offset_right = 197.0
  240. offset_bottom = 198.0
  241. texture = ExtResource("9_xrt38")