[suggest] for CraftOS
gameplays12303 opened this issue ยท 4 comments
i have been having some trouble with getting the absolute position of a window
i have added some code to the window.get-position
i was wondering if this may do
this
function window.get_abs_Position() local posx,posy = 1,1 if parent..get_abs_Position then posx,posy = parent..get_abs_Position() end return nX+posx-1, nY+posy-1 end
yes i check it works with backwards capability it will not break a program
it work with lua in both outside and inside the multi-shell
that means with and without the menu bar
if it doesn't pass here i will not be asking CC:Tweaked to implement it for backwards reasons
i need to comeback later and put in the zip files of the programs that need to be replaced
these will contain the code for your system it's getting late for me i should have this done by tomorrow after noon
This repo is dead and (other than people making issues/PRs) has had no activity for years. CC:Tweaked is the defacto continuation of the mod so all suggestions should directly go to there.
Link for convenience: https://github.com/cc-tweaked/CC-Tweaked