Mercurial > wow > hansgar_and_franzok_assist
comparison Libs/DF/cooltip.lua @ 30:d1963bd45219
- framework update.
| author | Tercioo |
|---|---|
| date | Tue, 19 Jan 2016 09:47:24 -0200 |
| parents | 5da06cb420d4 |
| children | 7944c081e5b4 |
comparison
equal
deleted
inserted
replaced
| 29:5da06cb420d4 | 30:d1963bd45219 |
|---|---|
| 65 CoolTip.SelectedIndexMain = nil --> menus | 65 CoolTip.SelectedIndexMain = nil --> menus |
| 66 CoolTip.SelectedIndexSec = {} --> menus | 66 CoolTip.SelectedIndexSec = {} --> menus |
| 67 | 67 |
| 68 --options table | 68 --options table |
| 69 CoolTip.OptionsList = { | 69 CoolTip.OptionsList = { |
| 70 ["RightTextMargin"] = true, | |
| 70 ["IconSize"] = true, | 71 ["IconSize"] = true, |
| 71 ["HeightAnchorMod"] = true, | 72 ["HeightAnchorMod"] = true, |
| 72 ["WidthAnchorMod"] = true, | 73 ["WidthAnchorMod"] = true, |
| 73 ["MinWidth"] = true, | 74 ["MinWidth"] = true, |
| 74 ["FixedWidth"] = true, | 75 ["FixedWidth"] = true, |
| 650 menuButton.leftText:SetWidth (0) | 651 menuButton.leftText:SetWidth (0) |
| 651 menuButton.leftText:SetHeight (0) | 652 menuButton.leftText:SetHeight (0) |
| 652 menuButton.rightText:SetWidth (0) | 653 menuButton.rightText:SetWidth (0) |
| 653 menuButton.rightText:SetHeight (0) | 654 menuButton.rightText:SetHeight (0) |
| 654 | 655 |
| 656 menuButton.rightText:SetPoint ("right", menuButton.rightIcon, "left", CoolTip.OptionsTable.RightTextMargin or -3, 0) | |
| 657 | |
| 655 --> set text | 658 --> set text |
| 656 if (leftTextTable) then | 659 if (leftTextTable) then |
| 657 | 660 |
| 658 menuButton.leftText:SetText (leftTextTable [1]) | 661 menuButton.leftText:SetText (leftTextTable [1]) |
| 659 | 662 |
