Well, there is no "code", its a lua script.
When I need to account for coordinates being scaled, I have my own lua function that does that.
function AXUI:ScaleCoord(c, xy, base_x, base_y)
--A dumb function that will scale coordinates from a base resolution. Usually base_x and _y are 1024 and 786.
--c is the coordinate we want to scale
--xy = 0 returns the scaled x coord
--xy = 1 returns the scaled y coord
if c ~= nil then
local x_factor = self.Screen.w / base_x
local y_factor = self.Screen.h / base_y
local result = c
if xy == 0 then
result = result * x_factor
elseif xy == 1 then
result = result * y_factor
end
return result
end
end
(Man, I should really rewrite that function, but you get the picture)
To me (though I haven't tried it yet), the interface images aren't starting at 0,0 now, which parts of my script are assuming.