Skip to content

Commit

Permalink
Plug
Browse files Browse the repository at this point in the history
I need to rework how font shadows are handles/implemented >_>
  • Loading branch information
ls- committed Mar 6, 2018
1 parent 3c229a4 commit 8d8be44
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
24 changes: 24 additions & 0 deletions config/bars.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ local BUTTON_INDICATORS = {
hotkey = L["KEYBIND_TEXT"],
}

local FONT_FLAGS = {
[""] = L["NONE"],
["Outline"] = L["OUTLINE"],
["Shadow"] = L["SHADOW"],
}

local CURRENCY_TABLE = {
order = 20,
type = "group",
Expand Down Expand Up @@ -330,6 +336,12 @@ local function getOptionsTable_Bar(barID, order, name)
name = L["SIZE"],
min = 10, max = 20, step = 2,
},
-- flag = {
-- order = 3,
-- type = "select",
-- name = L["FLAG"],
-- values = FONT_FLAGS,
-- },
},
},
macro = {
Expand Down Expand Up @@ -367,6 +379,12 @@ local function getOptionsTable_Bar(barID, order, name)
name = L["SIZE"],
min = 10, max = 20, step = 2,
},
-- flag = {
-- order = 3,
-- type = "select",
-- name = L["FLAG"],
-- values = FONT_FLAGS,
-- },
},
},
count = {
Expand All @@ -391,6 +409,12 @@ local function getOptionsTable_Bar(barID, order, name)
name = L["SIZE"],
min = 10, max = 20, step = 2,
},
-- flag = {
-- order = 3,
-- type = "select",
-- name = L["FLAG"],
-- values = FONT_FLAGS,
-- },
},
},
fading = getOptionsTable_Fading(barID, 50),
Expand Down
6 changes: 5 additions & 1 deletion locales/enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ L["HIDE"] = _G.HIDE
L["MAINMENU_BUTTON"] = _G.MAINMENU_BUTTON
L["MINIMAP"] = _G.MINIMAP_LABEL
L["NEWBIE_TOOLTIP_SPELLBOOK"] = _G.NEWBIE_TOOLTIP_SPELLBOOK
L["NONE"] = _G.NONE
L["OFFLINE"] = _G.PLAYER_OFFLINE
L["PET"] = _G.PET
L["QUESTLOG_BUTTON"] = _G.QUESTLOG_BUTTON
Expand Down Expand Up @@ -168,9 +169,11 @@ L["FADING"] = "Fading"
L["FCF"] = "Floating Combat Feedback"
L["FILTER_SETTINGS"] = "Filter Settings"
L["FILTERS"] = "Filters"
L["FLAG"] = "Flag"
L["FLYOUT_DIR"] = "Flyout Direction"
L["FOCUS_FRAME"] = "Focus Frame"
L["FOCUS_TOF"] = "Focus & ToF"
L["FORMAT"] = "Format"
L["FRAME"] = "Frame"
L["FRIENDLY_UNITS"] = "Friendly Units"
L["GM_FRAME"] = "Ticket Status Frame"
Expand Down Expand Up @@ -230,6 +233,7 @@ L["OPEN_CONFIG"] = "Open Config"
L["ORBS"] = "Orbs"
L["OTHER"] = "Other"
L["OTHERS_FIRST"] = "Others First"
L["OUTLINE"] = "Outline"
L["PER_ROW"] = "Per Row"
L["PET_BAR"] = "Pet Bar"
L["PET_BATTLE_BAR"] = "Pet Battle Bar"
Expand Down Expand Up @@ -271,6 +275,7 @@ L["SELF_DEBUFFS_DESC"] = "Show debuffs cast by the unit itself."
L["SELF_DEBUFFS_PERMA"] = "Perma Self Debuffs"
L["SELF_DEBUFFS_PERMA_DESC"] = "Show permanent debuffs cast by the unit itself."
L["SEPARATION"] = "Separation"
L["SHADOW"] = "Shadow"
L["SHIFT_CLICK_TO_SHOW_AS_XP"] = "|cffffffffShift-Click|r to Show as Experience Bar."
L["SIZE"] = "Size"
L["SIZE_OVERRIDE"] = "Size Override"
Expand All @@ -284,7 +289,6 @@ L["TARGET_FRAME"] = "Target Frame"
L["TARGET_INFO"] = "Target Info"
L["TARGET_INFO_DESC"] = "Show the current tooltip unit's target."
L["TARGET_TOT"] = "Target & ToT"
L["FORMAT"] = "Format"
L["TEXT_HORIZ_ALIGNMENT"] = "Horizontal Alignment"
L["TEXT_VERT_ALIGNMENT"] = "Vertical Alignment"
L["THREAT_GLOW"] = "Threat Glow"
Expand Down

0 comments on commit 8d8be44

Please sign in to comment.