Commit a5bd7196 authored by Azilroka's avatar Azilroka
Browse files

AceGUIWidget-ColorPicker

parent 5d6d015a
......@@ -144,6 +144,8 @@ local function Constructor()
colorSwatch:SetPoint("LEFT")
local texture = frame:CreateTexture(nil, "BACKGROUND")
frame.texture = texture
texture:SetWidth(16)
texture:SetHeight(16)
texture:SetColorTexture(1, 1, 1)
......@@ -151,6 +153,8 @@ local function Constructor()
texture:Show()
local checkers = frame:CreateTexture(nil, "BACKGROUND")
frame.checkers = checkers
checkers:SetWidth(14)
checkers:SetHeight(14)
checkers:SetTexture(188523) -- Tileset\\Generic\\Checkers
......@@ -178,6 +182,7 @@ local function Constructor()
frame = frame,
type = Type
}
for method, func in pairs(methods) do
widget[method] = func
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment