|
@@ -0,0 +1,586 @@
|
|
|
+[gd_scene load_steps=5 format=2]
|
|
|
+
|
|
|
+[ext_resource path="res://PaintControl.gd" type="Script" id=1]
|
|
|
+[ext_resource path="res://ToolsPanel.gd" type="Script" id=2]
|
|
|
+[ext_resource path="res://PaintTools.png" type="Texture" id=3]
|
|
|
+
|
|
|
+[sub_resource type="StyleBoxFlat" id=1]
|
|
|
+
|
|
|
+content_margin_left = -1.0
|
|
|
+content_margin_right = -1.0
|
|
|
+content_margin_top = -1.0
|
|
|
+content_margin_bottom = -1.0
|
|
|
+bg_color = Color( 1, 1, 1, 1 )
|
|
|
+draw_center = true
|
|
|
+border_width_left = 0
|
|
|
+border_width_top = 0
|
|
|
+border_width_right = 0
|
|
|
+border_width_bottom = 0
|
|
|
+border_color = Color( 0.8, 0.8, 0.8, 1 )
|
|
|
+border_blend = false
|
|
|
+corner_radius_top_left = 0
|
|
|
+corner_radius_top_right = 0
|
|
|
+corner_radius_bottom_right = 0
|
|
|
+corner_radius_bottom_left = 0
|
|
|
+corner_detail = 8
|
|
|
+expand_margin_left = 0.0
|
|
|
+expand_margin_right = 0.0
|
|
|
+expand_margin_top = 0.0
|
|
|
+expand_margin_bottom = 0.0
|
|
|
+shadow_color = Color( 0, 0, 0, 0.6 )
|
|
|
+shadow_size = 0
|
|
|
+anti_aliasing = true
|
|
|
+anti_aliasing_size = 1
|
|
|
+
|
|
|
+[node name="Paint_root" type="Control"]
|
|
|
+
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_right = 40.0
|
|
|
+margin_bottom = 40.0
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 0
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 1
|
|
|
+
|
|
|
+[node name="DrawingAreaBG" type="Panel" parent="."]
|
|
|
+
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_left = 350.0
|
|
|
+margin_right = 1280.0
|
|
|
+margin_bottom = 720.0
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 0
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 1
|
|
|
+custom_styles/panelf = SubResource( 1 )
|
|
|
+custom_styles/panel = SubResource( 1 )
|
|
|
+custom_styles/panelnc = SubResource( 1 )
|
|
|
+_sections_unfolded = [ "Rect", "Visibility", "custom_styles" ]
|
|
|
+
|
|
|
+[node name="PaintControl" type="Control" parent="."]
|
|
|
+
|
|
|
+editor/display_folded = true
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_right = 40.0
|
|
|
+margin_bottom = 40.0
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 0
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 1
|
|
|
+script = ExtResource( 1 )
|
|
|
+_sections_unfolded = [ "Rect" ]
|
|
|
+
|
|
|
+[node name="TLPos" type="Position2D" parent="PaintControl"]
|
|
|
+
|
|
|
+position = Vector2( 350, 0 )
|
|
|
+_sections_unfolded = [ "Transform" ]
|
|
|
+
|
|
|
+[node name="ToolsPanel" type="Panel" parent="."]
|
|
|
+
|
|
|
+editor/display_folded = true
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_right = 350.0
|
|
|
+margin_bottom = 720.0
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 0
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 1
|
|
|
+script = ExtResource( 2 )
|
|
|
+
|
|
|
+[node name="LabelTools" type="Label" parent="ToolsPanel"]
|
|
|
+
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_left = 20.0
|
|
|
+margin_top = 10.0
|
|
|
+margin_right = 330.0
|
|
|
+margin_bottom = 24.0
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 2
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 4
|
|
|
+text = "Selected tool: pencil"
|
|
|
+align = 1
|
|
|
+percent_visible = 1.0
|
|
|
+lines_skipped = 0
|
|
|
+max_lines_visible = -1
|
|
|
+
|
|
|
+[node name="ButtonToolPencil" type="Button" parent="ToolsPanel"]
|
|
|
+
|
|
|
+editor/display_folded = true
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_left = 40.0
|
|
|
+margin_top = 40.0
|
|
|
+margin_right = 100.0
|
|
|
+margin_bottom = 100.0
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 0
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 1
|
|
|
+toggle_mode = false
|
|
|
+enabled_focus_mode = 2
|
|
|
+shortcut = null
|
|
|
+group = null
|
|
|
+flat = false
|
|
|
+_sections_unfolded = [ "Rect" ]
|
|
|
+
|
|
|
+[node name="Sprite" type="Sprite" parent="ToolsPanel/ButtonToolPencil"]
|
|
|
+
|
|
|
+position = Vector2( 30, 30 )
|
|
|
+scale = Vector2( 2.5, 2.5 )
|
|
|
+texture = ExtResource( 3 )
|
|
|
+region_enabled = true
|
|
|
+region_rect = Rect2( 0, 0, 16, 16 )
|
|
|
+_sections_unfolded = [ "Region" ]
|
|
|
+
|
|
|
+[node name="ButtonToolEraser" type="Button" parent="ToolsPanel"]
|
|
|
+
|
|
|
+editor/display_folded = true
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_left = 110.0
|
|
|
+margin_top = 40.0
|
|
|
+margin_right = 170.0
|
|
|
+margin_bottom = 100.0
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 0
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 1
|
|
|
+toggle_mode = false
|
|
|
+enabled_focus_mode = 2
|
|
|
+shortcut = null
|
|
|
+group = null
|
|
|
+flat = false
|
|
|
+_sections_unfolded = [ "Rect" ]
|
|
|
+
|
|
|
+[node name="Sprite" type="Sprite" parent="ToolsPanel/ButtonToolEraser"]
|
|
|
+
|
|
|
+position = Vector2( 30, 30 )
|
|
|
+scale = Vector2( 2.5, 2.5 )
|
|
|
+texture = ExtResource( 3 )
|
|
|
+region_enabled = true
|
|
|
+region_rect = Rect2( 16, 0, 16, 16 )
|
|
|
+_sections_unfolded = [ "Region" ]
|
|
|
+
|
|
|
+[node name="ButtonToolRectangle" type="Button" parent="ToolsPanel"]
|
|
|
+
|
|
|
+editor/display_folded = true
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_left = 180.0
|
|
|
+margin_top = 40.0
|
|
|
+margin_right = 240.0
|
|
|
+margin_bottom = 100.0
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 0
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 1
|
|
|
+toggle_mode = false
|
|
|
+enabled_focus_mode = 2
|
|
|
+shortcut = null
|
|
|
+group = null
|
|
|
+flat = false
|
|
|
+_sections_unfolded = [ "Rect" ]
|
|
|
+
|
|
|
+[node name="Sprite" type="Sprite" parent="ToolsPanel/ButtonToolRectangle"]
|
|
|
+
|
|
|
+position = Vector2( 30, 30 )
|
|
|
+scale = Vector2( 2.5, 2.5 )
|
|
|
+texture = ExtResource( 3 )
|
|
|
+region_enabled = true
|
|
|
+region_rect = Rect2( 0, 16, 16, 16 )
|
|
|
+_sections_unfolded = [ "Region" ]
|
|
|
+
|
|
|
+[node name="ButtonToolCircle" type="Button" parent="ToolsPanel"]
|
|
|
+
|
|
|
+editor/display_folded = true
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_left = 250.0
|
|
|
+margin_top = 40.0
|
|
|
+margin_right = 310.0
|
|
|
+margin_bottom = 100.0
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 0
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 1
|
|
|
+toggle_mode = false
|
|
|
+enabled_focus_mode = 2
|
|
|
+shortcut = null
|
|
|
+group = null
|
|
|
+flat = false
|
|
|
+_sections_unfolded = [ "Rect" ]
|
|
|
+
|
|
|
+[node name="Sprite" type="Sprite" parent="ToolsPanel/ButtonToolCircle"]
|
|
|
+
|
|
|
+position = Vector2( 30, 30 )
|
|
|
+scale = Vector2( 2.5, 2.5 )
|
|
|
+texture = ExtResource( 3 )
|
|
|
+region_enabled = true
|
|
|
+region_rect = Rect2( 16, 16, 16, 16 )
|
|
|
+_sections_unfolded = [ "Region" ]
|
|
|
+
|
|
|
+[node name="LabelBrushColor" type="Label" parent="ToolsPanel"]
|
|
|
+
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_left = 20.0
|
|
|
+margin_top = 120.0
|
|
|
+margin_right = 330.0
|
|
|
+margin_bottom = 134.0
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 2
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 4
|
|
|
+text = "Current color"
|
|
|
+align = 1
|
|
|
+percent_visible = 1.0
|
|
|
+lines_skipped = 0
|
|
|
+max_lines_visible = -1
|
|
|
+
|
|
|
+[node name="ColorPickerBrush" type="ColorPickerButton" parent="ToolsPanel"]
|
|
|
+
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_left = 20.0
|
|
|
+margin_top = 140.0
|
|
|
+margin_right = 330.0
|
|
|
+margin_bottom = 190.0
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 0
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 1
|
|
|
+toggle_mode = false
|
|
|
+enabled_focus_mode = 2
|
|
|
+shortcut = null
|
|
|
+group = null
|
|
|
+flat = false
|
|
|
+color = Color( 1, 1, 1, 1 )
|
|
|
+edit_alpha = true
|
|
|
+
|
|
|
+[node name="LabelBrushSize" type="Label" parent="ToolsPanel"]
|
|
|
+
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_left = 20.0
|
|
|
+margin_top = 210.0
|
|
|
+margin_right = 330.0
|
|
|
+margin_bottom = 224.0
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 2
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 4
|
|
|
+text = "Brush size: 32px"
|
|
|
+align = 1
|
|
|
+percent_visible = 1.0
|
|
|
+lines_skipped = 0
|
|
|
+max_lines_visible = -1
|
|
|
+
|
|
|
+[node name="HScrollBarBrushSize" type="HScrollBar" parent="ToolsPanel"]
|
|
|
+
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_left = 20.0
|
|
|
+margin_top = 230.0
|
|
|
+margin_right = 330.0
|
|
|
+margin_bottom = 260.0
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 0
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 0
|
|
|
+min_value = 1.0
|
|
|
+max_value = 100.0
|
|
|
+step = 0.0
|
|
|
+page = 0.0
|
|
|
+value = 32.0
|
|
|
+exp_edit = false
|
|
|
+rounded = false
|
|
|
+custom_step = -1.0
|
|
|
+
|
|
|
+[node name="LabelBrushShape" type="Label" parent="ToolsPanel"]
|
|
|
+
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_left = 20.0
|
|
|
+margin_top = 280.0
|
|
|
+margin_right = 330.0
|
|
|
+margin_bottom = 294.0
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 2
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 4
|
|
|
+text = "Brush shape: circle"
|
|
|
+align = 1
|
|
|
+percent_visible = 1.0
|
|
|
+lines_skipped = 0
|
|
|
+max_lines_visible = -1
|
|
|
+
|
|
|
+[node name="ButtonShapeBox" type="Button" parent="ToolsPanel"]
|
|
|
+
|
|
|
+editor/display_folded = true
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_left = 100.0
|
|
|
+margin_top = 300.0
|
|
|
+margin_right = 160.0
|
|
|
+margin_bottom = 360.0
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 0
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 1
|
|
|
+toggle_mode = false
|
|
|
+enabled_focus_mode = 2
|
|
|
+shortcut = null
|
|
|
+group = null
|
|
|
+flat = false
|
|
|
+_sections_unfolded = [ "Rect" ]
|
|
|
+
|
|
|
+[node name="Sprite" type="Sprite" parent="ToolsPanel/ButtonShapeBox"]
|
|
|
+
|
|
|
+position = Vector2( 30, 30 )
|
|
|
+scale = Vector2( 2.5, 2.5 )
|
|
|
+texture = ExtResource( 3 )
|
|
|
+region_enabled = true
|
|
|
+region_rect = Rect2( 0, 16, 16, 16 )
|
|
|
+_sections_unfolded = [ "Region" ]
|
|
|
+
|
|
|
+[node name="ButtonShapeCircle" type="Button" parent="ToolsPanel"]
|
|
|
+
|
|
|
+editor/display_folded = true
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_left = 190.0
|
|
|
+margin_top = 300.0
|
|
|
+margin_right = 250.0
|
|
|
+margin_bottom = 360.0
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 0
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 1
|
|
|
+toggle_mode = false
|
|
|
+enabled_focus_mode = 2
|
|
|
+shortcut = null
|
|
|
+group = null
|
|
|
+flat = false
|
|
|
+_sections_unfolded = [ "Rect" ]
|
|
|
+
|
|
|
+[node name="Sprite" type="Sprite" parent="ToolsPanel/ButtonShapeCircle"]
|
|
|
+
|
|
|
+position = Vector2( 30, 30 )
|
|
|
+scale = Vector2( 2.5, 2.5 )
|
|
|
+texture = ExtResource( 3 )
|
|
|
+region_enabled = true
|
|
|
+region_rect = Rect2( 16, 16, 16, 16 )
|
|
|
+_sections_unfolded = [ "Region" ]
|
|
|
+
|
|
|
+[node name="LabelBackgroundColor" type="Label" parent="ToolsPanel"]
|
|
|
+
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_left = 20.0
|
|
|
+margin_top = 400.0
|
|
|
+margin_right = 330.0
|
|
|
+margin_bottom = 414.0
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 2
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 4
|
|
|
+text = "Background color"
|
|
|
+align = 1
|
|
|
+percent_visible = 1.0
|
|
|
+lines_skipped = 0
|
|
|
+max_lines_visible = -1
|
|
|
+
|
|
|
+[node name="ColorPickerBackground" type="ColorPickerButton" parent="ToolsPanel"]
|
|
|
+
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_left = 20.0
|
|
|
+margin_top = 420.0
|
|
|
+margin_right = 330.0
|
|
|
+margin_bottom = 470.0
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 0
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 1
|
|
|
+toggle_mode = false
|
|
|
+enabled_focus_mode = 2
|
|
|
+shortcut = null
|
|
|
+group = null
|
|
|
+flat = false
|
|
|
+color = Color( 1, 1, 1, 1 )
|
|
|
+edit_alpha = false
|
|
|
+
|
|
|
+[node name="LabelStats" type="Label" parent="ToolsPanel"]
|
|
|
+
|
|
|
+modulate = Color( 0.414062, 0.414062, 0.414062, 1 )
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_left = 20.0
|
|
|
+margin_top = 590.0
|
|
|
+margin_right = 330.0
|
|
|
+margin_bottom = 604.0
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 2
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 4
|
|
|
+text = "Brush objects: 00000"
|
|
|
+align = 1
|
|
|
+percent_visible = 1.0
|
|
|
+lines_skipped = 0
|
|
|
+max_lines_visible = -1
|
|
|
+_sections_unfolded = [ "Visibility" ]
|
|
|
+
|
|
|
+[node name="ButtonUndo" type="Button" parent="ToolsPanel"]
|
|
|
+
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_left = 10.0
|
|
|
+margin_top = 520.0
|
|
|
+margin_right = 340.0
|
|
|
+margin_bottom = 560.0
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 0
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 1
|
|
|
+toggle_mode = false
|
|
|
+enabled_focus_mode = 2
|
|
|
+shortcut = null
|
|
|
+group = null
|
|
|
+text = "Undo last stroke"
|
|
|
+flat = false
|
|
|
+
|
|
|
+[node name="ButtonSave" type="Button" parent="ToolsPanel"]
|
|
|
+
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_left = 10.0
|
|
|
+margin_top = 620.0
|
|
|
+margin_right = 340.0
|
|
|
+margin_bottom = 660.0
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 0
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 1
|
|
|
+toggle_mode = false
|
|
|
+enabled_focus_mode = 2
|
|
|
+shortcut = null
|
|
|
+group = null
|
|
|
+text = "Save picture"
|
|
|
+flat = false
|
|
|
+
|
|
|
+[node name="ButtonClear" type="Button" parent="ToolsPanel"]
|
|
|
+
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_left = 10.0
|
|
|
+margin_top = 670.0
|
|
|
+margin_right = 340.0
|
|
|
+margin_bottom = 710.0
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 0
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 1
|
|
|
+toggle_mode = false
|
|
|
+enabled_focus_mode = 2
|
|
|
+shortcut = null
|
|
|
+group = null
|
|
|
+text = "Clear picture"
|
|
|
+flat = false
|
|
|
+
|
|
|
+[node name="SaveFileDialog" type="FileDialog" parent="."]
|
|
|
+
|
|
|
+visible = false
|
|
|
+anchor_left = 0.0
|
|
|
+anchor_top = 0.0
|
|
|
+anchor_right = 0.0
|
|
|
+anchor_bottom = 0.0
|
|
|
+margin_right = 600.0
|
|
|
+margin_bottom = 400.0
|
|
|
+rect_min_size = Vector2( 200, 70 )
|
|
|
+rect_pivot_offset = Vector2( 0, 0 )
|
|
|
+rect_clip_content = false
|
|
|
+mouse_filter = 0
|
|
|
+size_flags_horizontal = 1
|
|
|
+size_flags_vertical = 1
|
|
|
+popup_exclusive = false
|
|
|
+window_title = "Save a File"
|
|
|
+resizable = true
|
|
|
+dialog_hide_on_ok = false
|
|
|
+mode = 4
|
|
|
+access = 2
|
|
|
+filters = PoolStringArray( "*.png" )
|
|
|
+show_hidden_files = false
|
|
|
+
|
|
|
+
|