No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

EditorView.tscn 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. [gd_scene load_steps=17 format=2]
  2. [ext_resource path="res://addons/dialogic/Editor/EditorView.gd" type="Script" id=1]
  3. [ext_resource path="res://addons/dialogic/Editor/TimelineEditor/TimelineEditor.tscn" type="PackedScene" id=2]
  4. [ext_resource path="res://addons/dialogic/Images/Toolbar/add-character.svg" type="Texture" id=3]
  5. [ext_resource path="res://addons/dialogic/Images/Toolbar/add-timeline.svg" type="Texture" id=4]
  6. [ext_resource path="res://addons/dialogic/Images/Toolbar/add-definition.svg" type="Texture" id=5]
  7. [ext_resource path="res://addons/dialogic/Editor/SettingsEditor/SettingsEditor.tscn" type="PackedScene" id=6]
  8. [ext_resource path="res://addons/dialogic/Editor/CharacterEditor/CharacterEditor.tscn" type="PackedScene" id=7]
  9. [ext_resource path="res://addons/dialogic/Editor/ThemeEditor/ThemeEditor.tscn" type="PackedScene" id=8]
  10. [ext_resource path="res://addons/dialogic/Images/ActionCopy.svg" type="Texture" id=11]
  11. [ext_resource path="res://addons/dialogic/Editor/DefinitionEditor/DefinitionEditor.tscn" type="PackedScene" id=12]
  12. [ext_resource path="res://addons/dialogic/Images/Toolbar/add-theme.svg" type="Texture" id=13]
  13. [ext_resource path="res://addons/dialogic/Images/Remove.svg" type="Texture" id=22]
  14. [ext_resource path="res://addons/dialogic/Images/Filesystem.svg" type="Texture" id=26]
  15. [ext_resource path="res://addons/dialogic/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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ),
  19. "format": "LumAlpha8",
  20. "height": 16,
  21. "mipmaps": false,
  22. "width": 16
  23. }
  24. [sub_resource type="ImageTexture" id=2]
  25. flags = 4
  26. flags = 4
  27. image = SubResource( 1 )
  28. size = Vector2( 16, 16 )
  29. [node name="EditorView" type="Control"]
  30. anchor_right = 1.0
  31. anchor_bottom = 1.0
  32. rect_min_size = Vector2( 0, 200 )
  33. size_flags_horizontal = 3
  34. size_flags_vertical = 3
  35. script = ExtResource( 1 )
  36. __meta__ = {
  37. "_edit_use_anchors_": false
  38. }
  39. [node name="ToolBar" type="HBoxContainer" parent="."]
  40. anchor_right = 1.0
  41. margin_bottom = 32.0
  42. custom_constants/separation = 0
  43. __meta__ = {
  44. "_edit_use_anchors_": false
  45. }
  46. [node name="NewTimelineButton" type="Button" parent="ToolBar"]
  47. self_modulate = Color( 0.870588, 0.870588, 0.870588, 1 )
  48. margin_right = 28.0
  49. margin_bottom = 32.0
  50. hint_tooltip = "New Timeline"
  51. focus_mode = 0
  52. icon = ExtResource( 4 )
  53. flat = true
  54. [node name="NewCharactersButton" type="ToolButton" parent="ToolBar"]
  55. self_modulate = Color( 0.870588, 0.870588, 0.870588, 1 )
  56. margin_left = 28.0
  57. margin_right = 56.0
  58. margin_bottom = 32.0
  59. hint_tooltip = "New Character"
  60. focus_mode = 0
  61. icon = ExtResource( 3 )
  62. [node name="NewDefinitionButton" type="Button" parent="ToolBar"]
  63. self_modulate = Color( 0.870588, 0.870588, 0.870588, 1 )
  64. margin_left = 56.0
  65. margin_right = 84.0
  66. margin_bottom = 32.0
  67. hint_tooltip = "New Definition"
  68. focus_mode = 0
  69. icon = ExtResource( 5 )
  70. flat = true
  71. [node name="NewThemeButton" type="Button" parent="ToolBar"]
  72. self_modulate = Color( 0.870588, 0.870588, 0.870588, 1 )
  73. margin_left = 84.0
  74. margin_right = 112.0
  75. margin_bottom = 32.0
  76. hint_tooltip = "New Theme"
  77. focus_mode = 0
  78. icon = ExtResource( 13 )
  79. flat = true
  80. [node name="FoldTools" type="HBoxContainer" parent="ToolBar"]
  81. visible = false
  82. margin_left = 112.0
  83. margin_right = 203.0
  84. margin_bottom = 32.0
  85. [node name="Label" type="Label" parent="ToolBar/FoldTools"]
  86. margin_top = 9.0
  87. margin_right = 59.0
  88. margin_bottom = 23.0
  89. text = " Fold "
  90. [node name="ButtonFold" type="ToolButton" parent="ToolBar/FoldTools"]
  91. margin_left = 63.0
  92. margin_right = 75.0
  93. margin_bottom = 32.0
  94. icon = SubResource( 2 )
  95. align = 0
  96. [node name="ButtonUnfold" type="ToolButton" parent="ToolBar/FoldTools"]
  97. margin_left = 79.0
  98. margin_right = 91.0
  99. margin_bottom = 32.0
  100. icon = SubResource( 2 )
  101. align = 0
  102. [node name="Spacer" type="Control" parent="ToolBar"]
  103. margin_left = 112.0
  104. margin_right = 832.0
  105. margin_bottom = 32.0
  106. size_flags_horizontal = 3
  107. [node name="Docs" type="ToolButton" parent="ToolBar"]
  108. self_modulate = Color( 0.870588, 0.870588, 0.870588, 1 )
  109. margin_left = 832.0
  110. margin_right = 942.0
  111. margin_bottom = 32.0
  112. hint_tooltip = "Theme Editor"
  113. mouse_default_cursor_shape = 2
  114. text = "Online Docs"
  115. icon = SubResource( 2 )
  116. [node name="Version" type="Label" parent="ToolBar"]
  117. self_modulate = Color( 1, 1, 1, 0.631373 )
  118. margin_left = 942.0
  119. margin_top = 9.0
  120. margin_right = 1024.0
  121. margin_bottom = 23.0
  122. text = "Dialogic v1.1"
  123. [node name="MainPanel" type="HSplitContainer" parent="."]
  124. anchor_right = 1.0
  125. anchor_bottom = 1.0
  126. margin_top = 38.0
  127. __meta__ = {
  128. "_edit_use_anchors_": false
  129. }
  130. [node name="MasterTreeContainer" type="VBoxContainer" parent="MainPanel"]
  131. margin_right = 150.0
  132. margin_bottom = 562.0
  133. [node name="FilterMasterTreeEdit" type="LineEdit" parent="MainPanel/MasterTreeContainer"]
  134. margin_right = 150.0
  135. margin_bottom = 26.0
  136. clear_button_enabled = true
  137. right_icon = SubResource( 2 )
  138. placeholder_text = "Filter"
  139. [node name="MasterTree" parent="MainPanel/MasterTreeContainer" instance=ExtResource( 35 )]
  140. anchor_right = 0.0
  141. anchor_bottom = 0.0
  142. margin_top = 30.0
  143. margin_right = 150.0
  144. margin_bottom = 562.0
  145. rect_min_size = Vector2( 150, 0 )
  146. size_flags_vertical = 3
  147. [node name="TimelineEditor" parent="MainPanel" instance=ExtResource( 2 )]
  148. visible = false
  149. [node name="CharacterEditor" parent="MainPanel" instance=ExtResource( 7 )]
  150. visible = false
  151. [node name="DefinitionEditor" parent="MainPanel" instance=ExtResource( 12 )]
  152. visible = false
  153. [node name="ThemeEditor" parent="MainPanel" instance=ExtResource( 8 )]
  154. visible = false
  155. [node name="SettingsEditor" parent="MainPanel" instance=ExtResource( 6 )]
  156. visible = false
  157. anchor_right = 0.0
  158. anchor_bottom = 0.0
  159. margin_left = 192.0
  160. margin_right = 1253.0
  161. margin_bottom = 661.0
  162. [node name="Empty" type="CenterContainer" parent="MainPanel"]
  163. margin_left = 162.0
  164. margin_right = 1024.0
  165. margin_bottom = 562.0
  166. [node name="VBoxContainer" type="VBoxContainer" parent="MainPanel/Empty"]
  167. margin_left = 291.0
  168. margin_top = 274.0
  169. margin_right = 571.0
  170. margin_bottom = 288.0
  171. [node name="Label" type="Label" parent="MainPanel/Empty/VBoxContainer"]
  172. margin_right = 280.0
  173. margin_bottom = 14.0
  174. text = "Select or create an element to start working"
  175. [node name="TimelinePopupMenu" type="PopupMenu" parent="."]
  176. margin_left = 151.0
  177. margin_top = 276.0
  178. margin_right = 325.0
  179. margin_bottom = 332.0
  180. items = [ "Show in File Manager", ExtResource( 26 ), 0, false, false, 0, 0, null, "", false, "Copy Timeline Name", ExtResource( 11 ), 0, false, false, 1, 0, null, "", false, "Remove", ExtResource( 22 ), 0, false, false, 2, 0, null, "", false ]
  181. __meta__ = {
  182. "_edit_use_anchors_": false
  183. }
  184. [node name="CharacterPopupMenu" type="PopupMenu" parent="."]
  185. margin_left = 171.799
  186. margin_top = 209.0
  187. margin_right = 267.799
  188. margin_bottom = 229.0
  189. items = [ "Show in File Manager", ExtResource( 26 ), 0, false, false, 0, 0, null, "", false, "Remove Character", ExtResource( 22 ), 0, false, false, 1, 0, null, "", false ]
  190. __meta__ = {
  191. "_edit_use_anchors_": false
  192. }
  193. [node name="ThemePopupMenu" type="PopupMenu" parent="."]
  194. margin_left = 171.799
  195. margin_top = 209.0
  196. margin_right = 267.799
  197. margin_bottom = 229.0
  198. items = [ "Show in File Manager", ExtResource( 26 ), 0, false, false, 0, 0, null, "", false, "Remove Theme", ExtResource( 22 ), 0, false, false, 1, 0, null, "", false, "Duplicate Theme", ExtResource( 11 ), 0, false, false, 2, 0, null, "", false ]
  199. __meta__ = {
  200. "_edit_use_anchors_": false
  201. }
  202. [node name="DefinitionPopupMenu" type="PopupMenu" parent="."]
  203. margin_left = 171.799
  204. margin_top = 209.0
  205. margin_right = 267.799
  206. margin_bottom = 229.0
  207. items = [ "Edit definitions file", ExtResource( 26 ), 0, false, false, 0, 0, null, "", false, "Remove Definition", ExtResource( 22 ), 0, false, false, 1, 0, null, "", false ]
  208. __meta__ = {
  209. "_edit_use_anchors_": false
  210. }
  211. [node name="RemoveCharacterConfirmation" type="ConfirmationDialog" parent="."]
  212. margin_right = 325.0
  213. margin_bottom = 88.0
  214. rect_min_size = Vector2( 250, 87.5 )
  215. dialog_text = "Are you sure you want to remove this character?
  216. (Can't be restored)"
  217. __meta__ = {
  218. "_edit_use_anchors_": false
  219. }
  220. [node name="RemoveDefinitionConfirmation" type="ConfirmationDialog" parent="."]
  221. margin_right = 325.0
  222. margin_bottom = 88.0
  223. rect_min_size = Vector2( 250, 87.5 )
  224. dialog_text = "Are you sure you want to remove this definition?
  225. (Can't be restored)"
  226. __meta__ = {
  227. "_edit_use_anchors_": false
  228. }
  229. [node name="RemoveThemeConfirmation" type="ConfirmationDialog" parent="."]
  230. margin_right = 325.0
  231. margin_bottom = 88.0
  232. rect_min_size = Vector2( 250, 87.5 )
  233. dialog_text = "Are you sure you want to remove this theme?
  234. (Can't be restored)"
  235. __meta__ = {
  236. "_edit_use_anchors_": false
  237. }
  238. [node name="RemoveGlossaryConfirmation" type="ConfirmationDialog" parent="."]
  239. margin_right = 325.0
  240. margin_bottom = 88.0
  241. rect_min_size = Vector2( 250, 87.5 )
  242. dialog_text = "Are you sure you want to remove this entry?
  243. (Can't be restored)"
  244. __meta__ = {
  245. "_edit_use_anchors_": false
  246. }
  247. [node name="RemoveTimelineConfirmation" type="ConfirmationDialog" parent="."]
  248. margin_right = 325.0
  249. margin_bottom = 88.0
  250. rect_min_size = Vector2( 250, 87.5 )
  251. dialog_text = "Are you sure you want to remove this timeline?
  252. (Can't be restored)"
  253. __meta__ = {
  254. "_edit_use_anchors_": false
  255. }