ComputerCraft icon indicating copy to clipboard operation
ComputerCraft copied to clipboard

[suggest] for CraftOS

Open gameplays12303 opened this issue 2 years ago • 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

gameplays12303 avatar Aug 15 '23 01:08 gameplays12303

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

gameplays12303 avatar Aug 15 '23 01:08 gameplays12303

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.

Lupus590 avatar Aug 15 '23 09:08 Lupus590

Link for convenience: https://github.com/cc-tweaked/CC-Tweaked

vico93 avatar Aug 15 '23 12:08 vico93

thanks i for telling me i new computer craft wasn't being updated but wanted to make sure

gameplays12303 avatar Aug 15 '23 16:08 gameplays12303