Commit graph

39 commits

Author SHA1 Message Date
MihailRis
8c5a549773 cleanup element classes 2026-08-07 22:39:48 +03:00
MihailRis
1d4abd7758 fix selection reset on end reached with shift pressed 2026-05-03 18:12:59 +03:00
MihailRis
843cc3769d fix: manually changing textbox.caret does not reset selection 2026-04-29 23:30:19 +03:00
MihailRis
b0d9a162ca add 'font' xml property to label, button, bindbox, select, textbox 2026-02-16 02:54:54 +03:00
MihailRis
aba18ef836 add 'keep-line-selection' textbox attribute 2025-11-15 14:28:20 +03:00
MihailRis
65b4ac8262 add textbox:indexByPos and :lineY methods 2025-11-14 23:48:02 +03:00
KotIsOff
f3ed3d26c8 typo: greather => greater 2025-10-14 20:46:38 +03:00
MihailRis
edc6810283 fix label font cache 2025-09-30 18:22:39 +03:00
MihailRis
47939c0527 feat: textbox indentation manipulations using tab, shift+tab 2025-08-14 02:24:48 +03:00
MihailRis
881edb7b28 rename keycode, mousecode enumerations 2025-04-02 17:39:31 +03:00
MihailRis
4c48afbb90 refactor: add GUI instance reference to UI nodes 2025-04-02 14:55:53 +03:00
MihailRis
3a4b334d0b feat: 'edited' property reset & add 'oncontrolkey' textbox callback 2025-03-12 19:51:22 +03:00
MihailRis
93f20b1746 add 'edited' read-only textbox property 2025-03-12 02:32:41 +03:00
MihailRis
4c493aff25 add history to TextBox 2025-03-12 01:52:08 +03:00
MihailRis
4c9019e03c small fixes 2025-03-11 00:39:59 +03:00
MihailRis
c7061c70cb fix: console/chat open still available when menu is open & cleanup 2025-02-16 00:38:33 +03:00
MihailRis
31d5cb6880 fix TextBox behavior with markup used 2025-02-15 23:26:32 +03:00
MihailRis
65f208fc61 add textbox.syntax, textbox.markup, label.markup properties 2024-12-06 19:56:38 +03:00
MihailRis
3d484383fc replace 'markdown' (bool) property with 'markup' (str) 2024-12-06 19:36:38 +03:00
MihailRis
80e809f97f add markdown dialect (WIP) & add strikethrough and underline font styles 2024-12-06 17:35:03 +03:00
MihailRis
04b6b6b546 minor refactor 2024-12-05 19:18:53 +03:00
MihailRis
ed3865964b add syntax highlighting (WIP) 2024-12-04 22:13:17 +03:00
MihailRis
c5c9ef379e add textbox:lineAt and textbox:linePos 2024-11-19 05:57:46 +03:00
MihailRis
2cf51a6941 add 'line-numbers' property to textbox & make TextBox extend Container instead of Panel 2024-11-19 04:21:05 +03:00
MihailRis
801650824e add 'text-color' textbox property 2024-11-18 14:03:30 +03:00
MihailRis
d72f758dc5 add 'hint' property to TextBox 2024-11-12 23:20:43 +03:00
MihailRis
699d8ce2bb add 'sub-consumer' to textbox 2024-10-27 21:04:32 +03:00
MihailRis
de5c75d782 replace include guards with pragma once 2024-08-10 01:57:59 +03:00
Pugemon
f25a425cb9 Optimize parameter passing to avoid unnecessary copying 2024-06-07 04:00:38 +03:00
MihailRis
535c7d8326 small fixes 2024-05-18 16:57:04 +03:00
MihailRis
3992ca8291 textbox.caret property 2024-05-17 12:18:39 +03:00
MihailRis
7be1c3f223 textbox onup, ondown callbacks 2024-05-16 13:02:20 +03:00
MihailRis
2bb6ad523e textbox:paste(...) scroll fix 2024-05-16 09:58:47 +03:00
MihailRis
46e9c7dbec Merge branch 'main' into devtools 2024-05-16 06:44:27 +03:00
MihailRis
a678eddb77 double click support 2024-05-16 06:43:53 +03:00
MihailRis
8bf65eef1a textbox autoresize 2024-05-14 05:05:13 +03:00
MihailRis
bcf2f5029d GfxContext renamed to DrawContext 2024-04-30 00:31:13 +03:00
MihailRis
56a8226028 text-wrapping + fix 2024-04-25 02:19:50 +03:00
MihailRis
30a38035e2 the shortcut 2024-04-21 17:12:06 +03:00
Renamed from src/graphics/ui/elements/control/TextBox.hpp (Browse further)