@keszegh press "Export" button and then CTRL+V in any text editor.
this exports it in c++ (or whatever it is) format, just like 'regular' imgui. what i meant is to modify this so that it exports lua code which can be copy/pasted into gideros code and works immediately (as the c++ code is very tedious to convert by hand).
how can i check if some kind of textinput is active? (like textinput or ctrl-clicked a slider etc) i need this as i have shortcut keys in my app but they should be disabled when such a textinput is active otherwise there is a conflict (e.g. the number keys are shortcuts to change active window and so they prevent textinputs working normally in a given window when e.g. a number is typed in).
pushID does not seem to add ID to the next window i create. how can i label windows? (so that even if i change their title they remain the 'same' - e.g. with respect to positioning etc).
pushID does not seem to add ID to the next window i create. how can i label windows? (so that even if i change their title they remain the 'same' - e.g. with respect to positioning etc).
let me elaborate: i have a window whose title text depends on other things and may change. yet if i change the title then imgui thinks it is a different window and so it stores different position values for different names, even though i want it to be at the same place regardless of its current title.
let me elaborate: i have a window whose title text depends on other things and may change. yet if i change the title then imgui thinks it is a different window and so it stores different position values for different names, even though i want it to be at the same place regardless of its current title.
Watch imgui_demo.cpp
local anim ="|/-\\"local title ="Animated title %s %i###AnimatedTitle"
...
local ind =1+((imgui:getTime()/0.25)%3)//1
imgui:beginWindow(title:format(anim:sub(ind,ind), imgui:getFrameCount()))
imgui:text("This window has a changing title.")
imgui:endWindow()
i tried to add some drag and drop functionality but imgui:isItemHovered(ImGui.HoveredFlags_AllowWhenBlockedByActiveItem) does not seem to work. (the purpose would be to know if a button is hovered while dragging another)
Comments
here i get result=true and selected=false when item is clicked, seems counterintuitive. perhaps the two things are mixed up?
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
dll updated.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Use this:
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
P.S. I have changed the name to "ImGui_beta" (because of new Gideros version). It only affects a "require" function, e.g. use
Likes: MoKaLux
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: keszegh
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
i have a window whose title text depends on other things and may change.
yet if i change the title then imgui thinks it is a different window and so it stores different position values for different names, even though i want it to be at the same place regardless of its current title.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
There is no way to do this, because it does not have bg color by default. I can add extra widget if you want.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
does not seem to work. (the purpose would be to know if a button is hovered while dragging another)
Fragmenter - animated loop machine and IKONOMIKON - the memory game