2022-11-29 14:55:25 -06:00
|
|
|
const tools = {};
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Dream tool
|
|
|
|
*/
|
|
|
|
tools.dream = dreamTool();
|
|
|
|
tools.img2img = img2imgTool();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Mask Editing tools
|
|
|
|
*/
|
|
|
|
toolbar.addSeparator();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Mask Brush tool
|
|
|
|
*/
|
|
|
|
tools.maskbrush = maskBrushTool();
|
2022-12-01 15:10:30 -06:00
|
|
|
tools.colorbrush = colorBrushTool();
|
2022-11-29 14:55:25 -06:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Image Editing tools
|
|
|
|
*/
|
|
|
|
toolbar.addSeparator();
|
|
|
|
|
|
|
|
tools.selecttransform = selectTransformTool();
|
|
|
|
tools.stamp = stampTool();
|
|
|
|
|
2022-12-04 13:42:24 -06:00
|
|
|
/**
|
|
|
|
* Interrogator tool
|
|
|
|
*/
|
|
|
|
toolbar.addSeparator();
|
|
|
|
tools.interrogate = interrogateTool();
|
2022-11-29 14:55:25 -06:00
|
|
|
toolbar.tools[0].enable();
|