so I have the buttons changing textures now... but it looks like in earlier versions of WoW when you made a large button (all stretched and miss formed)
default red button
my green button
am I doing something wrong here? or am I missing something?
Lua Code:
me.ListButtons[x]:SetText( "*** "..Table[x + slider].fullName.." ***" )
me.ListButtons[x]:SetHighlightTexture("Interface\\AddOns\\NickAlert\\Green-Panel-Button-Highlight.tga")
me.ListButtons[x]:GetHighlightTexture():SetTexCoord( 0, 0.625, 0, 0.6875 )
me.ListButtons[x]:SetNormalTexture("interface\\addons\\nickalert\\green-panel-button-up.tga")
me.ListButtons[x]:GetNormalTexture():SetTexCoord( 0, 0.625, 0, 0.6875 )
me.ListButtons[x]:SetPushedTexture("Interface\\AddOns\\NickAlert\\Green-Panel-Button-Down.tga")
me.ListButtons[x]:GetPushedTexture():SetTexCoord( 0, 0.625, 0, 0.6875 )
I also noticed that the textures appear OVER the WoW default texture (and SetNormalTexture( nil ) and SetPushedTexture( nil ) return them to default but SetHighlightTexture( nil ) removes the highlight texture all together)