restart_window.tscn 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. [gd_scene load_steps=8 format=3 uid="uid://byc4c6d5tpomq"]
  2. [ext_resource type="Texture2D" uid="uid://csl0e2px0cwc1" path="res://addons/discord-rpc-gd/Logo_V2_No_Bg.png" id="1_0svbg"]
  3. [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_1t7mm"]
  4. [sub_resource type="Theme" id="Theme_swwco"]
  5. Button/styles/focus = SubResource("StyleBoxEmpty_1t7mm")
  6. [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_5vqdt"]
  7. [sub_resource type="Image" id="Image_4rf8i"]
  8. data = {
  9. "data": PackedByteArray(255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 227, 227, 227, 36, 224, 224, 224, 168, 224, 224, 224, 233, 224, 224, 224, 236, 224, 224, 224, 170, 231, 231, 231, 31, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 227, 227, 227, 36, 224, 224, 224, 234, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 239, 230, 230, 230, 30, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 168, 224, 224, 224, 255, 224, 224, 224, 186, 224, 224, 224, 32, 224, 224, 224, 33, 224, 224, 224, 187, 224, 224, 224, 255, 225, 225, 225, 167, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 237, 224, 224, 224, 255, 224, 224, 224, 33, 255, 255, 255, 0, 255, 255, 255, 0, 227, 227, 227, 36, 224, 224, 224, 255, 224, 224, 224, 234, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 237, 224, 224, 224, 255, 224, 224, 224, 33, 255, 255, 255, 0, 255, 255, 255, 0, 229, 229, 229, 38, 224, 224, 224, 255, 224, 224, 224, 229, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 164, 224, 224, 224, 255, 224, 224, 224, 187, 225, 225, 225, 34, 227, 227, 227, 36, 224, 224, 224, 192, 224, 224, 224, 255, 224, 224, 224, 162, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 24, 225, 225, 225, 215, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 229, 224, 224, 224, 32, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 24, 224, 224, 224, 216, 224, 224, 224, 255, 224, 224, 224, 210, 224, 224, 224, 161, 224, 224, 224, 232, 224, 224, 224, 231, 225, 225, 225, 159, 230, 230, 230, 30, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 107, 224, 224, 224, 255, 224, 224, 224, 210, 230, 230, 230, 20, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 105, 230, 230, 230, 20, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 221, 224, 224, 224, 130, 255, 255, 255, 1, 255, 255, 255, 1, 225, 225, 225, 134, 224, 224, 224, 224, 225, 225, 225, 223, 224, 224, 224, 132, 255, 255, 255, 1, 255, 255, 255, 6, 224, 224, 224, 137, 224, 224, 224, 231, 224, 224, 224, 255, 255, 255, 255, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 130, 225, 225, 225, 133, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 129, 224, 224, 224, 137, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 255, 255, 255, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 65, 224, 224, 224, 255, 224, 224, 224, 220, 225, 225, 225, 223, 224, 224, 224, 255, 226, 226, 226, 61, 224, 224, 224, 65, 224, 224, 224, 255, 224, 224, 224, 222, 224, 224, 224, 231, 224, 224, 224, 255, 227, 227, 227, 62, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 255, 224, 224, 224, 255, 225, 225, 225, 67, 224, 224, 224, 255, 224, 224, 224, 219, 224, 224, 224, 222, 224, 224, 224, 255, 227, 227, 227, 63, 225, 225, 225, 67, 224, 224, 224, 255, 224, 224, 224, 219, 224, 224, 224, 230, 224, 224, 224, 255, 227, 227, 227, 63, 255, 255, 255, 0, 255, 255, 255, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 225, 225, 225, 127, 224, 224, 224, 129, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 225, 225, 225, 126, 225, 225, 225, 135, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 255, 255, 255, 255, 0, 224, 224, 224, 255, 224, 224, 224, 255, 224, 224, 224, 221, 225, 225, 225, 127, 255, 255, 255, 0, 255, 255, 255, 1, 224, 224, 224, 128, 224, 224, 224, 220, 224, 224, 224, 219, 225, 225, 225, 127, 255, 255, 255, 0, 255, 255, 255, 5, 225, 225, 225, 134, 224, 224, 224, 229, 224, 224, 224, 255, 255, 255, 255, 0),
  10. "format": "RGBA8",
  11. "height": 16,
  12. "mipmaps": false,
  13. "width": 16
  14. }
  15. [sub_resource type="ImageTexture" id="ImageTexture_gdtpn"]
  16. image = SubResource("Image_4rf8i")
  17. [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_7v0rg"]
  18. [node name="RestartWindow" type="ConfirmationDialog"]
  19. auto_translate_mode = 2
  20. oversampling_override = 1.0
  21. title = "Restart required"
  22. initial_position = 2
  23. size = Vector2i(430, 500)
  24. visible = true
  25. transient = false
  26. unresizable = true
  27. auto_translate = false
  28. theme = SubResource("Theme_swwco")
  29. ok_button_text = "Restart"
  30. cancel_button_text = "Save and restart"
  31. [node name="Panel" type="Panel" parent="."]
  32. anchors_preset = 5
  33. anchor_left = 0.5
  34. anchor_right = 0.5
  35. offset_left = -207.0
  36. offset_top = 8.0
  37. offset_right = 207.0
  38. offset_bottom = 458.0
  39. grow_horizontal = 2
  40. mouse_filter = 1
  41. [node name="VBoxContainer" type="VBoxContainer" parent="Panel"]
  42. custom_minimum_size = Vector2(400, 0)
  43. layout_mode = 1
  44. anchors_preset = 5
  45. anchor_left = 0.5
  46. anchor_right = 0.5
  47. offset_left = -200.0
  48. offset_right = 200.0
  49. offset_bottom = 389.0
  50. grow_horizontal = 2
  51. [node name="HSeparator" type="HSeparator" parent="Panel/VBoxContainer"]
  52. layout_mode = 2
  53. mouse_filter = 1
  54. theme_override_constants/separation = 15
  55. theme_override_styles/separator = SubResource("StyleBoxEmpty_5vqdt")
  56. [node name="HBoxContainer" type="HBoxContainer" parent="Panel/VBoxContainer"]
  57. layout_mode = 2
  58. size_flags_horizontal = 4
  59. size_flags_vertical = 4
  60. theme_override_constants/separation = 10
  61. [node name="DocsIcon" type="TextureRect" parent="Panel/VBoxContainer/HBoxContainer"]
  62. layout_mode = 2
  63. size_flags_horizontal = 8
  64. size_flags_vertical = 4
  65. texture = SubResource("ImageTexture_gdtpn")
  66. stretch_mode = 2
  67. [node name="LinkButton" type="LinkButton" parent="Panel/VBoxContainer/HBoxContainer"]
  68. layout_mode = 2
  69. size_flags_horizontal = 4
  70. size_flags_vertical = 8
  71. mouse_default_cursor_shape = 16
  72. theme_override_font_sizes/font_size = 20
  73. text = "HOW TO USE"
  74. uri = "https://vaporvee.com/docs/discord-rpc-godot#quick-start"
  75. [node name="TextureRect" type="TextureRect" parent="Panel/VBoxContainer"]
  76. custom_minimum_size = Vector2(128, 128)
  77. layout_mode = 2
  78. size_flags_horizontal = 4
  79. size_flags_vertical = 0
  80. texture = ExtResource("1_0svbg")
  81. expand_mode = 1
  82. [node name="RichTextLabel" type="RichTextLabel" parent="Panel/VBoxContainer"]
  83. custom_minimum_size = Vector2(400, 250)
  84. layout_mode = 2
  85. size_flags_horizontal = 4
  86. size_flags_vertical = 0
  87. mouse_filter = 1
  88. theme_override_font_sizes/normal_font_size = 16
  89. theme_override_styles/normal = SubResource("StyleBoxEmpty_7v0rg")
  90. bbcode_enabled = true
  91. text = "[center]Thanks for enabling the
  92. [rainbow]Discord Game SDK Plugin[/rainbow]
  93. made by vaporvee. ❤️
  94. You need to [wave]restart[/wave] the editor to fully enable this plugin!
  95. Do you want to [wave]save[/wave] your project before restarting?
  96. Error messages after the first two restarts are normal. Please ignore them!"