Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-11-08, 08:54 PM   #1
Elloria
An Onyxian Warder
 
Elloria's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 358
Attempting to create a skin for Button Facade

Im trying to do this. I suck at it so far lol. I really don't know lua which is my major downfall. But it looked simple enough to tackle. For some reason tho I cannot get it to show up in the addons list when i log on. I can show you guys the code I have. The toc file is done here is what i have:

Toc:

Code:
## Interface: 20400

## Title: ButtonFacade AA0000Undead
## Notes: Undead skin for Button Facade.
## Version: 2.4.0

## Author: Elloria
## X-eMail: [email protected]
## X-Credits: JJSheets for ButtonFacade of course!

## X-Category: Action Bars
## OptionalDeps: LibButtonFacade, ButtonFacade

Skin.lua
Skins.lua

--[[ Undead Theme for ButtonFacade v2.4.0 ]]

local LibButtonFacade = LibStub("LibButtonFacade",true)
if not LibButtonFacade then
return
end

-- Undead Skin
LibButtonFacade:AddSkin("Undead",{

-- Skin data start.
Backdrop = {
Width = 36,
Height = 36,
Texture = [[Interface\Tooltips\UI-Tooltip-Background]],
Red = 0,
Green = 0,
Blue = 0,
Alpha = 0.6,
},
Icon = {
Width = 28,
Height = 27,
TexCoords = {0.07,0.93,0.07,0.93}, -- Keeps the icon from showing its "silvery" edges.
},
Border = {
Hide = true
},
Flash = {
Width = 30,
Height = 30,
Texture = [[Interface\AddOns\ButtonFacade_Undead\textures\flash]],
},
Cooldown = {
Width = 36,
Height = 36,
},
AutoCast = {
Width = 36,
Height = 36,
},
AutoCastable = {
Width = 58,
Height = 58,
Texture = [[Interface\Buttons\UI-AutoCastableOverlay]],
},
Normal = {
Width = 40,
Height = 40,
Texture = [[Interface\AddOns\ButtonFacade_Undead\textures\overlay]],
},
Pushed = {
Hide = true,
},
Equip = {
Width = 46,
Height = 46,
Texture = [[Interface\AddOns\ButtonFacade_Undead\textures\equip]],
},
Disabled = {
Hide = true,
},
Checked = {
Width = 36,
Height = 36,
Texture = [[Interface\Buttons\CheckButtonHilight]],
BlendMode = "ADD",
},
Gloss = {
Height = 36,
Width = 36,
Texture = [[Interface\Addons\ButtonFacade_Undead\Textures\Gloss]],
},
Highlight = {
Width = 40,
Height = 40,
Texture = [[Interface\AddOns\ButtonFacade_Undead\textures\highlight]],
},
HotKey = {
Width = 36,
Height = 10,
OffsetX = -2,
OffsetY = 11,
},
Count = {
Width = 36,
Height = 10,
OffsetX = -2,
OffsetY = -11,
},
Name = {
Width = 36,
Height = 10,
OffsetY = -11,
},
-- Skin data end.

},true)

Thanks for any and all help
__________________
  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Attempting to create a skin for Button Facade


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