Love the look I am getting accross my UI from this bad boy.
There is a grafic issue with the Pet tab on the character frame. The Pet Exp (this would be a hunter pet due to the warlocks not having exp bar) bar is in the middle of the stats area, on top of Stamina and Damage.
For the "long" code, create a file called SuperInspectFrame.lua and paste the code into it.
For the 2 coderows, put them into AddonFrames.lua (dont copy the . . . dots ;) )
The 1st row goes under the header "function oSkin:ADDON_LOADED()"
The 2nd row goes under the header "function oSkin:AceEvent_FullyInitialized()"
I also added text "SuperInspectFrame.lua" in the oSkin.toc file. Dont know if its nessecary, but looked that way.
As far as your second question though. You can do something like:
if IsAddOnLoaded("oSkin") then oSkin:applySkin(someFrame) end
Of course this might not work if the addon you're trying to skin gets loaded before oSkin. In that case, you should be able to add an event handler for ADDON_LOADED to get around this.
could you give an example of this?
for example, im trying to skin bagnon/banknon
heres what ive pieced together from looking through the various lua files
ive managed to get 1 addon skinned but am failing on the second
heres my code from MyCustomAddons.lua (which ive referenced in the .toc)
local _G = getfenv(0)
if IsAddOnLoaded("Bagnon") then self:Skin_Bagnon() end
if IsAddOnLoaded("oCD") then self:Skin_oCD() end
if Banknon then self:applySkin(_G["Banknon"]) end
it skinds oCD fantastically but i cant get bagnon skinned, not sure why (tried to follow the example code used for onebag in the addons lua file but i must be missing something lol)
Not sure if this feature was something from an addon I had, and that I've discarded. But I would like to see the "copy" and "paste" ears on the color picker frame, so that I can keep the exact same nuance of a color on different addons.