Commit graph

636 commits

Author SHA1 Message Date
Yousef Khadadeh
f944cb8a68 Fixed color picker 2026-04-01 12:50:55 +03:00
Yousef Khadadeh
fcdf1944f7 Y scrollbar added to scroll area 2026-04-01 10:18:38 +03:00
Yousef Khadadeh
732261b58c Fixed about menu 2026-03-31 21:21:49 +03:00
Yousef Khadadeh
80afacfcbd Fixed rotation wheel 2026-03-31 20:52:46 +03:00
Yousef Khadadeh
ed36036aea Fixed cursor obstruction issues and hiding main menu popup issues 2026-03-31 18:41:19 +03:00
Yousef Khadadeh
16c3097534 Working on getting GUI functional again 2026-03-31 17:33:09 +03:00
Yousef Khadadeh
f3fde56dcf Program runs with moved code 2026-03-31 13:33:15 +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
2abe7271a8 Fixed some layout problems 2026-03-30 19:41:18 +03:00
Yousef Khadadeh
2ad5684594 Fixed multiple segfaults 2026-03-30 18:51:14 +03:00
Yousef Khadadeh
b4c35124c3 More GUI code moved to events, code now compiles but application doesn't run 2026-03-30 17:05:24 +03:00
Yousef Khadadeh
3566b7e563 More GUI code changes (broken build) 2026-03-30 12:32:41 +03:00
Yousef Khadadeh
644bb85d99 Continuing with GUI move to events, and fixed build system missing EGL (broken build) 2026-03-29 20:23:38 +03:00
Yousef Khadadeh
ef7dfcef05 Starting work on moving GUI to event system (doesnt compile) 2026-03-27 09:51:53 +03:00
Yousef Khadadeh
f1a855edc3 Android SDL built from source 2026-03-23 10:04:32 +03:00
Yousef Khadadeh
d6a9318969 Remove log messages 2026-03-22 20:16:15 +03:00
Yousef Khadadeh
e5394c3830 Enable skia AA in textboxes 2026-03-21 10:12:33 +03:00
Yousef Khadadeh
4a0ccc001a Moved anti-aliasing to general settings 2026-03-21 07:59:46 +03:00
Yousef Khadadeh
d973bde4be Added None and Skia antialiasing options in debug menu 2026-03-20 20:53:59 +03:00
Yousef Khadadeh
30fdec05c1 Increase DRAW_MINIMUM_LIMIT 2026-03-20 19:24:46 +03:00
Yousef Khadadeh
10ee12254c Improved visibility of brush, eraser, and selection tools 2026-03-20 16:24:52 +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
9a1c2e516e Revert GUI tap changes for now, as GUI doesnt work properly when program is lagging 2026-03-07 16:46: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
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
fe37c3348b Screenshot tool and saving/reading files works on android 2026-03-05 15:03:05 +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
ac911f3f87 Rename SDL3 lib file 2026-03-04 13:56:21 +03:00
Yousef Khadadeh
167108db7d GUI now (mostly) reacts on tap (left click release) instead of left clicks 2026-03-04 13:50:15 +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
5b6316bd15 Start using pen input events 2026-03-03 14:59:18 +03:00
Yousef Khadadeh
451bf9b6b2 Screenshot tool works with events 2026-03-03 13:10:27 +03:00
Yousef Khadadeh
017102a2b1 Fixed clay ID error 2026-03-03 12:11:11 +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
3016549f57 Removing SDL3 precompilied library 2026-03-02 23:42:08 +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