Commit Graph
53 Commits
Author SHA1 Message Date
MihailRis 0d4838facf feat: autoresize (extend/shrink) canvas element 2025-11-13 18:06:47 +03:00
MihailRis ef656e9ff1 revert non-throwing 'id' and add 'exists' property & update doc/*/scripting/ui.md 2025-11-12 18:49:04 +03:00
MihailRis b5e69f1eae make ui_element.id access non-throwing 2025-11-12 18:43:34 +03:00
MihailRis 219d5aab31 Merge branch 'dev' into generated-pcm-stream 2025-11-06 12:18:47 +03:00
MihailRis c565e9897f feat: go back in menu on Escape pressed 2025-11-05 02:13:32 +03:00
MihailRis a63df74bb6 Merge branch 'dev' into generated-pcm-stream 2025-11-04 12:55:00 +03:00
MihailRis 90f7fce2b1 feat: pass pack environment to menu page script 2025-11-04 09:30:38 +03:00
MihailRis 81d21d6e8b refactor lua usertypes 2025-10-11 00:11:25 +03:00
MihailRisandGitHub 24931770d3 fix warnings (#648)
* fix unknown command line argument

* fix warnings settings for gcc

* fix -Wzero-as-null-pointer-constant

* revert CMakeLists.txt
2025-10-10 23:12:01 +03:00
MihailRis 0a02d3fbec add on_screen_change project script event & fix UIDocument::rebuildIndices & move menu background to project script 2025-08-07 22:14:52 +03:00
MihailRis ba13a4b61c add 'options' selectbox property 2025-06-28 14:01:22 +03:00
MihailRis 47f7259c72 add 'value' selectbox property 2025-06-28 02:29:43 +03:00
MihailRis 476865504b add 'src' scripting property to modelviewer 2025-06-01 23:10:31 +03:00
MihailRis 019c93d524 add 'refresh' containers method 2025-06-01 17:08:01 +03:00
MihailRis c6f64c34ef improve gui properties-related error messages 2025-05-29 21:01:49 +03:00
MihailRis 3e336575e8 make image.region readable 2025-04-26 22:22:17 +03:00
MihailRis 79528a44ea add 'region' image property 2025-04-26 22:12:34 +03:00
MihailRis 1e90115a26 add 'onfocus' ui event & optimize container:add 2025-04-26 20:16:57 +03:00
MihailRis 8e8cabf2d1 add data argument to container:add(...) 2025-04-24 22:42:15 +03:00
MihailRis f21d9d0a25 add iframe 'src' scripting property 2025-04-19 20:34:30 +03:00
MihailRis 559f946a66 feat: ui sub-nodes access 2025-04-17 19:55:43 +03:00
MihailRis 3e493a4a97 add uinode.parent read-only property 2025-04-16 20:58:57 +03:00
MihailRis 3be8546bf4 refactor enums: CursorShape, InterpolationType, ParticleSpawnShape 2025-04-13 14:18:50 +03:00
MihailRis 8a74c65812 refactor: remove unused 'virtual' keywords 2025-04-02 17:54:28 +03:00
MihailRis 4c8742ce46 refactor frontend/locale 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 2ee0605f1f add 'scroll' container property 2025-03-21 05:31:46 +03:00
MihailRis 3d22de761f fix compiler warnings (GCC + Clang) 2025-03-20 22:04:29 +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 5af6b91b22 add debug GUI render mode (F8) 2025-03-11 00:39:59 +03:00
ShadelessFox 0b6ba2faee Reuse image data instead of fetching it every time off the GPU 2025-02-22 17:49:36 +01:00
MihailRis a653b063e6 completely remove EnginePaths::resolve 2025-02-04 12:35:19 +03:00
ShadelessFox ee31f401aa Add canvas UI node 2025-01-19 14:11:56 +01:00
MihailRis 731c72da7c add 'uinode:reposition()' 2025-01-18 07:16:57 +03:00
MihailRis ab24187b49 fix windows build 2025-01-06 16:22:05 +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 5a34e8d522 update gui.confirm 2025-01-06 00:41:57 +03:00
MihailRis a3d35cd10f add gui.alert & critical fixes 2025-01-02 21:59:18 +03:00
MihailRis b9ff1db086 feat: key pressed event interception & 'owner' input.add_callback third argument 2025-01-02 20:51:43 +03:00
MihailRis 7fce735ca1 add gui.confirm(...) 2025-01-02 16:53:28 +03:00
MihailRis cb9690ebc7 add 'cursor' ui property 2024-12-30 21:41:05 +03:00
MihailRis 5e76cdfadc rename engine.hpp/cpp to Engine.hpp/cpp & move Engine, Time and mainloop classes to 'engine' folder 2024-12-25 12:13:03 +03:00
MihailRis 467b4ad043 add gui.escape_markup 2024-12-06 20:25:21 +03:00
MihailRis 16698cc68b add gui.clear_markup(...) 2024-12-06 20:13:45 +03:00
MihailRis 65f208fc61 add textbox.syntax, textbox.markup, label.markup properties 2024-12-06 19:56:38 +03:00
MihailRis b74b280009 add ui 'id' read-only property 2024-11-26 11:27:52 +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