Commit graph

295 commits

Author SHA1 Message Date
Yousef Khadadeh
19983c7b1c Tool cursor not drawn on touch devices, and fixed translating objects with touch 2026-03-05 12:36:34 +03:00
Yousef Khadadeh
911b7bc91d GUI now collects events on its own 2026-03-04 12:15:24 +03:00
Yousef Khadadeh
a7030059a4 Grid modify tool and drag drop work with events 2026-03-04 11:03:05 +03:00
Yousef Khadadeh
e39c94ff19 Brush tool works with events 2026-03-03 22:31:48 +03:00
Yousef Khadadeh
4814780bec Pen events passed to tools 2026-03-03 16:01:21 +03:00
Yousef Khadadeh
451bf9b6b2 Screenshot tool works with events 2026-03-03 13:10:27 +03:00
Yousef Khadadeh
6effc6de56 Eraser tool works with events 2026-03-03 12:06:48 +03:00
Yousef Khadadeh
803eb2c08a Use info from events, and textbox place tool works with events 2026-03-03 10:18:47 +03:00
Yousef Khadadeh
3dc2455f13 Ellipse, rectangle, and eye dropper tools use events 2026-03-03 09:54:43 +03:00
Yousef Khadadeh
e6c87ecf87 DrawCamera works on events 2026-03-02 23:09:48 +03:00
Yousef Khadadeh
a53fd7c1dd Line Draw tool works with events 2026-03-02 16:47:09 +03:00
Yousef Khadadeh
eac8610456 Switching to hardcoded callback functions. Selection tools are working with callbacks 2026-03-02 16:36:34 +03:00
Yousef Khadadeh
109fd96b67 Started work on mouse callbacks 2026-03-01 17:28:43 +03:00
Yousef Khadadeh
e1e93b8a31 Setting text box input no longer involves repeatedly setting it each frame 2026-03-01 12:09:27 +03:00
Yousef Khadadeh
8c11141ac5 Start switching to callbacks on SDL input events 2026-02-28 22:47:35 +03:00
Yousef Khadadeh
ae88521b32 Start work on touchscreen support 2026-02-27 16:16:51 +03:00
Yousef Khadadeh
23dbfcfede DrawData is passed to main draw function 2026-02-25 13:26:35 +03:00
Yousef Khadadeh
462443ed0a Removed selection glow code, and moved surface creation code to function 2026-02-16 21:27:42 +03:00
Yousef Khadadeh
a3bde62835 Renamed functions and added a fix for a bug in bring to front/push to back undo 2026-02-10 13:12:53 +03:00
Yousef Khadadeh
9d539367ec Fixed erase_it_list order, and fixed Emscripten bug 2026-02-10 11:33:19 +03:00
Yousef Khadadeh
ed931f0a78 Prevent undo/redo when Edit tool selects an object 2026-02-09 14:30:03 +03:00
Yousef Khadadeh
af32fd46c1 Fixed issues with emscripten build 2026-02-08 19:07:55 +03:00
Yousef Khadadeh
f2f215fa91 Fixed bug with cache not updating 2026-02-07 18:57:32 +03:00
Yousef Khadadeh
89925763cd Calculate accurate brush stroke data in parallel before drawing 2026-02-07 18:49:56 +03:00
Yousef Khadadeh
435ee25848 Update emsdk version, and enable multithreading on web 2026-02-06 08:55:51 +03:00
Yousef Khadadeh
216469fab0 Change cliprect calculation 2026-02-05 16:42:57 +03:00
Yousef Khadadeh
4124104fbc Delete all draw cache on quit 2026-02-04 19:19:29 +03:00
Yousef Khadadeh
fcda17c7d3 Delete window cache surface on quit 2026-02-04 19:15:58 +03:00
Yousef Khadadeh
b5c3c77a95 Fix segfault when sending elements to front/back of multiple layers 2026-02-02 13:36:52 +03:00
Yousef Khadadeh
e750d857da Add parallelization to transform calculation 2026-01-31 14:03:00 +03:00
Yousef Khadadeh
726368fd6f Decrease lock size limits 2026-01-29 20:36:42 +03:00
Yousef Khadadeh
cf28a62e18 Size lock doesn't get removed when zooming in/out too much 2026-01-29 20:33:22 +03:00
Yousef Khadadeh
8a4d9a4f07 Add size lock 2026-01-29 11:48:08 +03:00
Yousef Khadadeh
a73f5e2122 Can edit stroke colors through selection 2026-01-27 16:55:09 +03:00
Yousef Khadadeh
f6c4eeb9f3 Reorganize cache code and call flushAndSubmit in main 2026-01-27 12:40:39 +03:00
Yousef Khadadeh
f46d25b8e6 Save tool configuration, and put close popup infront of other popups 2026-01-26 19:08:36 +03:00
Yousef Khadadeh
2e9e8eaf8b Added cache related settings 2026-01-24 12:31:55 +03:00
Yousef Khadadeh
5db4b745c6 Move objects with arrow keys 2026-01-23 09:37:57 +03:00
Yousef Khadadeh
fe4716765c Added screen space cache 2026-01-21 13:11:01 +03:00
Yousef Khadadeh
f362f02967 Reassign net IDs on move component undo 2026-01-20 16:16:33 +03:00
Yousef Khadadeh
0821f0840e Added bring to front and send to back 2026-01-20 11:59:03 +03:00
Yousef Khadadeh
643e8d54ab Add zoom method that only uses the pen 2026-01-16 17:42:00 +03:00
Yousef Khadadeh
bd2f93a6b4 Added cache clear when layer folders are modified 2026-01-11 09:10:07 +03:00
Yousef Khadadeh
232a029785 Improved SVG screenshot workaround 2026-01-10 22:47:21 +03:00
Yousef Khadadeh
1212780441 Update README.md, and add workaround to get SVG screenshots working again 2026-01-10 22:29:34 +03:00
Yousef Khadadeh
c5bae59e5e Revert dropdowns to original width 2026-01-10 13:46:49 +03:00
Yousef Khadadeh
e760834592 Undo finalized for layer and bookmark managers even when button is clicked to close menu 2026-01-09 15:04:51 +03:00
Yousef Khadadeh
bbdc3c34bf Removed blank space before layer folder name 2026-01-08 20:33:24 +03:00
Yousef Khadadeh
77c3a4af26 Fixed issues in Windows build 2026-01-08 19:44:42 +03:00
Yousef Khadadeh
b9fd39b469 Speed up paste action 2026-01-08 14:02:37 +03:00