openOutpaint/js/initalize/toolbar.populate.js
2022-12-05 00:26:52 -03:00

33 lines
505 B
JavaScript

const tools = {};
/**
* Dream tool
*/
tools.dream = dreamTool();
tools.img2img = img2imgTool();
/**
* Mask Editing tools
*/
toolbar.addSeparator();
/**
* Mask Brush tool
*/
tools.maskbrush = maskBrushTool();
tools.colorbrush = colorBrushTool();
/**
* Image Editing tools
*/
toolbar.addSeparator();
tools.selecttransform = selectTransformTool();
tools.stamp = stampTool();
/**
* Interrogator tool
*/
toolbar.addSeparator();
tools.interrogate = interrogateTool();
toolbar.tools[0].enable();