1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-19 01:29:49 +00:00

Organize the selection tool files in a new folder

This commit is contained in:
Manolis Papadeas 2021-04-28 03:06:03 +03:00
parent b3d581bad4
commit 708a1ddc20
9 changed files with 10 additions and 10 deletions

View file

@ -39,9 +39,9 @@ class Slot:
signal color_changed(color, button)
var _tools = {
"RectSelect" : "res://src/Tools/RectSelect.tscn",
"ColorSelect" : "res://src/Tools/ColorSelect.tscn",
"MagicWand" : "res://src/Tools/MagicWand.tscn",
"RectSelect" : "res://src/Tools/SelectionTools/RectSelect.tscn",
"ColorSelect" : "res://src/Tools/SelectionTools/ColorSelect.tscn",
"MagicWand" : "res://src/Tools/SelectionTools/MagicWand.tscn",
"Move" : "res://src/Tools/Move.tscn",
"Zoom" : "res://src/Tools/Zoom.tscn",
"Pan" : "res://src/Tools/Pan.tscn",

View file

@ -1,4 +1,4 @@
extends "res://src/Tools/SelectionTool.gd"
extends "res://src/Tools/SelectionTools/SelectionTool.gd"
func draw_move(_position : Vector2) -> void:

View file

@ -1,7 +1,7 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://src/Tools/BaseTool.tscn" type="PackedScene" id=1]
[ext_resource path="res://src/Tools/ColorSelect.gd" type="Script" id=2]
[ext_resource path="res://src/Tools/SelectionTools/ColorSelect.gd" type="Script" id=2]
[node name="ToolOptions" instance=ExtResource( 1 )]
script = ExtResource( 2 )

View file

@ -1,4 +1,4 @@
extends "res://src/Tools/SelectionTool.gd"
extends "res://src/Tools/SelectionTools/SelectionTool.gd"
func draw_move(_position : Vector2) -> void:

View file

@ -1,7 +1,7 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://src/Tools/BaseTool.tscn" type="PackedScene" id=1]
[ext_resource path="res://src/Tools/MagicWand.gd" type="Script" id=2]
[ext_resource path="res://src/Tools/SelectionTools/MagicWand.gd" type="Script" id=2]
[node name="ToolOptions" instance=ExtResource( 1 )]
script = ExtResource( 2 )

View file

@ -1,4 +1,4 @@
extends "res://src/Tools/SelectionTool.gd"
extends "res://src/Tools/SelectionTools/SelectionTool.gd"
var _rect := Rect2(0, 0, 0, 0)

View file

@ -1,7 +1,7 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://src/Tools/BaseTool.tscn" type="PackedScene" id=1]
[ext_resource path="res://src/Tools/RectSelect.gd" type="Script" id=2]
[ext_resource path="res://src/Tools/SelectionTools/RectSelect.gd" type="Script" id=2]
[node name="ToolOptions" instance=ExtResource( 1 )]
script = ExtResource( 2 )

View file

@ -1,7 +1,7 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://src/Tools/BaseTool.tscn" type="PackedScene" id=1]
[ext_resource path="res://src/Tools/SelectionTool.gd" type="Script" id=2]
[ext_resource path="res://src/Tools/SelectionTools/SelectionTool.gd" type="Script" id=2]
[node name="ToolOptions" instance=ExtResource( 1 )]
script = ExtResource( 2 )