Colors for different types of steps customizable
max-ri opened this issue ยท 1 comments
- Color pickers?
- Different colors for accept/complete/turnin/skip
- suggested by https://www.curseforge.com/members/kosheyundead13
Just use the blizzard color picker for this should be enough
-- ColorPickerOkayButton
ColorPickerFrame = function()
local r, g, b = ColorPickerFrame:GetColorRGB()
local a = 1 - OpacitySliderFrame:GetValue()
end
-- ColorPickerCancelButton
ColorPickerFrame.cancelFunc = function(previousValues)
end
-- Enable / Disable alpha slider
ColorPickerFrame.hasOpacity = true
-- Set alpha
ColorPickerFrame.opacity = 1
-- On Alpha change
ColorPickerFrame.opacityFunc = function()
local a = 1 - OpacitySliderFrame:GetValue()
end
ColorPickerFrame:Show()