Commit graph

76 commits

Author SHA1 Message Date
Yousef Khadadeh
1585e0aa67 Preparing to create a new InputConnection for text input on android 2026-05-05 18:51:10 +03:00
Yousef Khadadeh
8f21dd0a88 Fixed finger move event bug from previous commit 2026-05-04 18:42:08 +03:00
Yousef Khadadeh
155d2523f1 Textbox padding with Android IME fixed 2026-05-04 18:13:47 +03:00
Yousef Khadadeh
b5d4c38024 Separated color picker element into 3 different GUI elements 2026-05-02 22:00:00 +03:00
Yousef Khadadeh
45dbde5da5 Android back button callback added 2026-04-27 17:20:16 +03:00
Yousef Khadadeh
3061c604c5 Readded SDL safe area calculations to GUI 2026-04-25 20:29:51 +03:00
Yousef Khadadeh
bd4d662dd9 Updated SDL and fixed Emscripten build 2026-04-12 17:31:32 +03:00
Yousef Khadadeh
b2fe1ab7ba Improved custom event code and fixed some warnings 2026-04-11 16:36:24 +03:00
Yousef Khadadeh
60af55d4db Readded chat box 2026-04-09 16:30:28 +03:00
Yousef Khadadeh
a181a4d51d Fixed GUI resize 2026-04-07 20:33:48 +03:00
Yousef Khadadeh
3ee17cfd2b Window resize operations moved to event callbacks 2026-04-07 20:21:41 +03:00
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