Thread Tools Display Modes
06-12-11, 10:27 PM   #1
Oraknathal
A Flamescale Wyrmkin
 
Oraknathal's Avatar
Join Date: Sep 2010
Posts: 143
Desaturating icons (moved from UI Feedback thread)

Originally Posted by Unkn View Post
Zork I want your orbs!!!


Working on something new... I've got this plan of total black and white ui with color showing for cds/oom/range. I really like the idea and after running thru a couple ZA/ZGs its working well. I can easily see whats on cd with just a glance.


So far this is where I am - action bars icons are desaturated, target debuffs are desaturated except for mine. Now I am working on getting things on cd to show colored... In the screenshots, Swiftmend is on CD and I am faking the final look with Power Auras. Which is not what I want to ultimately do, because the gcd spiral and flash at end of gcd are missing. But for now it will do.





So far I've edited Stuf Unit Frames, TullaRange, and EventHorizon_Cont. I'm trying to combine it all into one, so far I am failing at that. Atm I am happy with how far I have gotten.
how did you make your action buttons /buffs grey??
I have been meaning to that for a while now but dont know how./
  Reply With Quote
06-13-11, 05:33 PM   #2
haylie
A Scalebane Royal Guard
 
haylie's Avatar
Join Date: May 2009
Posts: 417
Originally Posted by Unkn View Post
Working on something new... I've got this plan of total black and white ui with color showing for cds/oom/range. I really like the idea and after running thru a couple ZA/ZGs its working well. I can easily see whats on cd with just a glance.
I played with a desaturated UI myself for a while and while at first it may seem very neat and functional, I can tell you that after a while it just gets too depressing to look at.
  Reply With Quote
06-13-11, 09:17 PM   #3
Unkn
Premium Member
 
Unkn's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 258
Originally Posted by Oraknathal
how did you make your action buttons /buffs grey??
I have been meaning to that for a while now but dont know how./
For the most part, just added a few lines of code to TullaRange. I did it that way so I could still have the very obvious OOM and Range coloring.

Around line 267 or so you should see
Code:
function tullaRange.SetButtonColor(button, colorType)
	if button.tullaRangeColor ~= colorType then
		button.tullaRangeColor = colorType

		local r, g, b = tullaRange:GetColor(colorType)

		local icon =  _G[button:GetName() .. 'Icon']
		icon:SetVertexColor(r, g, b)
		icon:SetDesaturated(true)

		local nt = button:GetNormalTexture()
		nt:SetVertexColor(r, g, b)
		nt:SetDesaturated(true)
	end
end
Red text is what I added to make it happen. Heads up occasionally on log in 1 or 2 buttons are colored, soon as you cast a spell they desaturate. Don't know why that is yet.


Originally Posted by haylie View Post
I played with a desaturated UI myself for a while and while at first it may seem very neat and functional, I can tell you that after a while it just gets too depressing to look at.
I'n rather liking it, but then again I've always played with a grey UI for the most part with class colors for names.
__________________
"I'm very feminine. And I'll beat the crap out of ANYONE who disagrees!"
  Reply With Quote
06-14-11, 04:42 PM   #4
Oraknathal
A Flamescale Wyrmkin
 
Oraknathal's Avatar
Join Date: Sep 2010
Posts: 143
Originally Posted by Unkn View Post
For the most part, just added a few lines of code to TullaRange. I did it that way so I could still have the very obvious OOM and Range coloring.

Around line 267 or so you should see
Code:
function tullaRange.SetButtonColor(button, colorType)
	if button.tullaRangeColor ~= colorType then
		button.tullaRangeColor = colorType

		local r, g, b = tullaRange:GetColor(colorType)

		local icon =  _G[button:GetName() .. 'Icon']
		icon:SetVertexColor(r, g, b)
		icon:SetDesaturated(true)

		local nt = button:GetNormalTexture()
		nt:SetVertexColor(r, g, b)
		nt:SetDesaturated(true)
	end
end
Red text is what I added to make it happen. Heads up occasionally on log in 1 or 2 buttons are colored, soon as you cast a spell they desaturate. Don't know why that is yet.




I'n rather liking it, but then again I've always played with a grey UI for the most part with class colors for names.
is this for the debuffs?
if yes with which addon?
  Reply With Quote
06-14-11, 08:51 PM   #5
Unkn
Premium Member
 
Unkn's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 258
Around line 524 of Stuf's Aura.lua

if b then
if allow then
b:SetBackdropColor(clr.r, clr.g, clr.b)
b.texture:SetTexture(icon)
if ismine then
b.texture:SetDesaturated(false)
else
b.texture:SetDesaturated(true)
end

b.ctext:SetText((count and count > 1 and count) or "")
b:Show()
StartIconTimer(b, duration, endtime, ismine)
else
b:Hide()
end
Red is what you add.
__________________
"I'm very feminine. And I'll beat the crap out of ANYONE who disagrees!"
  Reply With Quote
06-15-11, 04:34 PM   #6
Oraknathal
A Flamescale Wyrmkin
 
Oraknathal's Avatar
Join Date: Sep 2010
Posts: 143
Originally Posted by Unkn View Post
Around line 524 of Stuf's Aura.lua



Red is what you add.
this actually didnt work for some reason here is what i have in lua
if b then
if allow then
b:SetBackdropColor(clr.r, clr.g, clr.b)
b.texture:SetTexture(icon)
if ismine then
b.texture:SetDesaturated(false)
else
b.texture:SetDesaturated(true)
end
b.ctext:SetText((count and count > 1 and count) or "")
b:Show()
StartIconTimer(b, duration, endtime, ismine)
else
  Reply With Quote
06-15-11, 05:49 PM   #7
Unkn
Premium Member
 
Unkn's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 258
Uploaded my customized Auras.lua for Stuf Unit Frames. Just rename it and drop it in your stuf folder. You have to actually have all debuffs showing whatever unit to make it work - since its coded to only desaturate everyone elses debuffs.
Attached Files
File Type: lua customauras.lua (32.4 KB, 618 views)
__________________
"I'm very feminine. And I'll beat the crap out of ANYONE who disagrees!"
  Reply With Quote
06-15-11, 07:23 PM   #8
Oraknathal
A Flamescale Wyrmkin
 
Oraknathal's Avatar
Join Date: Sep 2010
Posts: 143
Originally Posted by Unkn View Post
Uploaded my customized Auras.lua for Stuf Unit Frames. Just rename it and drop it in your stuf folder. You have to actually have all debuffs showing whatever unit to make it work - since its coded to only desaturate everyone elses debuffs.
Will this affect the rest of my stuf lua in anyway e.g bars.lua
  Reply With Quote
06-15-11, 07:39 PM   #9
Lily.Petal
A Molten Giant
 
Lily.Petal's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2010
Posts: 540
Originally Posted by Oraknathal View Post
Will this affect the rest of my stuf lua in anyway e.g bars.lua
It shouldn't, your actual profile for Stuf should be in your saved variables folder in your WTF.
__________________

Aggro Color to KG Panels Borders - Nibelheim
Lua Based UI Hider - Nibelheim
Custom LUA PowerText - Stuf - Nibelheim, Seerah
  Reply With Quote
06-16-11, 06:31 AM   #10
Unkn
Premium Member
 
Unkn's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 258
What Lily said ^^
__________________
"I'm very feminine. And I'll beat the crap out of ANYONE who disagrees!"
  Reply With Quote
06-16-11, 07:25 AM   #11
Lily.Petal
A Molten Giant
 
Lily.Petal's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2010
Posts: 540
Now I just need to desaturate for SBF
__________________

Aggro Color to KG Panels Borders - Nibelheim
Lua Based UI Hider - Nibelheim
Custom LUA PowerText - Stuf - Nibelheim, Seerah
  Reply With Quote
06-16-11, 08:16 AM   #12
Zagrei
A Cobalt Mageweaver
 
Zagrei's Avatar
AddOn Compiler - Click to view compilations
Join Date: Nov 2009
Posts: 246
Originally Posted by Lily.Petal View Post
Now I just need to desaturate for SBF
I agree! I'm not awesome enough to figure it out on my own :P
__________________
  Reply With Quote
06-16-11, 04:38 PM   #13
Unkn
Premium Member
 
Unkn's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 258
I can take a look at SBF. I don't use it myself, but I have this sneaky feeling that its going to be waaaaaaay more complicated than I'd like to hope.
__________________
"I'm very feminine. And I'll beat the crap out of ANYONE who disagrees!"
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Desaturating icons (moved from UI Feedback thread)


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