Commit Graph

77 Commits

Author SHA1 Message Date
fae3eabc8c Fix property setter. 2022-06-22 00:43:52 +02:00
b8541c8e9d Fix typo. 2022-06-21 23:05:26 +02:00
45d8f98459 Fixed resizing the canvas. Also now the new menu will clear all layers. 2022-06-21 22:58:54 +02:00
fed839a235 Fix resizing PaintCanvas. 2022-06-21 22:27:44 +02:00
81e959089e Better color for the visual grid. 2022-06-21 21:10:20 +02:00
181ec8f642 Hide the magic menu button. 2022-06-21 21:03:10 +02:00
6939e22983 Fix PasteCutAction. 2022-06-21 20:26:05 +02:00
118fd74a10 Improvements to commit_action()'s logic. 2022-06-21 20:02:33 +02:00
ec82662b10 Fix RainbowAction. 2022-06-21 19:40:47 +02:00
04a8f1d3d2 Fix BucketAction. 2022-06-21 19:21:50 +02:00
50530c4f79 Fix undo and redo order. 2022-06-21 19:15:07 +02:00
10eeb612b0 Also set up layer. 2022-06-21 19:11:46 +02:00
8fe7110dc9 Remove a now uneeded method. 2022-06-21 18:54:33 +02:00
ab5b32cedf Use duplicate(). 2022-06-21 18:54:23 +02:00
1f3ef7782f Bindings for the rest of the actions. 2022-06-21 18:47:22 +02:00
d68d3fa340 Created binds for PaintAction. 2022-06-21 18:04:31 +02:00
233e128dc3 Register the actions to the classdb. 2022-06-21 17:12:03 +02:00
bd609fd96a Now PaintAction inherits from Resource instead of Reference. 2022-06-21 17:04:09 +02:00
2f647c1561 Improved copying the data from an action to an another. I'll try an another solution though. 2022-06-21 17:02:39 +02:00
004bf8e812 Fixed LineAction and RectAction. 2022-06-21 16:35:19 +02:00
918a246ef4 Fixed the tool layer. 2022-06-21 16:28:17 +02:00
1ef976c007 Remove unecessary check. 2022-06-21 16:22:41 +02:00
328af63ad1 Small improvements and simplifications for PaintCanvas. 2022-06-21 14:42:51 +02:00
0483521818 Ported CutAction. 2022-06-21 13:13:41 +02:00
f462e22536 Ported RainbowAction. 2022-06-21 10:52:18 +02:00
cfee15aa52 Ported MultilineAction. 2022-06-21 10:37:22 +02:00
1e979d3061 Ported RectAction. 2022-06-21 10:08:41 +02:00
ad3a5aa196 Ported PasteCutAction. 2022-06-21 00:34:47 +02:00
bafde8e9db Ported LineAction. 2022-06-20 23:22:52 +02:00
61a8942070 Ported DarkenAction. 2022-06-20 22:57:44 +02:00
3db7c40a46 Fixed the up and down arrows of the paint layers. 2022-06-20 22:21:52 +02:00
d8185be48f Fix the initial canvas size for the paint module. 2022-06-20 21:06:44 +02:00
b60b5f79c2 Fix crash in PaintWindow's undo. 2022-06-20 20:42:05 +02:00
b2d2a6fbe5 Fixed BrushAction. 2022-06-20 01:47:20 +02:00
5f683261ff Reimplemented the PaintVisualGrid differently. 2022-06-20 00:59:32 +02:00
5e03f0f82b Register PaintWindow, and also enable the PaintEditorPlugin by default. The paint module is still a bit buggy though, I'm hoping to fix most of it's isues in the next few days. 2022-06-20 00:12:33 +02:00
1ca15c44e4 Fix typo in PencilAction. 2022-06-20 00:10:51 +02:00
f3a3fdfd75 Ported get_points in PaintAction. 2022-06-20 00:10:31 +02:00
aa38f53ed2 Fix typo. 2022-06-11 21:17:26 +02:00
f0ac767970 Compare as boolean. 2022-06-11 20:57:03 +02:00
38ff41c893 Fix handling input for the PaintWindow. 2022-06-11 20:56:41 +02:00
bb303112fe Move paint's shader to an another folder to avoid unused variable warning. 2022-04-19 00:10:39 +02:00
ecda65d37b Fix an another shadoved declaration. 2022-04-18 23:41:49 +02:00
4813832b92 Fix shadowed declaration warning. 2022-04-18 19:34:52 +02:00
396426aa12 Skip registering PaintEditorPlugin for now, as the module will need lots of refactorings and I need to think about them more. 2022-04-18 16:33:37 +02:00
701e07a2cd Typo fix. 2022-04-18 16:26:01 +02:00
81e9a54129 The PaintCanvasBackgorund needs draw behind parent set. 2022-04-18 15:45:24 +02:00
7abae2b54e Properly ported PaintCanvasBackground. 2022-04-18 15:32:55 +02:00
71ac7bc4e3 Bit more work on porting PaintActions. 2022-04-18 14:10:21 +02:00
111daab50e Switched to it in a few places. 2022-04-18 13:00:14 +02:00