Skada Damage Meter

295 - Class Icon - Texture Cropping Adjustment

What is the enhancement in mind? How should it look and feel?
Class icons within skada show the border textures of the class icons, unlike the spell icons from damage sources.
http://peecee.dk/uploads/102012/skadabug.png
My suggestion is to, instead of using the blizzard standard CLASS_ICON_TCOORDS table, is to augment it with a small adj amount.

Please provide any additional information below.

How To:

Line 278 of BarDisplay.lua is currently:

bar:SetIconWithCoord("Interface\\Glues\\CharacterCreate\\UI-CharacterCreate-Classes", CLASS_ICON_TCOORDS[data.class])

Suggested change:

local adj = 0.02
local l,r,t,b = unpack(CLASS_ICON_TCOORDS[data.class])
bar:SetIconWithCoord("Interface\\Glues\\CharacterCreate\\UI-CharacterCreate-Classes", {(l+adj),(r-adj),(t+adj),(b-adj)})
  • WoWScrnShot_101912_133905.jpg
    Before Fix
  • WoWScrnShot_101912_133938.jpg
    After Fix
User When Change
Zarnivoop Oct 20, 2012 at 09:31 UTC
suicidalkatt Oct 19, 2012 at 20:42 UTC Changed description:
  [b]How To[/b]:

  Line 278 of [i]BarDisplay.lua[/i] is currently:
+ [code]
  bar:SetIconWithCoord("Interface\\Glues\\CharacterCreate\\UI-CharacterCreate-Classes", CLASS_ICON_TCOORDS[data.class])
+ [/code]
  Suggested change:
+ [code]
  local adj = 0.02
  local l,r,t,b = unpack(CLASS_ICON_TCOORDS[data.class])
  bar:SetIconWithCoord("Interface\\Glues\\CharacterCreate\\UI-CharacterCreate-Classes", {(l+adj),(r-adj),(t+adj),(b-adj)})
+ [/code]
suicidalkatt Oct 19, 2012 at 20:42 UTC

Added attachment WoWScrnShot_101912_133938.jpg

suicidalkatt Oct 19, 2012 at 20:41 UTC

Added attachment WoWScrnShot_101912_133905.jpg

suicidalkatt Oct 19, 2012 at 20:39 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

Facts

Last updated
Oct 20, 2012
Reported
Oct 19, 2012
Status
Fixed - Developer made requested changes. QA should verify.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees