View Single Post
01-17-13, 05:35 AM   #17
Rusken
A Theradrim Guardian
AddOn Compiler - Click to view compilations
Join Date: Dec 2009
Posts: 61
Originally Posted by nin View Post
EDIT

*Doh,Just noticed you had Issues with qusestyles, i'll try install it and see if it works here.



Looks like tukui style(which is built in) but darker grey, or am i missing something? =)

I use my own plugin for customizing bigwigs, QuseBossStyles is based of that.

Assign the texture path to fer09, currently it's :

Lua Code:
  1. edgeFile = [=[Interface\\Buttons\\WHITE8X8]=]

Adjust this part :

Lua Code:
  1. local backdrop = CreateFrame("Frame", nil, bg) 
  2.     backdrop:SetPoint("TOPLEFT", bg, -2, 2)
  3.     backdrop:SetPoint("BOTTOMRIGHT", bg, 2, -2)
  4.     backdrop:SetFrameStrata("BACKGROUND")
  5.     backdrop:SetBackdrop({
  6.         bgFile = Media.bgFile,
  7.         edgeFile = Media.edgeFile,
  8.         edgeSize = 3,
  9.         insets = {
  10.             left = -0,
  11.             right = -0,
  12.             top = -0,
  13.             bottom = -0
  14.         }
  15.     })
  16.  
  17.     backdrop:SetBackdropColor(.2,.2,.2)
  18.     backdrop:SetBackdropBorderColor(0,0,0,1)

If you want to adjust the gray color change, 1,1,1 would make it white, 0,0,0 black.

Lua Code:
  1. backdrop:SetBackdropColor(.2,.2,.2)

I tried this quick and the result is this:
Ok, i am in need of some help my dear nin, i got Quse working but my result when using what you posted above is very different then yours, what have i done wrong?
This is how my Quse lua looks ->

Code:
local Media = Media or {
	auraFont = [=[Fonts\FRIZQT__.TTF]=],
	bgFile = [=[Interface\ChatFrame\ChatFrameBackground]=],
	buttonOverlay = [=[Interface\Buttons\UI-ActionButton-Border]=],
	edgeFile = [=[Interface\\AddOns\\SharedMedia\\border\\fer09]=],
	font = [=[Interface\AddOns\sharedmedia\fonts\font.ttf]=],
	statusBar = [=[Interface\AddOns\SharedMedia\statusbar\fer34]=],
	symbolFont = [=[Fonts\pixel.TTF]=]
}

local freeBackgrounds = {}
local backdrop = {
	bgFile = "Interface\\Buttons\\WHITE8X8",
	edgeFile = "Interface\\Buttons\\WHITE8X8",
	edgeSize = 1, 
	insets = { left = 0, right = 0, top = 0, bottom = 0}
}

local function createBackground()
	local bg = CreateFrame("Frame")
	bg:SetBackdrop(backdrop)
	bg:SetBackdropColor(0,0,0,0)
	bg:SetBackdropBorderColor(0,0,0)

	local backdrop = CreateFrame("Frame", nil, bg)
	backdrop:SetPoint("TOPLEFT", bg, -2, 2)
	backdrop:SetPoint("BOTTOMRIGHT", bg, 2, -2)
	backdrop:SetFrameStrata("BACKGROUND")
	backdrop:SetBackdrop({
		bgFile = Media.bgFile,
		edgeFile = Media.edgeFile,
		edgeSize = 3,
		insets = {
			left = -0,
			right = -0,
			top = -0,
			bottom = -0
		}
	})

	backdrop:SetBackdropColor(.2,.2,.2)
	backdrop:SetBackdropBorderColor(0,0,0,1)

	return bg
end
And how my progress bars looks, as you see, the border is far from how yours looks.

  Reply With Quote