RSS

Вторник, 05.11.2024, 14:02
Главная » WoW API » API Виджеты » Внутриигровая подсказка »

GameTooltip:AddDoubleLine("textLeft", "textRight" [, rL [, gL [, bL [, rR [, gR [, bR]]]]]])

[ править ]
Adds a line to the tooltip with both left-side and right-side portions.
[клоны]
Adds a line to the tooltip with both left-side and right-side portions. The tooltip is not automatically resized to fit the added line; to do so, call the tooltip's :Show() method after adding lines.


Signature:
Code
GameTooltip:AddDoubleLine("textLeft", "textRight" [, rL [, gL [, bL [, rR [, gR [, bR]]]]]])

Arguments:
  • textLeft - Text to be displayed on the left side of the new line (string)
  • textRight - Text to be displayed on the right side of the new line (string)
  • rL - Red component of the color for the left-side text (0.0 - 1.0) (number)
  • gL - Green component of the color for the left-side text (0.0 - 1.0) (number)
  • bL - Blue component of the color for the left-side text (0.0 - 1.0) (number)
  • rR - Red component of the color for the right-side text (0.0 - 1.0) (number)
  • gR - Green component of the color for the right-side text (0.0 - 1.0) (number)
  • bR - Blue component of the color for the right-side text (0.0 - 1.0) (number)

Также смотрите: Внутриигровая подсказка
Ссылки: http://wowprogramming.com/docs/widgets/GameTooltip/AddDoubleLine