68 Commits

Author SHA1 Message Date
MihailRis
d745a34657 refactor 2024-12-18 04:13:33 +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
605d7e7897 small fixes 2024-12-05 22:36:12 +03:00
MihailRis
84b3b82dba refactor & optimize xml parser 2024-12-05 20:12:02 +03:00
MihailRis
ed3865964b add syntax highlighting (WIP) 2024-12-04 22:13:17 +03:00
MihailRis
69df0eba1b add 'taking' and 'placing' xml properties to slot and slots-grid 2024-11-25 07:12:40 +03:00
MihailRis
2412699b89 add 'scroll-step' property to container 2024-11-19 06:46:54 +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
f43cc93cd2 update project includes format 2024-08-10 01:37:48 +03:00
InfiniteCoder
85239004e3 window/ 2024-08-06 00:07:33 +03:00
InfiniteCoder
54f15ecaea maths/ 2024-08-06 00:06:23 +03:00
InfiniteCoder
9283aa605f frontend/ 2024-08-06 00:01:27 +03:00
InfiniteCoder
7f75c454c8 logic/ 2024-08-05 23:23:28 +03:00
InfiniteCoder
5c9bc83bbd items/ + objects/ + util/ 2024-08-04 22:26:08 +03:00
Vyacheslav Ivanov
2cd6837da9
fix: optimization: PVS-Studio warning V836
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 20:03:34 +03:00
Vyacheslav Ivanov
8c5e5559ec fix: optimization: PVS-Studio warning V831
Replaced 'at()' method with 'operator[]' to improve performance.

The 'at()' method performs bounds checking, which can introduce overhead. Using 'operator[]' bypasses this check and can improve performance when you are certain that the index is within bounds.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:46:29 +03:00
MihailRis
ba046a52c0
Revert "fix: optimization: Various PVS-Studio warnings" 2024-08-02 14:51:44 +03:00
Vyacheslav Ivanov
f3f872c7a3
fix: optimization: PVS-Studio warning V831
Replaced 'at()' method with 'operator[]' to improve performance.

The 'at()' method performs bounds checking, which can introduce overhead. Using 'operator[]' bypasses this check and can improve performance when you are certain that the index is within bounds.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 02:38:54 +03:00
Vyacheslav Ivanov
73e721513c
fix: optimization: PVS-Studio warning V836
Expression's value is copied at variable declaration.
The variable is never modified. Consider declaring it as a reference.

Changed variables to be a reference to avoid unnecessary copy.

Reported by: PVS-Studio

Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-01 23:40:28 +03:00
MihailRis
f46e4a7989 add trackbar 'sub-consumer' for value label refresh when 'change-on-release' 2024-07-28 22:15:18 +03:00
MihailRis
8ca12127db add 'change-on-release' trackbar property & fix mouseRelease event timing 2024-07-28 12:38:31 +03:00
Pugemon
e98fb9a1a7 Optimize container insertions using emplace_back instead of push_back 2024-06-07 04:43:27 +03:00
Pugemon
f25a425cb9 Optimize parameter passing to avoid unnecessary copying 2024-06-07 04:00:38 +03:00
MihailRis
e3989cb178 added 'tooltip-delay' property 2024-05-24 13:18:20 +03:00
MihailRis
eb10904069 added tooltips 2024-05-24 08:03:05 +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
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
f8a5f329a4 UINode size-func 2024-05-13 02:57:36 +03:00
MihailRis
9522aedeec quick check with linters 2024-05-10 12:34:05 +03:00
MihailRis
1627e21c1d the final rename 2024-05-06 03:38:19 +03:00
MihailRis
f27a418dbe however 2024-05-06 03:15:27 +03:00
MihailRis
6b037ec7e8 hpp+ 2024-05-06 01:27:24 +03:00
MihailRis
9ea67deb13 'ifnot' template property + hpp 2024-05-06 00:45:43 +03:00
MihailRis
8b1c102cfe default multiline labels valign set to 'top' + content panel width increased 2024-05-05 23:37:40 +03:00
MihailRis
7f8a86b740 minor refactor 2024-05-05 20:08:25 +03:00
MihailRis
7c5e15fade dependencies lock 2024-05-04 16:05:05 +03:00
MihailRis
2380375f3c settings menu update + UINode 'enabled' property 2024-04-30 16:41:44 +03:00
MihailRis
8c86bcae54 pagebox element 2024-04-30 06:20:46 +03:00
MihailRis
beaeba43af InventoryView inventory property 2024-04-29 15:18:45 +03:00
MihailRis
167388aefb track-width fixes 2024-04-28 20:09:55 +03:00
MihailRis
56a8226028 text-wrapping + fix 2024-04-25 02:19:50 +03:00
MihailRis
051f0b8c6a rename 2024-04-23 18:43:02 +03:00
MihailRis
30a38035e2 the shortcut 2024-04-21 17:12:06 +03:00