WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   ncshadow addon - how to only have horizontal shadows? (https://www.wowinterface.com/forums/showthread.php?t=55430)

Quickly 05-31-17 11:57 AM

ncshadow addon - how to only have horizontal shadows?
 
With ncshadow, it's in ansi UI compilation, how do I edit the code to only show horizontal shadows? Any way to add code so I could edit both variables? ei 10% vertical shadow, 100% horizontal?

Anyone know hopefully?

Fizzlemizz 05-31-17 01:40 PM

Are you talking about changing alpha or visibility? Because it is a single image, changing the alpha will effect the whole image. If you wanted to get rid of the left/right shadow altogether you could try stretching the image off the screen to the left/right.

Instead of:
Code:

f:SetPoint("TOPLEFT")
f:SetPoint("BOTTOMRIGHT")

try:
Code:

f:SetPoint("TOPLEFT", -100, 0)
f:SetPoint("BOTTOMRIGHT", 100, 0)

The -100 100 might need to be larger or smaller depending on wether you want to show a thinner band of shadow to the left/right or none at all.

Quickly 06-08-17 04:56 PM

Hey, thank you for the reply fizzle. I ended up editing the alpha channel on the image.


All times are GMT -6. The time now is 04:11 PM.

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