86 Commits

Author SHA1 Message Date
MihailRis
3498af6be9 cleanup 2025-04-21 21:53:27 +03:00
MihailRis
32af745eb9 feat: translated textbox hints support 2025-04-20 13:09:08 +03:00
MihailRis
71d3756902 add iframe ui element 2025-04-19 18:31:12 +03:00
MihailRis
3be8546bf4 refactor enums: CursorShape, InterpolationType, ParticleSpawnShape 2025-04-13 14:18:50 +03:00
MihailRis
9694a59649 refactor: add Window interface 2025-04-02 14:59:53 +03:00
MihailRis
b202d1455b refactor: replace references to Events with Input 2025-04-02 14:55:53 +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
fa990e3939 add '@' prefix support to tooltips 2025-03-11 16:19:33 +03:00
MihailRis
37c7ffa7b0 add BasePanel & add padding property to SplitBox 2025-03-11 00:39:59 +03:00
MihailRis
9a01b5ad2d add splitbox ui element 2025-03-11 00:39:59 +03:00
MihailRis
a0210c82ce reformat gui_xml.cpp 2025-01-22 08:38:37 +03:00
MihailRis
02554e469a refactor 2025-01-22 08:18:17 +03:00
ShadelessFox
ee31f401aa
Add canvas UI node 2025-01-19 14:11:56 +01:00
MihailRis
209490192c add 'min-size' ui property 2025-01-18 06:37:27 +03:00
MihailRis
0ce5e23a2a add 'min-length' panel property 2025-01-18 05:55:02 +03:00
MihailRis
0a1a16299e move menu pages loader to Lua & add gui.load_document, file.ext(), file.prefix() & add core:gui_util module 2025-01-06 16:07:16 +03:00
MihailRis
cb9690ebc7 add 'cursor' ui property 2024-12-30 21:41:05 +03:00
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