Commit graph

43 commits

Author SHA1 Message Date
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
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
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
ae88521b32 Start work on touchscreen support 2026-02-27 16:16:51 +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
sid293
bd226e1c07 feat: Add Zoom, Lasso Select, and Pan drawing tools keybindings. 2025-12-10 21:46:08 +05:30
Yousef Khadadeh
d57d2f4752 Added text edit right click menu 2025-12-02 09:53:03 +03:00
Yousef Khadadeh
6839e529c1 Use std::filesystem::path and u8string to ensure UTF-8 is used for paths on Windows 2025-11-21 08:35:47 +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
Yousef Khadadeh
9eeee0dfff Added richtext clipboard to Emscripten and fixed emscripten compilation warning 2025-11-12 09:00:03 +03:00
Yousef Khadadeh
8830386dc0 Copy paragraph styles in rich text, and make plain text clipboard work in web version again 2025-11-11 22:21:25 +03:00
Yousef Khadadeh
cdbff3c043 Started work on getting emscripten clipboard working with rich text 2025-11-11 18:48:08 +03:00
Yousef Khadadeh
afe1623cf8 Added rich text clipboard 2025-11-11 17:42:41 +03:00
Yousef Khadadeh
435d9346a9 Created RichText namespace, and tweaked scrollbar behaviour 2025-11-10 14:45:51 +03:00
Yousef Khadadeh
e0143f49f0 Text modifiers now apply to text that will be inserted later 2025-11-09 16:24:40 +03:00
Yousef Khadadeh
4db5838a64 Using new RichTextBox instead of CollabTextBox in program. Fixes still needed to work properly 2025-10-20 17:30:36 +03:00
Yousef Khadadeh
e507473e3a Started working on RichTextBox (Broken commit) 2025-10-16 21:22:08 +03:00
Yousef Khadadeh
b6a4a65b98 Can now double click on tablets 2025-09-29 17:05:53 +03:00
Yousef Khadadeh
b58e11c703 Press escape to deselect, stop editing elements, and go back to edit tool 2025-09-29 15:15:16 +03:00
Yousef Khadadeh
d52fe2ded2 Hold space to temporary switch to pan tool 2025-09-28 18:25:46 +03:00
Yousef Khadadeh
1a5815a994 Can now add and remove from selection using shift and alt 2025-08-05 19:04:47 +03:00
Yousef Khadadeh
137b1603e5 Renamed ink dropper to eye dropper 2025-08-05 12:11:50 +03:00
Yousef Khadadeh
6088fc29ed Initial Commit 2025-07-06 20:43:53 +03:00