Commit graph

65 commits

Author SHA1 Message Date
Yousef Khadadeh
3c5e41af94 Readded file tabs 2026-04-05 20:26:03 +03:00
Yousef Khadadeh
550c31f088 Added textbox edit tool popup menu 2026-04-04 21:31:18 +03:00
Yousef Khadadeh
0087048a02 Working on getting textbox edit tool functional 2026-04-04 17:52:43 +03:00
Yousef Khadadeh
262bf23bce Moved textbox input code out of InputManager 2026-04-03 23:02:33 +03:00
Yousef Khadadeh
58fb02f449 Clamp pen pressure between 0 and 1 2026-04-03 11:10:21 +03:00
Yousef Khadadeh
5cbcc9af80 Image crop bounds limited to not cause integer division by zero error 2026-04-03 11:08:56 +03:00
Yousef Khadadeh
e3af067972 Fixed keybinds 2026-04-02 19:18:39 +03:00
Yousef Khadadeh
d89aabff81 Textbox input runs callbacks 2026-04-02 10:15:22 +03:00
Yousef Khadadeh
ea35397326 Separate general GUI managing code and global configuration from toolbar UI code 2026-03-31 13:17:58 +03:00
Yousef Khadadeh
15e98c6e1f Fixed mistake with vector empty check 2026-03-11 15:48:56 +03:00
Yousef Khadadeh
0406ec3caf Emscripten version compiles 2026-03-07 20:15:20 +03:00
Yousef Khadadeh
057484e119 Removed unnecessary parts of input processing 2026-03-07 14:12:11 +03:00
Yousef Khadadeh
0e732bea40 Fixed rich text modifiers for textbox edit 2026-03-07 13:12:11 +03:00
Yousef Khadadeh
783f645699 Edit tool works with events 2026-03-07 13:00:10 +03:00
Yousef Khadadeh
32b84d0813 Fix zoom with touch breaking when canvas is scaled up 2026-03-06 14:12:13 +03:00
Yousef Khadadeh
23347a5ee6 Using text for number fields to workaround bug on android 2026-03-05 23:53:05 +03:00
Yousef Khadadeh
f3671e667d Send textbox rectangle and textbox type to SDL 2026-03-05 23:34:30 +03:00
Yousef Khadadeh
d38156ec26 Touch events are handled differently in GUI 2026-03-05 21:09:30 +03:00
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
8b46c31bd7 Added 2 finger camera pan, zoom, and rotate 2026-03-05 12:03:10 +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
4814780bec Pen events passed to tools 2026-03-03 16:01:21 +03:00
Yousef Khadadeh
5b6316bd15 Start using pen input events 2026-03-03 14:59:18 +03:00
Yousef Khadadeh
e6c87ecf87 DrawCamera works on events 2026-03-02 23:09:48 +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
d99764822a Wrong win32 flag used 2026-01-12 15:26:58 +03:00
Yousef Khadadeh
101c4327cc Unlock and destroy converted surface before error is thrown 2026-01-12 15:08:22 +03:00
Yousef Khadadeh
350c0bef08 Add more error checking 2026-01-12 15:06:21 +03:00
Yousef Khadadeh
db8418159e Windows clipboard for images improved 2026-01-12 15:02:55 +03:00
Yousef Khadadeh
afaf43823c Working on better support for Windows clipboard 2026-01-12 11:27:41 +03:00
Yousef Khadadeh
340e694bdc Fix image clipboard issue on windows 2026-01-11 16:16:48 +03:00
Yousef Khadadeh
371564c802 Added line tool keybind 2026-01-08 11:19:48 +03:00
Yousef Khadadeh
850882c8ed Add hold to zoom button 2026-01-07 10:34:51 +03:00
Yousef Khadadeh
777a5a6d03 Added keybind to image paste 2026-01-06 19:06:44 +03:00
Yousef Khadadeh
06079f80cd Use string view for image clipboard data 2026-01-05 19:36:44 +03:00
Yousef Khadadeh
875a3760ed Paste images from clipboard added 2026-01-05 19:15:42 +03:00
Yousef Khadadeh
26d807ce87 Completely removed MainServer code. All server code is now part of the program 2025-12-17 14:46:27 +03:00
sid293
bd226e1c07 feat: Add Zoom, Lasso Select, and Pan drawing tools keybindings. 2025-12-10 21:46:08 +05:30
Yousef Khadadeh
244a4fa718 Remove carriage return characters from textboxes 2025-12-03 09:29:51 +03:00
Yousef Khadadeh
716f9222dc Readd emscripten paste by event 2025-12-02 10:14:45 +03:00
Yousef Khadadeh
d57d2f4752 Added text edit right click menu 2025-12-02 09:53:03 +03:00
Yousef Khadadeh
40c64eab62 Rename constants that break in MSVC 2025-11-18 21:39:14 +03:00
Yousef Khadadeh
5e8016b504 Added more default fonts, and fixed issue with font selector at different GUI scales 2025-11-15 14:05:05 +03:00
Yousef Khadadeh
b0b04a28c8 Can now undo/redo styles 2025-11-12 14:54:46 +03:00
Yousef Khadadeh
94438c7b97 Added undo and redo to textbox 2025-11-12 11:36:14 +03:00
Yousef Khadadeh
f5d496bc45 Use emscripten rich text clipboard method in native version as well to fix character encoding issues 2025-11-12 11:07:40 +03:00