[gd_scene load_steps=30 format=3 uid="uid://dktf5unru0wec"] [ext_resource type="Script" uid="uid://cqpvmeps4d2ds" path="res://Scripts/panel/canvas_2d.gd" id="1_yat5f"] [ext_resource type="Shader" uid="uid://cc1o2iqoutd7i" path="res://Resources/Shader/CanvasBackground.gdshader" id="2_4wovy"] [ext_resource type="Shader" uid="uid://cqg7diaaf5j6" path="res://Resources/Shader/FreeTransform.gdshader" id="3_7udx1"] [ext_resource type="Script" uid="uid://c3pwgiwghxmor" path="res://Scripts/panel/free_transform.gd" id="4_qi8hi"] [ext_resource type="Shader" uid="uid://cnsq1ra38csil" path="res://Resources/Shader/CanvasRuler.gdshader" id="5_5v8li"] [ext_resource type="Theme" uid="uid://dmgdeh6kw3b7u" path="res://Resources/Theme/basic_theme.tres" id="6_gf8i1"] [ext_resource type="Theme" uid="uid://cwtfo6s86vv46" path="res://Resources/Theme/check_button_theme.tres" id="7_ngnpx"] [ext_resource type="Texture2D" uid="uid://daprdynsx6da8" path="res://Resources/UI/bg_transparent.png" id="8_24fh3"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_h83a8"] shader = ExtResource("2_4wovy") shader_parameter/bg_color = Color(0.0980392, 0.0980392, 0.0980392, 1) shader_parameter/zoom = 0.0 [sub_resource type="ShaderMaterial" id="ShaderMaterial_mdsp2"] shader = ExtResource("3_7udx1") shader_parameter/points = PackedVector2Array(0, 0, 0, 0, 0, 0, 0, 0) shader_parameter/square_color = Color(1, 1, 1, 1) shader_parameter/square_line_color = Color(0, 0.721569, 1, 1) shader_parameter/editable = false [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1ap8l"] bg_color = Color(0.196078, 0.196078, 0.196078, 1) [sub_resource type="ShaderMaterial" id="ShaderMaterial_g1s0g"] shader = ExtResource("5_5v8li") shader_parameter/is_horizontal = true shader_parameter/ruler_size = Vector2(0, 0) shader_parameter/ruler_range = Vector4(0, 0, 0, 0) shader_parameter/highlight_range = Vector4(0, 0, 0, 0) shader_parameter/mouse_pos = Vector2(0, 0) shader_parameter/mouse_line_color = Color(0.953041, 0.95304, 0.953041, 1) shader_parameter/line_color = Color(0.563626, 0.563626, 0.563626, 1) shader_parameter/highlight_color = Color(0.278431, 0.278431, 0.278431, 1) shader_parameter/bg_color = Color(0.129412, 0.129412, 0.129412, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mjnoy"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_wxg4f"] shader = ExtResource("5_5v8li") shader_parameter/is_horizontal = false shader_parameter/ruler_size = Vector2(0, 0) shader_parameter/ruler_range = Vector4(0, 0, 0, 0) shader_parameter/highlight_range = Vector4(0, 0, 0, 0) shader_parameter/mouse_pos = Vector2(0, 0) shader_parameter/mouse_line_color = Color(0.952941, 0.952941, 0.952941, 1) shader_parameter/line_color = Color(0.564706, 0.564706, 0.564706, 1) shader_parameter/highlight_color = Color(0.278431, 0.278431, 0.278431, 1) shader_parameter/bg_color = Color(0.129412, 0.129412, 0.129412, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_oijon"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_sy45p"] bg_color = Color(0.196078, 0.196078, 0.196078, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6wh7v"] bg_color = Color(0.160784, 0.160784, 0.160784, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wxg4f"] bg_color = Color(0.160784, 0.160784, 0.160784, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_y3iko"] bg_color = Color(0.196078, 0.196078, 0.196078, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_g1s0g"] bg_color = Color(0.196078, 0.196078, 0.196078, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mdsp2"] bg_color = Color(0.160784, 0.160784, 0.160784, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_h83a8"] bg_color = Color(0.278431, 0.278431, 0.278431, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_oy7qd"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_r4gi2"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_js1y7"] bg_color = Color(0.160784, 0.160784, 0.160784, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_qullj"] bg_color = Color(0.278431, 0.278431, 0.278431, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_k5cmw"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5pxgr"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0t8rv"] bg_color = Color(0.196078, 0.196078, 0.196078, 1) [node name="Canvas2d" type="Node2D"] script = ExtResource("1_yat5f") [node name="Root" type="Sprite2D" parent="."] material = SubResource("ShaderMaterial_h83a8") [node name="Xaxis" type="Line2D" parent="."] points = PackedVector2Array(-999999, 0, 99999, 0) width = 1.0 default_color = Color(0.796078, 0.227451, 0.313726, 1) [node name="Yaxis" type="Line2D" parent="."] points = PackedVector2Array(0, -99999, 0, 99999) width = 1.0 default_color = Color(0.470588, 0.705882, 0.0823529, 1) [node name="FreeTransform" type="Sprite2D" parent="."] material = SubResource("ShaderMaterial_mdsp2") script = ExtResource("4_qi8hi") [node name="Camera2D" type="Camera2D" parent="."] [node name="CanvasLayer" type="CanvasLayer" parent="."] [node name="CanvasRoot" type="Control" parent="CanvasLayer"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/CanvasRoot"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 0 [node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/CanvasRoot/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 theme_override_constants/separation = 0 [node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer"] layout_mode = 2 size_flags_vertical = 0 theme_override_constants/separation = 0 [node name="Corner1" type="Panel" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer"] custom_minimum_size = Vector2(31, 31) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_1ap8l") [node name="HRuler" type="Panel" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer"] material = SubResource("ShaderMaterial_g1s0g") layout_mode = 2 size_flags_horizontal = 3 theme_override_styles/panel = SubResource("StyleBoxFlat_mjnoy") [node name="HBoxContainer2" type="HBoxContainer" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 theme_override_constants/separation = 0 [node name="VRuler" type="Panel" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer2"] material = SubResource("ShaderMaterial_wxg4f") custom_minimum_size = Vector2(31, 0) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_oijon") [node name="CanvasContainer" type="Control" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer2"] layout_mode = 2 size_flags_horizontal = 3 [node name="ToolBarPanel" type="Panel" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer2/CanvasContainer"] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -280.0 offset_bottom = 300.0 grow_horizontal = 0 theme = ExtResource("6_gf8i1") [node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer2/CanvasContainer/ToolBarPanel"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 0 [node name="Panel" type="Panel" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer2/CanvasContainer/ToolBarPanel/VBoxContainer"] custom_minimum_size = Vector2(0, 48) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_sy45p") [node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer2/CanvasContainer/ToolBarPanel/VBoxContainer/Panel"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -128.0 offset_top = -24.0 offset_right = 128.0 offset_bottom = 24.0 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 4 [node name="Button0" type="Button" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer2/CanvasContainer/ToolBarPanel/VBoxContainer/Panel/HBoxContainer"] custom_minimum_size = Vector2(48, 48) layout_mode = 2 theme = ExtResource("7_ngnpx") toggle_mode = true icon = ExtResource("8_24fh3") icon_alignment = 1 [node name="Button1" type="Button" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer2/CanvasContainer/ToolBarPanel/VBoxContainer/Panel/HBoxContainer"] custom_minimum_size = Vector2(48, 48) layout_mode = 2 theme = ExtResource("7_ngnpx") toggle_mode = true [node name="ColorRect" type="ColorRect" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer2/CanvasContainer/ToolBarPanel/VBoxContainer/Panel/HBoxContainer/Button1"] custom_minimum_size = Vector2(28, 28) layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -14.0 offset_top = -14.0 offset_right = 14.0 offset_bottom = 14.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 1 [node name="Button2" type="Button" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer2/CanvasContainer/ToolBarPanel/VBoxContainer/Panel/HBoxContainer"] custom_minimum_size = Vector2(48, 48) layout_mode = 2 theme = ExtResource("7_ngnpx") toggle_mode = true [node name="ColorRect" type="ColorRect" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer2/CanvasContainer/ToolBarPanel/VBoxContainer/Panel/HBoxContainer/Button2"] custom_minimum_size = Vector2(28, 28) layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -14.0 offset_top = -14.0 offset_right = 14.0 offset_bottom = 14.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 color = Color(0.501961, 0.501961, 0.501961, 1) [node name="Button3" type="Button" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer2/CanvasContainer/ToolBarPanel/VBoxContainer/Panel/HBoxContainer"] custom_minimum_size = Vector2(48, 48) layout_mode = 2 theme = ExtResource("7_ngnpx") toggle_mode = true [node name="ColorRect" type="ColorRect" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer2/CanvasContainer/ToolBarPanel/VBoxContainer/Panel/HBoxContainer/Button3"] custom_minimum_size = Vector2(28, 28) layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -14.0 offset_top = -14.0 offset_right = 14.0 offset_bottom = 14.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 color = Color(0.25098, 0.25098, 0.25098, 1) [node name="Button4" type="Button" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer2/CanvasContainer/ToolBarPanel/VBoxContainer/Panel/HBoxContainer"] custom_minimum_size = Vector2(48, 48) layout_mode = 2 theme = ExtResource("7_ngnpx") toggle_mode = true [node name="ColorRect" type="ColorRect" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer2/CanvasContainer/ToolBarPanel/VBoxContainer/Panel/HBoxContainer/Button4"] custom_minimum_size = Vector2(28, 28) layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -14.0 offset_top = -14.0 offset_right = 14.0 offset_bottom = 14.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 color = Color(0, 0, 0, 1) [node name="AssetListview" type="Tree" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer2/CanvasContainer/ToolBarPanel/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 column_titles_visible = true allow_reselect = true select_mode = 1 scroll_horizontal_enabled = false [node name="HBoxContainer3" type="HBoxContainer" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer"] layout_mode = 2 theme_override_constants/separation = 0 [node name="PanelContainer" type="PanelContainer" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer3"] layout_mode = 2 [node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer3/PanelContainer"] layout_mode = 2 theme_override_constants/separation = 0 [node name="ZoomLineEdit" type="LineEdit" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer3/PanelContainer/HBoxContainer"] custom_minimum_size = Vector2(80, 0) layout_mode = 2 theme_override_styles/focus = SubResource("StyleBoxFlat_6wh7v") theme_override_styles/normal = SubResource("StyleBoxFlat_wxg4f") text = "100%" alignment = 1 select_all_on_focus = true [node name="MousePositionLabel" type="LineEdit" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer3/PanelContainer/HBoxContainer"] custom_minimum_size = Vector2(120, 0) layout_mode = 2 theme_override_styles/focus = SubResource("StyleBoxFlat_y3iko") theme_override_styles/read_only = SubResource("StyleBoxFlat_g1s0g") text = "100, 300" alignment = 1 editable = false select_all_on_focus = true [node name="HScrollBar" type="HScrollBar" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer/HBoxContainer3"] custom_minimum_size = Vector2(0, 20) layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 1 theme_override_styles/scroll = SubResource("StyleBoxFlat_mdsp2") theme_override_styles/grabber = SubResource("StyleBoxFlat_h83a8") theme_override_styles/grabber_highlight = SubResource("StyleBoxFlat_oy7qd") theme_override_styles/grabber_pressed = SubResource("StyleBoxFlat_r4gi2") page = 25.0 [node name="VBoxContainer2" type="VBoxContainer" parent="CanvasLayer/CanvasRoot/HBoxContainer"] layout_mode = 2 theme_override_constants/separation = 0 [node name="VScrollBar" type="VScrollBar" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer2"] custom_minimum_size = Vector2(31, 0) layout_mode = 2 size_flags_vertical = 3 theme_override_styles/scroll = SubResource("StyleBoxFlat_js1y7") theme_override_styles/grabber = SubResource("StyleBoxFlat_qullj") theme_override_styles/grabber_highlight = SubResource("StyleBoxFlat_k5cmw") theme_override_styles/grabber_pressed = SubResource("StyleBoxFlat_5pxgr") page = 25.0 [node name="Corner2" type="Panel" parent="CanvasLayer/CanvasRoot/HBoxContainer/VBoxContainer2"] custom_minimum_size = Vector2(31, 31) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_0t8rv")