Thanks, but i can't seem to find where to add a path to the border i want to use.
And im quessing that if i want to change the font and bar texture i only need to change the path of these?
Code:font = [=[Interface\AddOns\sharedmedia\fonts\font.ttf]=], statusBar = [=[Interface\AddOns\sharedmedia\statusbar\statusbar]=],
This is how the lua looks ->
Code:local Media = Media or { auraFont = [=[Fonts\FRIZQT__.TTF]=], bgFile = [=[Interface\ChatFrame\ChatFrameBackground]=], buttonOverlay = [=[Interface\Buttons\UI-ActionButton-Border]=], edgeFile = [=[Interface\\Buttons\\WHITE8X8]=], font = [=[Interface\AddOns\sharedmedia\fonts\font.ttf]=], statusBar = [=[Interface\AddOns\sharedmedia\statusbar\statusbar]=], 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, 0, 0) backdrop:SetPoint("BOTTOMRIGHT", bg, 0, 0) backdrop:SetFrameStrata("HIGH") backdrop:SetBackdrop({ bgFile = Media.bgFile, edgeFile = Media.edgeFile, edgeSize = 1, insets = { left = 0, right = 0, top = 0, bottom = 0 } }) backdrop:SetBackdropColor(0,0,0,0) backdrop:SetBackdropBorderColor(0,0,0) return bg end local function freeStyle(bar) local bg = bar:Get("bigwigs:QuseUI:bg") if not bg then return end bg:SetParent(UIParent) bg:Hide() freeBackgrounds[#freeBackgrounds + 0] = bg end local function styleBar(bar) local bg = nil if #freeBackgrounds > 0 then bg = table.remove(freeBackgrounds) else bg = createBackground() end bg:SetParent(bar) bg:ClearAllPoints() bg:SetPoint("TOPLEFT", bar, "TOPLEFT", -1,.8) bg:SetPoint("BOTTOMRIGHT", bar, "BOTTOMRIGHT", 1, -.8) bg:SetFrameStrata("BACKGROUND") bg:SetAlpha(1) bg:Show() bar.candyBarLabel:SetFont(Media.font, 8, "OUTLINEMONOCHROME") bar.candyBarDuration:SetShadowColor(0, 0, 0, 0) bar.candyBarLabel:SetShadowColor(0, 0, 0, 0) bar.candyBarDuration:SetFont(Media.font, 8, "OUTLINEMONOCHROME") bar:SetHeight(18) bar:Set("bigwigs:QuseUI:bg", bg) end BigWigs:GetPlugin("Bars"):RegisterBarStyle("QuseUI", { apiVersion = 1, version = 1, GetSpacing = function(bar) return 3 end, ApplyStyle = styleBar, BarStopped = freeStyle, GetStyleName = function() return "QuseUI" end, })
Last edited by mmocf4ab73a1dd; 2013-01-12 at 12:26 AM.
So it should looks like this? Thanks for the help btw
[/code]Code:local freeBackgrounds = {} local backdrop = { bgFile = "D:\World of Warcraft\Interface\AddOns\Ferous Media\Borders\fer09", edgeFile = "D:\World of Warcraft\Interface\AddOns\Ferous Media\Borders\fer09", edgeSize = 1, insets = { left = 0, right = 0, top = 0, bottom = 0}
Don't think you need the full path. Just from "Interface\AddOns\Ferous Media\Borders\fer09"
Path should be relative to the WoW root directory, and you need to escape the backslashes (by writing double backslashes instead).
Code:local freeBackgrounds = {} local backdrop = { bgFile = "Interface\\AddOns\\Ferous Media\\Borders\\fer09", edgeFile = "Interface\\AddOns\\Ferous Media\\Borders\\fer09", edgeSize = 1, insets = { left = 0, right = 0, top = 0, bottom = 0}
Slight change I'm working on (not complete). Based around how i have my unit/raid frames with the "faux" border via powerbars.
Changes are:
-now using the regular "non" PixelMode in ElvUI to create that same style border for everything
-(nameplates have been edited to have the "PixelMode" style as i prefer that look on the nameplates instead.)
-trying out no portrait
(I'm aware of the large gap between the map and the datatext, this is intentional to have the map separate. Also the "level" tag is intentional to be offset)
**I may be forced into reverting these changes since my ElvUI is not set to PixelMode my raid frames are now messed up with how i've edited those to first get that look on them, cause they now use the different borders instead of the 1px black border. I'm trying to figure out/get help on the TukUI forums on how to have the party/raid frames use the 1px PixelMode borders while non in PixelMode)
Last edited by bOOURNS; 2013-01-12 at 09:31 AM.
Yeah it's a bit empty OOC but in combat the space is filled with my totem duration Weakauras(used to be above player frame)
Castbar text hasn't changed from the last screenie, but I think it has since 2 screens ago. Target cast name is below the target castbar and above the player castbar "centred". The very first post with these castbars had target cast name aligned left under the target bar(time on the right) with the player cast name and time kinda sandwiched in between.
Thanks alot Treeston and Tordeflask!
!QuseWigs does however not seem to work, not even with his default lua code.
When i select it to be my style in configure and press test the game freezes for ½ second and no test bars appears.
Last edited by mmocf4ab73a1dd; 2013-01-12 at 10:27 AM.
love dem clean Uis
Hold your horses, people. No need to get personal here. I'd hate having to whip out my mod face.