Pixel-Composer/scripts/__canvas_tool/__canvas_tool.gml

38 lines
830 B
Plaintext
Raw Normal View History

2024-04-12 11:45:21 +02:00
function canvas_tool() constructor {
node = noone;
2024-04-14 07:58:38 +02:00
rightTools = [];
2024-04-13 07:32:04 +02:00
override = false;
2024-04-12 11:45:21 +02:00
relative = false;
relative_position = [ 0, 0 ];
drawing_surface = noone;
_canvas_surface = noone;
apply_draw_surface = noone;
brush_resizable = false;
mouse_holding = false;
2024-07-04 13:51:04 +02:00
use_color_3d = false;
2024-04-13 07:32:04 +02:00
subtool = 0;
2024-04-16 10:34:05 +02:00
function disable() {
PANEL_PREVIEW.tool_current = noone;
}
function getTool() { return self; }
2024-04-13 07:32:04 +02:00
function init() {}
2024-04-14 07:58:38 +02:00
function step(hover, active, _x, _y, _s, _mx, _my, _snx, _sny) {}
2024-04-12 11:45:21 +02:00
2024-04-14 07:58:38 +02:00
function drawPreview(hover, active, _x, _y, _s, _mx, _my, _snx, _sny) {}
2024-04-12 11:45:21 +02:00
2024-04-14 07:58:38 +02:00
function drawOverlay(hover, active, _x, _y, _s, _mx, _my, _snx, _sny) {}
2024-04-12 11:45:21 +02:00
2024-04-14 07:58:38 +02:00
function drawPostOverlay(hover, active, _x, _y, _s, _mx, _my, _snx, _sny) {}
2024-04-12 11:45:21 +02:00
2024-04-14 07:58:38 +02:00
function drawMask(hover, active, _x, _y, _s, _mx, _my, _snx, _sny) {}
2024-04-12 11:45:21 +02:00
}