Again another bugfix/improvement release, Perhaps the biggest update this time is about ImGui. Thanks
@rrraptor for your continued work on ImGui support for Gideros.
Improvements
[export/html5] Report modifiers in mouse wheel event
[export/android] Update to NDK r25, gradle 7.5, SDK 19 (KitKat) is now the minimum
[export/apple] Report modifiers in various calls
[plugin/imgui] Update to 1.89.5
[plugin/imgui] Added touch gesture detector (WIP)
Fixes
[studio] Fixed editor global zoom
[gfx/font] Fix computations in composite fonts
[audio] Fix an issue when playing empty audio files
[audio] Move destructor out of luau GC
[plugin/imgui] Fix font atlas update
Download it from here:
http://giderosmobile.com/download
Comments
Thank you for the hard work guys
thank you @rrraptor for the updates
ImGui Changelog:
Likes: MoKaLux, SinisterSoft
https://github.com/MultiPain/Gideros_ImGui/
needs to be updated too otherwise it is hard to find the right syntax.
thanks for the great work.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
"Changed ImGui:imageButton(texture, w, h [, padding = -1, tint_color = 0xffffff, tint_alpha = 1, border_color = 0xffffff, border_alpha = 0]) to ImGui:imageButton(str_id, texture, w, h [, tint_color = 0xffffff, tint_alpha = 1, border_color = 0xffffff, border_alpha = 0])"
for all my imagebuttons padding was set to 0 but now it is impossible or much more complicated to set it with pushstyle before each of them (if that works, i did not check)
.Fragmenter - animated loop machine and IKONOMIKON - the memory game
Unfortunately I had to revert to gideros 2023.04 because I had a new app release to publish (which I'd say works as it should built on 2023.04).
My app worked well inside gideros player on 2023.5 but crashed when built as aab/apk as soon as it reached a couple of screens with almost nothing in common except "lists" inside child windows: one shows a list of buttons, the other shows a clipped table through ImGuiListClipper.
This is what I get from logcat on one of the screens if it means anything to help narrowing the issue:
com.giderosmobile.android.player.LuaException: [9021] jni/../../Common/imgui_src/imgui.cpp: 0 && "Code uses SetCursorPos()/SetCursorScreenPos() to extend window/parent boundaries. Please submit an item e.g. Dummy() to validate extent."
stack traceback:
[string "main.lua"]:2605: in function DrawWindow - here I have clipper:beginClip(number)
Unless this gives you some clues I will try to reproduce the issue in a small ad hoc project in the next days.
[update: after rebooting my app crashed even in 2023.5 players with the same error, which already contain the solution but I was too tired to understand it yesterday evening (https://github.com/ocornut/imgui/issues/5548).
In short, for future reference: if you are using SetCursorPos or SetCursorScreenPos with this release of imgui you might need to add a dummy element like this one:
]
Thank you
Likes: MoKaLux
I was asking if it is something we should add by default when using setCursorPos because it's not clear to me what dummy does exactly, but I can tell that using it everywhere mess up my layout, so it's fine to know that we need to use it when that error is triggered. Thanks again!
Likes: MoKaLux
Likes: MoKaLux
Exe Installer not starting on my Windows 10 22H2Started after a while ...Added ImGuiTextFilter
Added caching for plot widgets
Added "ImGui:getItemRect()"
Added missing "ImGui:imageButtonUV()"
Added "ImGui:scrollWhenDragging()"
ImGui version 1.89.5 -> 1.89.6
Docs updated
https://github.com/MultiPain/Gideros_ImGui/tree/master
Likes: MoKaLux, pie, keszegh, hgy29
Likes: MoKaLux