Commit graph

30 commits

Author SHA1 Message Date
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
5cbcc9af80 Image crop bounds limited to not cause integer division by zero error 2026-04-03 11:08:56 +03:00
Yousef Khadadeh
10217e97f4 Fixed file picker and scroll area clipping region 2026-04-01 21:49:44 +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
d973bde4be Added None and Skia antialiasing options in debug menu 2026-03-20 20:53:59 +03:00
Yousef Khadadeh
783f645699 Edit tool works with events 2026-03-07 13:00:10 +03:00
Yousef Khadadeh
244a4fa718 Remove carriage return characters from textboxes 2025-12-03 09:29:51 +03:00
Yousef Khadadeh
6b9a0562f6 Upped version number, improved text selection, and replaced noto kufi arabic with amiri 2025-12-02 11:05:16 +03:00
Yousef Khadadeh
e1e28416d4 Improved tight word selection 2025-11-28 09:46:18 +03:00
Yousef Khadadeh
ae096b524e Add select by words and select by paragraphs 2025-11-27 16:12:32 +03:00
Yousef Khadadeh
da7f8af582 Tabs can be properly rendered in textbox, and don't convert to spaces 2025-11-27 13:55:07 +03:00
Yousef Khadadeh
700238ffee Place ParagraphStyleData in RichText namespace 2025-11-27 10:54:56 +03:00
Yousef Khadadeh
2fb56bc5c5 Make selection area and cursor more visible 2025-11-24 20:07:35 +03:00
Yousef Khadadeh
23b60af529 Add text highlight 2025-11-24 17:45:21 +03:00
Yousef Khadadeh
40c64eab62 Rename constants that break in MSVC 2025-11-18 21:39:14 +03:00
Yousef Khadadeh
a99b0e920d Use FontData everywhere 2025-11-16 10:42:01 +03:00
Yousef Khadadeh
4fe52ef7f6 If first character in GUI textbox is right to left, set the textbox direction to that 2025-11-16 09:41:09 +03:00
Yousef Khadadeh
9120062889 GUI Textbox contents move with cursor again 2025-11-15 18:59:58 +03:00
Yousef Khadadeh
8435816940 Fixed bug where rich text formatting isnt copied when selecting from a specific direction 2025-11-15 17:49:05 +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
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
afe1623cf8 Added rich text clipboard 2025-11-11 17:42:41 +03:00
Yousef Khadadeh
c7cea45e9c Paragraph style copied in HTML 2025-11-11 12:16:11 +03:00
Yousef Khadadeh
9cdac48374 Can now extract formatted HTML from rich textbox 2025-11-11 11:46:02 +03:00
Yousef Khadadeh
c2e3fd553e Text cursor position is more accurate when paragraph is empty 2025-11-10 17:32:47 +03:00
Yousef Khadadeh
def4ccb984 Added UI to change paragraph style 2025-11-10 16:49:02 +03:00
Yousef Khadadeh
435d9346a9 Created RichText namespace, and tweaked scrollbar behaviour 2025-11-10 14:45:51 +03:00