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
5dd7a15c09
fix: optimization: PVS-Studio warning V832
...
It's better to use '= default;' syntax instead of empty constructor and destructor body.
Using '= default;' can help the compiler generate more optimal code.
Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 01:57:43 +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
MihailRis
18d473b673
improve parsing error alert
2024-07-24 17:11:43 +03:00
MihailRis
1f257d2db2
Merge branch 'main' into entities
2024-06-30 22:34:51 +03:00
MihailRis
71c754b039
fix Image for non-existing textures in atlas
2024-06-30 22:25:31 +03:00
MihailRis
316233816f
Merge branch 'main' into entities
2024-06-30 22:16:14 +03:00
MihailRis
2dffdf757c
add <image ...> atlases support
2024-06-30 22:05:12 +03:00
MihailRis
ee9f1639e9
refactor Content
2024-06-25 22:37:53 +03:00
MihailRis
d54b6b2e58
update Assets container - template-based now
2024-06-22 22:30:14 +03:00
MihailRis
0eab8ad8f2
fix: world reload fatal error fix
2024-06-11 14:01:18 +03:00
MihailRis
78de9c39d8
fix: TextBox.setCaret fails when font is not ready
2024-06-07 22:38:03 +03:00
Sergwest
ac0408d42a
arch compability fixes and unwarning changes
2024-06-07 22:20:40 +03:00
MihailRis
a5dc187481
fix: function returns by const value
2024-06-07 15:17:32 +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
a57f8f41bb
update: tooltip conditions
2024-06-06 11:29:30 +03:00
MihailRis
d316a5f818
fix: empty tooltip does not trigger reset
2024-06-05 19:10:24 +03:00
MihailRis
2ee2ca7a38
fix: empty textbox double click causes fatal error
2024-06-04 23:20:22 +03:00
MihailRis
98abbfd838
checkbox tooltips fix
2024-06-04 12:47:16 +03:00
MihailRis
df2c024a3e
settings tooltips
2024-06-04 12:44:33 +03:00
MihailRis
c59973505e
added node:destruct()
2024-06-03 09:50:48 +03:00
MihailRis
2d27e5662a
label size fix
2024-05-28 04:02:35 +03:00
MihailRis
030c9ca085
right click item increment fix with stack
2024-05-27 07:19:13 +03:00
MihailRis
43903bb378
memory-related refactor
2024-05-25 09:26:21 +03:00
MihailRis
d437b67580
minor refactor
2024-05-25 09:09:31 +03:00
MihailRis
cc27e4b224
fix: tooltip visibility when cursor is hidden
2024-05-25 06:24:54 +03:00
MihailRis
e3989cb178
added 'tooltip-delay' property
2024-05-24 13:18:20 +03:00
MihailRis
4400efae33
item captions format update
2024-05-24 09:23:26 +03:00
MihailRis
fa985138c4
fix: tooltip getting out of the root container
2024-05-24 09:07:11 +03:00
MihailRis
eb10904069
added tooltips
2024-05-24 08:03:05 +03:00
MihailRis
41ef80e938
checkbox fix
2024-05-22 22:39:27 +03:00
MihailRis
fad9dc85ad
added image.src property
2024-05-22 22:37:17 +03:00
MihailRis
f47c7d00a2
again
2024-05-18 22:17:02 +03:00
MihailRis
35fdd475ee
msvc build fix
2024-05-18 22:13:53 +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
d0b7dec225
'help' command test
2024-05-16 20:50:16 +03:00
MihailRis
d5171f62da
microfix
2024-05-16 14:15:09 +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
e4fe4a6f12
small update
2024-05-14 20:43:46 +03:00
MihailRis
8bf65eef1a
textbox autoresize
2024-05-14 05:05:13 +03:00
MihailRis
1f11290635
more test commands
2024-05-13 21:28:55 +03:00
MihailRis
165525f18c
includes refactor
2024-05-13 03:20:09 +03:00
MihailRis
f8a5f329a4
UINode size-func
2024-05-13 02:57:36 +03:00