Thread Tools Display Modes
08/01/17, 06:36 AM   #1
p6kocka
Join Date: Apr 2014
Posts: 19
Transparency for color

How to add transparency slider for existing color pls?
  Reply With Quote
08/01/17, 10:49 AM   #2
Dolgubon
 
Dolgubon's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2016
Posts: 408
This is a bit of a two step thing. Assuming you want it in the settings menu, you can create a slider with LibAddonMenu. Check out the github page for it, or another addon for examples.

Once you have a slider with LAM, have it set a saved variable to whatever value is chosen, and then you can use SetAlpha(a) or SetColor(r,g,b,a) to change the transparency (alpha is how transparent it is)
  Reply With Quote

ESOUI » Developer Discussions » Tutorials & Other Helpful Info » Transparency for color

Thread Tools
Display Modes

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