Quantcast WoWInterface - View Single Post - Pixel Perfection for Specific Resolution
View Single Post
04-26-10, 02:48 PM   #20
A Warpwood Thunder Caller
Sideshow's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 99
Originally Posted by nightcracker View Post

local mult = GetCVar("uiScale", 768/string.match(({GetScreenResolutions()})[GetCurrentResolution()], "%d+x(%d+)"))/GetCVar("uiScale")
local function scale(x) return mult*x end

You say SetCVar / GetCVar ??? I corrected it to GetCVar / GetCVar
I'll probably lack knowledge, but all scale(1) does is multiply by 1.
So scale(23.124578) is still 23.124578 with this function of yours

Last edited by Sideshow : 04-26-10 at 02:51 PM.
  Reply With Quote