Commit Graph

19 Commits

Author SHA1 Message Date
4f937cd49d Small cleanups. 2022-11-18 22:34:42 +01:00
45c22ab9fd Reimplemented undo and redo for PaintCanvas. 2022-11-18 22:08:53 +01:00
27d8d36030 Reimplemented the preview layer. 2022-11-18 14:25:49 +01:00
bd7f0c2dfd Don't erase the last cut data from the pastecut tool when switching from it. 2022-11-18 14:12:09 +01:00
a0a7b778ca Small improvements and fixed cut and paste tool. 2022-11-18 14:05:57 +01:00
0474e50c53 Right click will go back from the bucket tool to the previous tool. 2022-11-18 13:45:22 +01:00
da9b93fef6 Fixed the bucket tool. 2022-11-18 13:42:01 +01:00
3c69709c19 Work on fixing all the tools. 2022-11-18 12:28:14 +01:00
518383266b Always call tool_process in handle_mouse_button_down. 2022-11-18 11:29:07 +01:00
75ae11780b Update textures in commit_action(). 2022-11-18 11:26:20 +01:00
3f4d2fa840 Implemented more tools. 2022-11-18 01:26:33 +01:00
a76e7509f4 Updated the engine. Also use the new PaintToolsPropertyInspector. 2022-11-17 11:57:04 +01:00
912e9b2f79 Test inspector plugin. 2022-11-16 23:43:04 +01:00
0c6ed1316a Initial action implementation. 2022-11-16 22:13:06 +01:00
a58c95caaf Use the current color for drawing. 2022-11-16 14:22:24 +01:00
6ac6df6e7d Initial draw implementation for the PaintCanvas. Also udpated the engine to get the required changes. 2022-11-16 14:18:00 +01:00
355378f4d5 Initial structural setup for editing PaintCanvases. 2022-11-16 00:30:49 +01:00
d816595a03 Moved mockup related classes under a new folder. 2022-11-15 16:44:36 +01:00
6058ab8b49 Class design mockup. I think this will fix every issue with the current paint module. It's main downside will be that it will depend on the editor a lot more, so it will need to have more code if it needs to run in-app (not that much more code though, and mostly copy paste level stuff). 2022-11-14 16:53:39 +01:00