@rrraptor - I seem to remember a discussion about adding a text editor to imgui (similar to Scintilla) - do you know if that was added to the Gideros plugin?
If so, is there any demo on usage?
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
@rrraptor - I seem to remember a discussion about adding a text editor to imgui (similar to Scintilla) - do you know if that was added to the Gideros plugin?
Yes, you can do that in QtCreator, just open the plug-in project and the player project, compile everything in debug mode, put breakpoints and launch the player in debug run
Ok, so I have debug version of GiderosPlayer:
It runs from QT Creator:
But debugger does not hit any breakpoint. Im probably missing something important
@rrraptor Has getWindowContentRegionWidth() been removed?
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
crashing error in new gideros version: [7803] ../Common/imgui_src/imgui.cpp: id != window->ID && "Cannot have an empty ID at the root of a window. If you need an empty label, use ## and read the FAQ about how the ID Stack works!"
at line: fxCurr, isDone = imgui:combo("", fxCurr-1, self.fxNameArray)
EDIT: changing to fxCurr, isDone = imgui:combo("##", fxCurr-1, self.fxNameArray) makes it work.
crashing error in new gideros version: [7803] ../Common/imgui_src/imgui.cpp: id != window->ID && "Cannot have an empty ID at the root of a window. If you need an empty label, use ## and read the FAQ about how the ID Stack works!"
at line: fxCurr, isDone = imgui:combo("", fxCurr-1, self.fxNameArray)
EDIT: changing to fxCurr, isDone = imgui:combo("##", fxCurr-1, self.fxNameArray) makes it work.
It is recommended to use "##ID" where ID is any string (preferably unique). It wont be visible as label.
Yes, "" crashed for me BEFORE the Lua to Luau switch. ## works.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
@rrraptor , something happened with scrolling with mouse. i'm doing it manually. the below code works fine on last 2021 version but it does not work in 2022.2 version:
stage:addEventListener(Event.MOUSE_WHEEL, self.onTouch,self)function DrawScene:onTouch(event)local IO=gui.IO
if event.type=="mouseWheel"then
IO:setMouseWheel(event.wheel/300)
IO:setMousePos(event.x/imgui_scaling,event.y/imgui_scaling)returnendend
@rrraptor , something happened with scrolling with mouse. i'm doing it manually. the below code works fine on last 2021 version but it does not work in 2022.2 version:
stage:addEventListener(Event.MOUSE_WHEEL, self.onTouch,self)function DrawScene:onTouch(event)local IO=gui.IO
if event.type=="mouseWheel"then
IO:setMouseWheel(event.wheel/300)
IO:setMousePos(event.x/imgui_scaling,event.y/imgui_scaling)returnendend
Updating to 1.87. Everything should work as before except for few things (removed some functions). All "navigation" spicific functions removed temporarly. Maybe someone can test?
Updating to 1.87. Everything should work as before except for few things (removed some functions). All "navigation" spicific functions removed temporarly. Maybe someone can test?
i may in a few days. the dll is on GitHub as usual?
i may in a few days. the dll is on GitHub as usual?
Yes
sorry, i'm stuck with a backup machine with win7 not running gideros for the next 1-2 weeks (i hope not longer). i will test as soon as my setup is back to normal.
Comments
If so, is there any demo on usage?
https://deluxepixel.com
Likes: SinisterSoft
https://forum.giderosmobile.com/uploads/editor/i1/m21v5510h9bg.zip
Likes: SinisterSoft
Likes: SinisterSoft
It runs from QT Creator:
But debugger does not hit any breakpoint. Im probably missing something important
I used "run" command instead of "Start debugger"
Likes: MoKaLux
Added ImGuiListClipper
Changed IM_ASSERT to be able to throw errors to Gideros output window:
But not every error have its own descrition, sometimes it can be somthing like:
Likes: MoKaLux, keszegh
https://deluxepixel.com
Likes: SinisterSoft
[7803] ../Common/imgui_src/imgui.cpp: id != window->ID && "Cannot have an empty ID at the root of a window. If you need an empty label, use ## and read the FAQ about how the ID Stack works!"
at line:
fxCurr, isDone = imgui:combo("", fxCurr-1, self.fxNameArray)
EDIT:
changing to
fxCurr, isDone = imgui:combo("##", fxCurr-1, self.fxNameArray)
makes it work.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
https://github.com/ocornut/imgui/blob/master/docs/FAQ.md#qa-usage
The problem with "##" might be:
https://deluxepixel.com
https://github.com/ocornut/imgui/blob/4fb0c1f9639679402ea005ec70b807d96a072505/imgui.cpp#L387
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: keszegh
Hover: 147 453
Wheel: 147 147
Hover: 148 453
Hover: 149 453
@rrraptor , the filedialog demo on your github is not compatible with latest imgui class.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: MoKaLux, keszegh, rrraptor
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Maybe someone can test?
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game