Thread Tools Display Modes
Prev Previous Post   Next Post Next
08/01/17, 07:40 AM   #1
p6kocka
Join Date: Apr 2014
Posts: 19
How to add transparency / alpha color to an existing addon

How to add alpha to exisitng addon with editable colors?
It looks like this:

type = "colorpicker",
name = "No Target Colour",
getFunc = function() return RAEIH.HexToRGB(RAEIH.SavedVars.ReticleRCNoTarget) end,
setFunc = function(r, g, b) RAEIH.SavedVars.ReticleRCNoTarget = RAEIH.RGBToHex(r, g, b)
RAEIH.SetReticle()
RAEIH.FormatReticle() end,
width = "n",
default =
{
r = RAEIH.HexToR(RAEIH.DefaultSavedVars.ReticleRCNoTarget),
g = RAEIH.HexToG(RAEIH.DefaultSavedVars.ReticleRCNoTarget),
b = RAEIH.HexToB(RAEIH.DefaultSavedVars.ReticleRCNoTarget)

I just want to to set alpha to 0 for this reticle with no target. Just to disable reticle in this case.
  Reply With Quote
 

ESOUI » AddOns » AddOn Help/Support » How to add transparency / alpha color to an existing addon


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off