WoW:XML/Color elements: Difference between revisions

From AddOn Studio
< XML
Jump to navigation Jump to search
mNo edit summary
 
(remove delete and add Category:Interface Customization)
Line 1: Line 1:
Atributes: r="#" g="#" b="#" a="#"
Attributes: r="#" g="#" b="#" a="#"


   1. is a value from 0 to 1, r is red, g is green, b is blue and a is alpha  
   1. is a value from 0 to 1, r is red, g is green, b is blue and a is alpha  


The Color element when used in a Texture element is there only to an area with a solid block of color (with thansparency). With other elements it can be used to change the color of the objects the element contains (such as the text in a fontstring). If you define file="" in the texture tag however Color will have no effect. You will have to use texturename:SetVertexColor()
The Color element when used in a Texture element is there only to an area with a solid block of color (with thansparency). With other elements it can be used to change the color of the objects the element contains (such as the text in a fontstring). If you define file="" in the texture tag however Color will have no effect. You will have to use texturename:SetVertexColor()
[[Category:Interface Customization]]

Revision as of 01:40, 7 December 2005

Attributes: r="#" g="#" b="#" a="#"

  1. is a value from 0 to 1, r is red, g is green, b is blue and a is alpha 

The Color element when used in a Texture element is there only to an area with a solid block of color (with thansparency). With other elements it can be used to change the color of the objects the element contains (such as the text in a fontstring). If you define file="" in the texture tag however Color will have no effect. You will have to use texturename:SetVertexColor()