apicici / cimgui-love

LÖVE module for Dear ImGui obtained by wrapping cimgui with LuaJIT FFI.
MIT License
76 stars 6 forks source link

is there love.graphics.translate or analog #16

Closed boris-741 closed 1 year ago

boris-741 commented 1 year ago

is there an analogue of love.graphics.translate for imgi? I wanted to move the global coordinates of all windows at the same time without changing the position of each individually


i want to create similar functionality on https://github.com/thedmd/imgui-node-editor

apicici commented 1 year ago

I don't think there's a completely straightforward way of doing that, but if you are trying to recreate the canvas functionality from the node editor you can try to reimplement this directly in Lua using the appropriate cimgui functions. This requires enough familiarity with C++ to understand that code, though.

You could also ask directly on the Dear ImGui repository.

boris-741 commented 1 year ago

thanks i'll take a look