WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   UI Screenshots, Feedback and Design Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=144)
-   -   Outer shadow is kinda hot (https://www.wowinterface.com/forums/showthread.php?t=43683)

zork 07-09-12 12:39 PM

Outer shadow is kinda hot
 
Just by removing the normal textures.


Combine that with a square minimap with the same outer shadow and you are ready to roll. :)

There we go (qMinimap hacked)


Even the tooltip stands no chance:


The setup that does this is:
Lua Code:
  1. backdrop = {
  2.         bgFile = "Interface\\Buttons\\WHITE8x8",
  3.         edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border",
  4.         tile = false,
  5.         tileSize = 32,
  6.         edgeSize = 6,
  7.         insets = { left = 6, right = 6, top = 6, bottom = 6 },
  8.     },

The border texture (edgeFile) is the outer shadow found in rActionButtonStyler.

Paopao001 07-10-12 09:50 PM

People use outer shadow everywhere.
Aurora, QulightUI, oUF_NIN, oUF_Freeb...
I think one-pixel and outer shadow are the two kinds of border found widest used.:)
The third goes to tuk-style.(Elvui ShestakUI AllezUI...)
The forth goes to !Beautycase-style(oUF_Phanx LerbUI Caith UI)

just personal opinion..

eiszeit 07-11-12 01:49 AM

Maybe 'cause the most others suck. Sadly. I've tried enough. Now I'm hanging in a Beautycase/Phanx/DafuqDoIuse border situation.

I like the outer shadow thing - without 1px border ofc.

What I tried a long time was 1px border + 2px hard drop shadow

jeffy162 07-11-12 08:40 AM

I can't speak to the rest of the UI, but there are numerous Button Facade/Masque skins that are either one pixel or outer shadow or both.

zork 07-12-12 01:36 AM

Those are texture which do not keep the same box-shadow on all elements independent on size like SetBackdrop does.

Freebaser 07-12-12 01:56 AM

I'll have to add that hotness to my tooltip.

zork 07-12-12 04:01 AM

Well...That is your Tooltip! ;)

eiszeit 07-12-12 05:47 AM

I wish I could do something like !Beautycase with various border types. So I could just change a variable and get other borders everywhere I implemented it. But I guess I am too lazy or something like that to do so :X

I know exactly which border types I would put in that script, haha.

zork 07-12-12 06:20 AM

Quote:

Originally Posted by eiszeit (Post 258143)
I wish I could do something like !Beautycase with various border types. So I could just change a variable and get other borders everywhere I implemented it. But I guess I am too lazy or something like that to do so :X

I know exactly which border types I would put in that script, haha.

There you go
http://www.wowinterface.com/download...tBackdrop.html

zohar101 07-13-12 08:47 AM

I love the shadow. But I use icon skins (so it's consistent over all mods) and I wonder if I take the (default) icon blp files, convert to tga and in the first layer take out the default border, if the default icons have the same shadow? I should know this, I've done it for few odd icons before like consolidate buffs where I'd make my own border but it never occurred to me to try just removing it...

jeffy162 07-13-12 11:18 AM

Quote:

Originally Posted by zork (Post 258137)
Those are texture which do not keep the same box-shadow on all elements independent on size like SetBackdrop does.

Ahh. I see. Thank you. Still trying to learn the different things that make up the WoW UI as a whole, but, unfortunately, it's not working very well. :o

Bloodier 09-14-12 10:06 AM

I'm new at writing LUA. I've tried to use the struct you provide putting it in a new addon and calling the SetBackdrop() method. It works fine the first time I hover the mouse, but if I do it again the shadow will show painted in white. How can I make it not to change?

Phanx 09-14-12 03:51 PM

Remove whatever code you have that's changing the backdrop color? If you need help finding it, post your whole code.

Bloodier 09-16-12 12:12 PM

Commenting SetBackdropColor line won't fix it:
Code:

local backdrop = {
            bgFile = "Interface\\Buttons\\WHITE8x8",
            edgeFile = "Interface\\AddOns\\zAddOn\\media\\outer_shadow",
            tile = false,
            tileSize = 32,
            edgeSize = 6,
            insets = { left = 6, right = 6, top = 6, bottom = 6 },
        }
        GameTooltip:SetBackdrop(backdrop)
        GameTooltip:SetBackdropColor(20, 20, 20, 1)
        GameTooltip:SetBackdropBorderColor(0, 0, 0, 1)

Visually:

nailertn 09-16-12 12:41 PM

Quote:

Originally Posted by Bloodier (Post 264262)
Commenting SetBackdropColor line won't fix it:
Code:

local backdrop = {
            bgFile = "Interface\\Buttons\\WHITE8x8",
            edgeFile = "Interface\\AddOns\\zAddOn\\media\\outer_shadow",
            tile = false,
            tileSize = 32,
            edgeSize = 6,
            insets = { left = 6, right = 6, top = 6, bottom = 6 },
        }
        GameTooltip:SetBackdrop(backdrop)
        GameTooltip:SetBackdropColor(20, 20, 20, 1)
        GameTooltip:SetBackdropBorderColor(0, 0, 0, 1)

Visually:

The default color is white that's why commenting does not work. And color values should be between 0-1, use 20/255 instead of 20.

Bloodier 09-16-12 12:48 PM

Ok, but the main problem it's unfixed. Only shows good the first time, after it shows like in the second image with the whith shadow and strange bg.

zork 09-16-12 02:08 PM

Well sure. That is because it is changed everytime Gametooltip:Show() is called.

What you can do is sth like this:
Lua Code:
  1. local backdropColor = {0,0,0}
  2. local backdropBorderColor = {0,0,0}
  3. local tooltipList = {GameTooltip, ItemRefTooltip, ShoppingTooltip1, ShoppingTooltip2, ShoppingTooltip3}
  4. for index, frame in ipairs(tooltipList) do
  5.   frame:SetScript("OnShow", function(self)
  6.     self:SetBackdropColor(unpack(backdropColor))
  7.     self:SetBackdropBorderColor(unpack(backdropBorderColor))
  8.   end)
  9. end

Bloodier 09-17-12 05:21 AM

Ok, thanks, now it works :) Edit: For tooltips of buildings and so (Auction House, for example) it keeps showing bad. What's the name of that tooltip?


All times are GMT -6. The time now is 12:39 PM.

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