Advertisement
Arborus

DBM-RealUI Skin.lua

Aug 30th, 2014
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1. local skin = DBT:RegisterSkin("RealUI")
  2.  
  3. skin.defaults = {
  4. Skin = "RealUI",
  5. Template = "RealUISkinTimerTemplate",
  6. Texture = "Interface\\AddOns\\DBM-RealUI\\media\\Plain.tga",
  7. FillUpBars = false,
  8. IconLocked = false,
  9.  
  10. Font = "", --If this has any set font it will override the XML font template, so it needs to be blank.
  11. FontSize = 8,
  12.  
  13. StartColorR = 1,
  14. StartColorG = 0.8,
  15. StartColorB = 0,
  16. EndColorR = 1,
  17. EndColorG = 0.1,
  18. EndColorB = 0,
  19.  
  20. Width = 185,
  21. Height = 10,
  22. Scale = 1,
  23. TimerPoint = "TOP",
  24. TimerX = 281.5,
  25. TimerY = -135,
  26. BarYOffset = 9,
  27.  
  28. HugeWidth = 185,
  29. HugeScale = 1,
  30. HugeTimerPoint = "TOP",
  31. HugeTimerX = -249,
  32. HugeTimerY = -134.5,
  33. HugeBarYOffset = 9,
  34. }
  35.  
  36. if (DBM.Bars.options.Template ~= skin.defaults.Template) then
  37. --only set the skin if it isn't already set.
  38. DBM.Bars:SetSkin("RealUI")
  39. end
  40.  
  41. ---- DBM Defaults ----
  42. --[[options = {
  43. Skin = "DefaultSkin",
  44. Template = "DBTBarTemplate",
  45. Texture = "Interface\\AddOns\\DBM-DefaultSkin\\textures\\default.tga",
  46. IconLeft = true,
  47. IconRight = false,
  48. Style = "DBM",
  49. Flash = true,
  50. Spark = true,
  51. FillUpBars = true,
  52. ExpandUpwards = false,
  53. ClickThrough = false,
  54. IconLocked = true, --When true, the icon hieght will be locked to the hieght of the bar.
  55.  
  56. Font = STANDARD_TEXT_FONT,
  57. FontSize = 10,
  58. TextColorR = 1,
  59. TextColorG = 1,
  60. TextColorB = 1,
  61.  
  62. DynamicColor = true,
  63. StartColorR = 1,
  64. StartColorG = 0.7,
  65. StartColorB = 0,
  66. EndColorR = 1,
  67. EndColorG = 0,
  68. EndColorB = 0,
  69.  
  70. Width = 183,
  71. Height = 20,
  72. Scale = 0.9,
  73. TimerPoint = "TOPRIGHT",
  74. TimerX = -223,
  75. TimerY = -260,
  76. BarXOffset = 0,
  77. BarYOffset = 0,
  78.  
  79. HugeBarsEnabled = true,
  80. HugeWidth = 200,
  81. HugeScale = 1.03,
  82. HugeTimerPoint = "CENTER",
  83. HugeTimerX = 0,
  84. HugeTimerY = -120,
  85. HugeBarXOffset = 0,
  86. HugeBarYOffset = 0,
  87. EnlargeBarsTime = 8,
  88. EnlargeBarsPercent = 0.125,
  89. }]]--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement