Quantcast WoWInterface - View Single Post - How to make pixel-accurate interface?
View Single Post
08-28-18, 06:01 AM   #5
Basil2
A Deviate Faerie Dragon
Join Date: Feb 2015
Posts: 17
Tnank you for answers, the problems were solved:

1: By using GetPhysicalScreenSize()

2: By using the following code:

Code:
local function SetColor256(obj, r, g, b)
    local function to01(value0255)
        if (value0255 ~= 255) then
            value0255 = value0255 + 0.4
        end
        return value0255 / 255
    end
    obj:SetColorTexture(to01(r), to01(g), to01(b))
end
  Reply With Quote