Commit Graph

212 Commits

Author SHA1 Message Date
a7f1f3356c Re-extracted class docs pt2. 2023-06-13 16:51:37 +02:00
a29534ed66 Fixed the tooltip of the Add Paint Canvas button of the PaintProjectToolsPropertyInspector. 2023-03-04 21:39:09 +01:00
227e32b67c Now modules make use of the new registration levels. 2023-01-15 17:04:00 +01:00
8075ef8e62 Added include guards to all module register_types.h-s. 2023-01-15 13:27:08 +01:00
e9a19c1a66 Added module initialization levels (similar idea to what's in godot4, although I added more). 2023-01-15 11:46:13 +01:00
fc991ede18 Re-extracted class docs. 2023-01-14 13:38:58 +01:00
0ef41c62af Added COPYRIGHT.txt for the paint module. 2022-12-31 21:38:08 +01:00
b240df7df6 Updated more copyright headers for 2023. 2022-12-31 21:07:05 +01:00
b46ab0f4a7 Updated copyright headers to 2023. 2022-12-31 19:34:43 +01:00
e0d09a2633 Clear using the color (0, 0, 0, 0), instead of (1, 1, 1, 0) in the paint module. 2022-11-28 15:02:02 +01:00
900605e2c9 Added a button that adds PaintCanvas to the PaintProjectToolsPropertyInspector. 2022-11-20 23:54:58 +01:00
13c45b16fa Add PaintProject Node instead of PaintCanvas when using the SceneTreeDock's root node button as intended. 2022-11-20 23:40:42 +01:00
41f130d9fd Re-extracted the class docs. 2022-11-20 23:27:04 +01:00
73a1c176b4 List all classes in the paint modules's config. 2022-11-20 23:26:31 +01:00
9dda076070 Moved the PaintEditorPlugin under the editor folder in the paint module. 2022-11-20 23:18:31 +01:00
6c0008a912 Added custom Paint, Web, and Mesh (MDI) nodes to the SceneTreeDock. 2022-11-20 23:16:20 +01:00
b823759397 Now PaintVisualGrid and PaintCanvasBackground inherits from PaintNode. 2022-11-20 21:42:04 +01:00
c0da82ab92 Also removed PaintSelectionBox. 2022-11-20 21:38:55 +01:00
1d7ad33407 Renamed on_paint_node_selected to set_paint_node in PaintCustomPropertyInspectors. 2022-11-20 21:23:00 +01:00
8c98ec9883 Removed now unneeded images from the paint module. 2022-11-20 21:19:53 +01:00
ff1dbced6d Removed PaintCanvasOutline and PaintColorGrid aswell. 2022-11-20 21:17:41 +01:00
5c9aa754d7 Removed most of the deprecated classes from the paint module. 2022-11-20 21:11:40 +01:00
0539b70aee Ported the PaintInspectorPlugin. 2022-11-20 21:01:54 +01:00
7a9ed010d1 Added a new pixel resize tool to PaintToolsPropertyInspector. 2022-11-20 20:49:30 +01:00
07299fdbf6 Removed the button properties from PaintProject. 2022-11-20 20:07:31 +01:00
1354b15817 Added Add Paint Visual Grid and Add Paint Canvas Background buttons to the PaintProjectToolsPropertyInspector. 2022-11-20 20:06:10 +01:00
eea5cf4e20 Added set colors as default button to PaintProjectToolsPropertyInspector. 2022-11-20 20:00:24 +01:00
98ac4b9265 Implemented export and export as tools for the PaintProjectToolsPropertyInspector. 2022-11-20 19:49:45 +01:00
b2cbd6e759 Cleanups to PaintToolsPropertyInspector. 2022-11-20 19:49:21 +01:00
73dc6be1da Added export and import tool to the PaintToolsPropertyInspector. 2022-11-20 18:57:11 +01:00
fede24767d New icon for the pastecut tool in PaintToolsPropertyInspector. 2022-11-20 17:40:27 +01:00
9fcf3b8532 PaintEditorPlugin now won't send input events to the active PaintNode, if CanvasItemEditor's currently selcted tool isn't TOOL_SELECT. 2022-11-20 16:04:39 +01:00
5514c64c86 Removed unneeded ScrollContainer form PaintProjectToolsPropertyInspector. 2022-11-20 15:59:38 +01:00
6ad8f67551 Fix warning. 2022-11-20 02:55:12 +01:00
fcdce8336c Cleaned up my original prototype render_paint_node implementation. Now it's fast. 2022-11-20 02:44:27 +01:00
240bfa8ed5 Rewrote render_paint_node now it works without leaving pixels out, but it is an extermely inefficient implementation. It will be reworked soon. 2022-11-20 02:35:02 +01:00
e5fd8cd2b5 Added the ability for PaintNode rendering to skip evaluating certain PaintNode's childrens. 2022-11-19 23:19:41 +01:00
9141997c87 Changed the prefix of the image saving related helpers from save to render. 2022-11-19 23:12:06 +01:00
fb4aa87663 Initial image rendering implementation for PaintNodes. 2022-11-19 23:06:56 +01:00
4eec1ffcb4 Implemented serialization for PaintCanvas image data. 2022-11-19 20:43:40 +01:00
f1bda28b11 Cleaned up PaintNode resize notifications. Also now PaintCanvas allocates and resizes it's internal images properly. 2022-11-19 19:26:19 +01:00
629ec81669 Added a new PaintProjectToolsPropertyInspector class. 2022-11-19 15:41:52 +01:00
be9493a25a Structural setup for saving images for PaintProjects. 2022-11-19 13:45:14 +01:00
cebc26f3ce Also handle NOTIFICATION_PAINT_NODE_RESIZED in PaintVisualGrid and PaintCanvasBackground. Note that they won't yet get that notification. 2022-11-19 13:21:05 +01:00
50cf64b7f1 Added a few notifications to PaintNodes. 2022-11-19 13:17:30 +01:00
9f8f6cb3b4 Now PaintCanvasBackground and PaintVisualGrid will automatically size themselves to a parent PaintNode if they can. 2022-11-19 13:16:54 +01:00
17842720a5 Added helper methods to PaintProject for creating PaintCanvasBackground and PaintVisualGrid. 2022-11-19 12:22:10 +01:00
71a455687d Cleaned up PaintVisualGrid. 2022-11-19 02:31:39 +01:00
d7ccaff144 More cleanups to PaintCanvasBackground. 2022-11-19 02:31:02 +01:00
5c38af1d1a Reworked PaintCanvasBackground. Now it draws it's pattern using canvas draw commands. 2022-11-19 02:20:52 +01:00