View Single Post
06-19-12, 11:08 PM   #3
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 2,364
Yes, Seerah, they can. However, that option has to first be written into the skin Lua file, and it must be enabled (not commented out) in the .lua file.

There are no adjustments in the Masque options GUI for that, other than enabling whatever fonts are enabled in the skin. IE: The "Font Settings" option.

To change that setting you would have to manually edit the .lua file (in my case the CB.lua file) directly. You would have to change the "HotKey" "OffsetX = " and "OffsetY = " values.

Here are the relevant sections from my own Masque_ClassButtons plug-in:
Lua Code:
  1. HotKey = {
  2.         Width = 40,
  3.         Height = 10,
  4.     --  Font = [[Interface\AddOns\Masque_ClassButtons\CBFonts\Your Font Name Goes Here]],
  5.     --  FontSize = 12,
  6.     --  JustifyH = "CENTER",    --Available values are LEFT, CENTER, RIGHT--
  7.     --  JustifyV = "TOP",    --Available values are BOTTOM, MIDDLE, TOP--
  8.         OffsetX = -6,
  9.         OffsetY = -6,
  10.     },
  11.     Count = {
  12.         Width = 40,
  13.         Height = 10,
  14.     --  Color = {0, 0, 0, 0},
  15.     --  Font = [[Interface\AddOns\Masque_ClassButtons\CBFonts\Your Font Name Goes Here]],
  16.     --  FontSize = 12,
  17.     --  JustifyH = "CENTER",    --Available values are LEFT, CENTER, RIGHT--
  18.     --  JustifyV = "BOTTOM",    --Available values are BOTTOM, MIDDLE, TOP--
  19.         OffsetX = -6,
  20.         OffsetY = 4,
  21.     },
  22.     Name = {
  23.         Width = 40,
  24.         Height = 10,
  25.     --  Color = {0, 0, 0, 0},
  26.     --  Font = [[Interface\AddOns\Masque_ClassButtons\CBFonts\Your Font Name Goes Here]],
  27.     --  FontSize = 12,
  28.     --  JustifyH = "CENTER",    --Available values are LEFT, CENTER, RIGHT--
  29.     --  JustifyV = "BOTTOM",    --Available values are BOTTOM, MIDDLE, TOP--
  30.         OffsetX = 0,
  31.         OffsetY = 4,
  32.     },
  33.     Duration = {
  34.         Width = 40,
  35.         Height = 10,
  36.     --  Color = {0, 0, 0, 0},
  37.     --  Font = [[Interface\AddOns\Masque_ClassButtons\CBFonts\Your Font Name Goes Here]],
  38.     --  FontSize = 12,
  39.     --  JustifyH = "CENTER",    --Available values are LEFT, CENTER, RIGHT--
  40.     --  JustifyV = "MIDDLE",    --Available values are BOTTOM, MIDDLE, TOP--
  41.         OffsetX = 0,
  42.         OffsetY = -10,
(They're actually lines 67 through 128 and are defined in the Death Knight skin section)
As you can see I have quite a bit commented out in the release version. Those parts are not commented out in my personal copy, but, then again, I like the fonts I use and really don't feel the need to inflict my tastes on anyone else.
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?


Carbonite <----- GitHub main module (Maps ONLY) download link. The other modules are also available on GitHub.
Carbonite-CLASSIC<----- GitHub link to Carbonite Classic. Thanks to ircdirk for this!
  Reply With Quote