Need help with the !Beautycase addon please!
I've been looking around the internet and in a lot of different files trying to figure out what I need to do to make !Beautycase work for me on my DXE and ShockAndAwe bars.
One link I found was from the forums here but didn't do me much good other than introducing me to the addon - this is the post: Quote:
Can anyone help me hook the texture from !Beautycase to the DXE bars? I'll post more info if needed. |
Im on phone so cant give you exact codes.
If you Open beautycase.lua There is a section that explains the function. Something like "createborder(framename,size,r,g,b,adjustment) Example for icon. Createborder(icon,3,1,1,1) last 8 digits is Rip adjust the texture You Can change the border textures in the mediafolder. Hope that makes sense :) |
Quote:
I went into the LUA file and saw the CreateBorder(myFrameName, 12, R, G, B, 1, 1, 1, 1, 1, 1, 1, 1) etc The part I don't understand is what to do from there, with that section, to put in the DXE code (if that is even how I do it) Would it look something like Code:
local icon = CreateFrame("Frame",nil,self) EDIT: I tried using what I have above and the border did indeed show up around the icon - thank you very much. May not be the proper way to do it but glad it's progress :p So I've got the border on the bars and icons working great, but now I can't figure out how to get the pane to have a matching border.. I assume it's in the Core.lua file. Result so far: |
Quote:
Regards |
Quote:
|
Quote:
Try looking in wondow.lua for: local window = CreateFrame("Frame","DXEWindow"..properName,UIParent) local faux_window = CreateFrame("Frame","DXEWindow"..properName.."Frame",window) local border = CreateFrame("Frame",nil,faux_window) I believe they are what your after for the whole pane, you will have to experiment with which one does what as, not being at a computer that runs WoW i'm working on a bit of guess work here :P Regards ps: also for the proximity window check in: DXE\Windows\Proximity.lua In there are some local settings for bars/statusbars and icons. You might want to check them out also. |
Oddly enough, the window.lua file skins the proximity window.
|
Quote:
I might have to use this myself and mod the texture files for my own UI Regards |
Quote:
Updated. Getting kind of closer to what I wanted! |
the pane is located in core.lua
Code:
Pane = CreateFrame("Frame","DXEPane",UIParent) |
Is the way I wrote the code in one of my earlier posts the way I'm supposed to do it?
|
Quote:
|
Thanks much for the help, I still can't find a way to put the border on the actual pane though.. kind of annoying. Have tried several different places in the DXE code.
Update in combat :) |
All times are GMT -6. The time now is 09:15 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI