RSS

Четверг, 25.04.2024, 13:20
Главная » WoW API » API Виджеты » Строка состояния »

StatusBar:SetStatusBarTexture(texture [, "layer"]) or StatusBar:SetStatusBarTexture("filename" [, "layer"])

[ править ]
Sets the texture used for drawing the filled-in portion of the status bar.
[клоны]
Sets the texture used for drawing the filled-in portion of the status bar. The texture image is stretched to fill the dimensions of the entire status bar, then cropped to show only a portion corresponding to the status bar's current value.


Signature:
Code
StatusBar:SetStatusBarTexture(texture [, "layer"]) or StatusBar:SetStatusBarTexture("filename" [, "layer"])

Arguments:
  • texture - Reference to an existing Texture object (texture)
  • filename - Path to a texture image file (string)
  • layer - Graphics layer in which the texture should be drawn; defaults to ARTWORK if not specified (string, layer)

Также смотрите: Строка состояния
Ссылки: http://wowprogramming.com/docs/widgets/StatusBar/SetStatusBarTexture