VuhDoNewColorPicker:StopMovingOrSizing()
VuhDoNewColorPicker:StartMoving()
VUHDO_lnfRadioButtonClicked(self);
VUHDO_colorPickerTextClicked(self:GetParent());
VUHDO_lnfRadioButtonClicked(self);
VUHDO_colorPickerBackgroundClicked(self:GetParent());
self:SetMaxLetters(8);
VUHDO_updateColorByCode(self:GetParent());
VUHDO_updateColorByCode(self:GetParent());
VUHDO_setColorCodeTextColor();
VUHDO_lnfPatchFont(self, "Title");VUHDO_lnfPatchFont(self, "Value");
if not self._onsetting then
self._onsetting = true;
self:SetValue(self:GetValue());
value = self:GetValue()
self._onsetting = false;
else return; end
VUHDO_colorPickerOpacityValueChanged(self:GetParent());
VUHDO_lnfSliderOnValueChanged(self:GetParent());
VUHDO_lnfPatchFont(self, "OldColorLabel");
VUHDO_lnfPatchFont(self, "NewColorLabel");
self:SetScript("OnColorSelect", VUHDO_colorPickerColorSelectCallback);
self:SetScript("OnKeyDown", function(anInstance, aKey)
if (aKey == "ESCAPE") then
VUHDO_colorPickerCancel();
VuhDoNewColorPicker:Hide();
end
end);
VUHDO_newColorPickerOnShow(self)