Commit Graph
107 Commits
Author SHA1 Message Date
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 IvanovandMihailRis 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
MihailRisandGitHub 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
MihailRis 635e512142 scriptenv? 2024-04-21 15:41:47 +03:00
MihailRis ed51751daa graphics/ui/elements/controls deleted 2024-04-20 22:52:26 +03:00
MihailRis 85f7febd30 graphics/ui/elements/containers deleted 2024-04-20 21:48:26 +03:00
MihailRis b9ea88b988 settings page completely moved to xml 2024-04-20 15:52:55 +03:00
MihailRis 9cdf3ff016 settings panel moved to xml (WIP) 2024-04-20 03:01:37 +03:00
MihailRis 7cb5b2eb70 controls panel moved to xml 2024-04-19 16:07:06 +03:00
MihailRis 64820020f8 content menu moved to xml (no icons yet) 2024-04-18 22:15:23 +03:00
MihailRis fbc2cc5ce9 gui fixes 2024-04-17 01:25:09 +03:00
MihailRis 8384ecf2c7 Merge branch 'main' into worldwide-refactor 2024-04-14 15:13:57 +03:00
MihailRis c8ca56fb8e minor refactor 2024-04-10 19:55:03 +03:00
MihailRis 6f351e2b79 onclick event moved to UINode 2024-03-20 18:56:49 +03:00