@rrraptor With the draw lists, how would you add a scaled icon texture?
I can only see ways to addImage( that looks complicated when compared to a simple addScaledImage(texture,x,y,w,h)
@MoKaLux
I'll wait until @rrraptor has added a way to set the button width top a specific value.
@rrraptor If you are enhancing the buttons then multiline text would be handy.
Thanks.
How do you set the button width?
I've added 'image buttons with text', but the widths are all different depending on the amount of text written...
I have a window that I don't want to move. How do I set it so its position is the center of the main imgui area?
local windowDrawn=false
windowOpen,windowDrawn=imgui:beginWindow("Hello ImGui v"..ImGui._VERSION,windowOpen,ImGui.WindowFlags_NoDec…
Got it to work, thanks.
BTW, it's a pity that you can't have an icon and gradient shading in window title bars, buttons, etc. Could this be added in the future or will it deviate from the official imgui too much?
I finally got around to trying to start the style editor - this is the code:
pcall(function() require "ImGui" end)
ImGui:showLuaStyleEditor("Title")
But it crashes the player (Windows)... ?
Ideally, we need an animation tool that's either free or cheap but also has a library that could be added to Gideros to render the data live - rather than have to generate an mp4 or something. Manipulating original data 'live' could take up much l…
I just saw that Stadia is available as a PWA - there is a small 'install' in the browser bar. It would be great if Gideros web apps could also work - have you made any progress?
https://www.reddit.com/r/Stadia/comments/dzbvh7/stadia_pwa_progressiv…
@rrraptor Is there a text editor (like Scintilla) built into the Gideros imgui library now?
That tool looks great btw, should be one of the built-in tools!
@hgy29 Maybe if the tools system could also be a right-click menu option on the regular edi…
You need to also require it in your project.
require "easing"
require "scenemanager"
Edit:
That was odd - the forum didn't show your reply @MoKaLux until after I wrote mine!
(unless it's just too early for me! tired! lol.)
For buyers, could you include a Lua class that could load 3D data files and from that generate the sprite sheets in code? This would save RAM and allow manipulation of things such as colour, etc - eg if it's a car game and the user changes the col…
Yes, it happened on a Samsung phone - maybe they have some kind of proximity detection for gestures? So hover would be the correct response?
https://stackoverflow.com/questions/16649830/proximity-sensor-on-galaxy-s4-air-gestures
@rrraptor I tested the new version (kindly built by @hgy29)...
With imgui, on android, when the screen is touched, it says:
"Incorrect button index
stack traceback:"
Then resent back to the player, waiting for a new upload - which would be a pret…
It's odd though that removing the existing listeners fixed the problem? You would think that it would have worked previously, but touch would just be missing?