I should post this for reference:
http://www.wowinterface.com/forums/s...ad.php?t=31813
These are the codes I was going to add to my autoexec, but I'm not certain if they'll work (have to wait for servers to go back up)
Code:
SetCVar("useUiScale", 1)
SetCVar("uiScale", 768/string.match(({GetScreenResolutions()})[GetCurrentResolution()], "%d+x(%d+)"))
local mult = (768/string.match(({GetScreenResolutions()})[GetCurrentResolution()], "%d+x(%d+)"))/GetCVar("uiScale")
local function scale(x)
return mult*math.floor(x/mult+.5)
end
basically, the idea is that it makes your UI "Pixel Perfect". Pixel perfect means:
Originally Posted by TravisWatson
finding the reverse multiplier that WoW is using, so it is scaling you one way, and you're scaling it back before you draw, thereby negating effects of both the UI scaling and the "in-game" resolution based off a 768 pixel height screen."
|
I was thinking that I could, for example, create a frame (in this case, let's just say the "Base" frame), that is
20 in width and
5 in length.
Would it be possible, after adding the "scale" function to my autoexec, to type
scale(20) and
scale(5) in the field instead of just numeral
20 and numeral
5, and gain the same result?