ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Tutorials & Other Helpful Info (https://www.esoui.com/forums/forumdisplay.php?f=172)
-   -   Transparency for color (https://www.esoui.com/forums/showthread.php?t=7261)

p6kocka 08/01/17 06:36 AM

Transparency for color
 
How to add transparency slider for existing color pls?

Dolgubon 08/01/17 10:49 AM

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)


All times are GMT -6. The time now is 01:02 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI