diff --git a/Modules/Appearance/StarTip_Appearance.toc b/Modules/Appearance/StarTip_Appearance.toc index acedd40..f37e6d2 100644 --- a/Modules/Appearance/StarTip_Appearance.toc +++ b/Modules/Appearance/StarTip_Appearance.toc @@ -4,5 +4,7 @@ ## Author: Starlon ## Version: 1.0 ## Deps: StarTip +## X-Category: Tooltip +## X-Part-Of: StarTip Appearance.lua \ No newline at end of file diff --git a/Modules/Bars/StarTip_Bars.toc b/Modules/Bars/StarTip_Bars.toc index 27c1a06..610894c 100644 --- a/Modules/Bars/StarTip_Bars.toc +++ b/Modules/Bars/StarTip_Bars.toc @@ -4,5 +4,7 @@ ## Author: Starlon ## Version: 1.0 ## Deps: StarTip +## X-Category: Tooltip +## X-Part-Of: StarTip Bars.lua \ No newline at end of file diff --git a/Modules/Border/StarTip_Border.toc b/Modules/Border/StarTip_Border.toc index a709444..8e7dd53 100644 --- a/Modules/Border/StarTip_Border.toc +++ b/Modules/Border/StarTip_Border.toc @@ -4,5 +4,7 @@ ## Author: Starlon ## Version: @package-version@ ## Deps: StarTip +## X-Category: Tooltip +## X-Part-Of: StarTip Border.lua \ No newline at end of file diff --git a/Modules/Fade/StarTip_Fade.toc b/Modules/Fade/StarTip_Fade.toc index aa34867..ee0cc69 100644 --- a/Modules/Fade/StarTip_Fade.toc +++ b/Modules/Fade/StarTip_Fade.toc @@ -4,5 +4,7 @@ ## Author: Starlon ## Version: 1.0 ## Deps: StarTip +## X-Category: Tooltip +## X-Part-Of: StarTip Fade.lua \ No newline at end of file diff --git a/Modules/Gestures/StarTip_Gestures.toc b/Modules/Gestures/StarTip_Gestures.toc index 6a72f77..45e3bf9 100644 --- a/Modules/Gestures/StarTip_Gestures.toc +++ b/Modules/Gestures/StarTip_Gestures.toc @@ -4,5 +4,7 @@ ## Author: Starlon ## Version: 1.0 ## Deps: StarTip +## X-Category: Tooltip +## X-Part-Of: StarTip Gestures.lua \ No newline at end of file diff --git a/Modules/Histograms/StarTip_Histograms.toc b/Modules/Histograms/StarTip_Histograms.toc index d4ab030..e36e5f2 100644 --- a/Modules/Histograms/StarTip_Histograms.toc +++ b/Modules/Histograms/StarTip_Histograms.toc @@ -4,5 +4,8 @@ ## Author: Starlon ## Version: 1.0 ## Deps: StarTip +## X-Category: Tooltip +## X-Part-Of: StarTip + Histograms.lua \ No newline at end of file diff --git a/Modules/Icons/StarTip_Icons.toc b/Modules/Icons/StarTip_Icons.toc index 1e27dc4..b66e46a 100644 --- a/Modules/Icons/StarTip_Icons.toc +++ b/Modules/Icons/StarTip_Icons.toc @@ -4,5 +4,7 @@ ## Author: Starlon ## Version: 1.0 ## Deps: StarTip +## X-Category: Tooltip +## X-Part-Of: StarTip Icons.lua \ No newline at end of file diff --git a/Modules/Images/StarTip_Images.toc b/Modules/Images/StarTip_Images.toc index ceaf4bf..df58928 100644 --- a/Modules/Images/StarTip_Images.toc +++ b/Modules/Images/StarTip_Images.toc @@ -4,5 +4,7 @@ ## Author: Starlon ## Version: 1.0 ## Deps: StarTip +## X-Category: Tooltip +## X-Part-Of: StarTip Images.lua \ No newline at end of file diff --git a/Modules/Layouts/StarTip_Layouts.toc b/Modules/Layouts/StarTip_Layouts.toc index 28b2853..167768c 100644 --- a/Modules/Layouts/StarTip_Layouts.toc +++ b/Modules/Layouts/StarTip_Layouts.toc @@ -4,5 +4,7 @@ ## Author: Starlon ## Version: 1.0 ## Deps: StarTip +## X-Category: Tooltip +## X-Part-Of: StarTip Nameplates.lua \ No newline at end of file diff --git a/Modules/Nameplates/StarTip_Nameplates.toc b/Modules/Nameplates/StarTip_Nameplates.toc index 28b2853..167768c 100644 --- a/Modules/Nameplates/StarTip_Nameplates.toc +++ b/Modules/Nameplates/StarTip_Nameplates.toc @@ -4,5 +4,7 @@ ## Author: Starlon ## Version: 1.0 ## Deps: StarTip +## X-Category: Tooltip +## X-Part-Of: StarTip Nameplates.lua \ No newline at end of file diff --git a/Modules/Portrait/StarTip_Portrait.toc b/Modules/Portrait/StarTip_Portrait.toc index 83ef7a8..09b309b 100644 --- a/Modules/Portrait/StarTip_Portrait.toc +++ b/Modules/Portrait/StarTip_Portrait.toc @@ -4,5 +4,7 @@ ## Author: Starlon ## Version: 1.0 ## Deps: StarTip +## X-Category: Tooltip +## X-Part-Of: StarTip Portrait.lua \ No newline at end of file diff --git a/Modules/Position/StarTip_Position.toc b/Modules/Position/StarTip_Position.toc index 850e85c..4030e38 100644 --- a/Modules/Position/StarTip_Position.toc +++ b/Modules/Position/StarTip_Position.toc @@ -4,5 +4,7 @@ ## Author: Starlon ## Version: 1.0 ## Deps: StarTip +## X-Category: Tooltip +## X-Part-Of: StarTip Position.lua \ No newline at end of file diff --git a/Modules/PvP/StarTip_PvP.toc b/Modules/PvP/StarTip_PvP.toc index 6519fab..f5dd8a9 100644 --- a/Modules/PvP/StarTip_PvP.toc +++ b/Modules/PvP/StarTip_PvP.toc @@ -4,5 +4,7 @@ ## Author: Starlon ## Version: 1.0 ## Deps: StarTip +## X-Category: Tooltip +## X-Part-Of: StarTip PvP.lua \ No newline at end of file diff --git a/Modules/RaidIcon/StarTip_RaidIcon.toc b/Modules/RaidIcon/StarTip_RaidIcon.toc index 88fe156..efe6995 100644 --- a/Modules/RaidIcon/StarTip_RaidIcon.toc +++ b/Modules/RaidIcon/StarTip_RaidIcon.toc @@ -4,5 +4,7 @@ ## Author: Starlon ## Version: 1.0 ## Deps: StarTip +## X-Category: Tooltip +## X-Part-Of: StarTip RaidIcon.lua \ No newline at end of file diff --git a/Modules/Targeting/StarTip_Targeting.toc b/Modules/Targeting/StarTip_Targeting.toc index eb1b5d4..5880b86 100644 --- a/Modules/Targeting/StarTip_Targeting.toc +++ b/Modules/Targeting/StarTip_Targeting.toc @@ -4,5 +4,7 @@ ## Author: Starlon ## Version: 1.0 ## Deps: StarTip +## X-Category: Tooltip +## X-Part-Of: StarTip Targeting.lua \ No newline at end of file diff --git a/Modules/Texts/StarTip_Texts.toc b/Modules/Texts/StarTip_Texts.toc index 32da9f7..45316b1 100644 --- a/Modules/Texts/StarTip_Texts.toc +++ b/Modules/Texts/StarTip_Texts.toc @@ -4,5 +4,7 @@ ## Author: Starlon ## Version: 1.0 ## Deps: StarTip +## X-Category: Tooltip +## X-Part-Of: StarTip Texts.lua \ No newline at end of file diff --git a/Modules/UnitTooltip/StarTip_UnitTooltip.toc b/Modules/UnitTooltip/StarTip_UnitTooltip.toc index 8e45661..c5a0c51 100644 --- a/Modules/UnitTooltip/StarTip_UnitTooltip.toc +++ b/Modules/UnitTooltip/StarTip_UnitTooltip.toc @@ -4,5 +4,7 @@ ## Author: Starlon ## Version: 1.0 ## Deps: StarTip +## X-Category: Tooltip +## X-Part-Of: StarTip UnitTooltip.lua \ No newline at end of file diff --git a/Modules/UnitTooltip/UnitTooltip.lua b/Modules/UnitTooltip/UnitTooltip.lua index c9630b0..48267fd 100644 --- a/Modules/UnitTooltip/UnitTooltip.lua +++ b/Modules/UnitTooltip/UnitTooltip.lua @@ -190,16 +190,18 @@ return SmartRace(unit) name = "Class", left = 'return "Class:"', right = [[ -if UnitClass(unit) == UnitName(unit) then return end +local class, tag = UnitClass(unit) +if class == UnitName(unit) then return end local r, g, b if UnitIsPlayer(unit) then r, g, b = ClassColor(unit) else r, g, b = 1, 1, 1 end -return Colorize(UnitClass(unit), r, g, b) +return Texture(format("Interface\\Addons\\StarTip\\Media\\icons\\%s.tga", tag), 16) .. Colorize(" " .. class, r, g, b) ]], enabled = true, + cols = 80 }, [10] = { name = "Druid Form",