diff --git a/env/profiles.lua b/env/profiles.lua new file mode 100644 index 00000000..42ed41a8 --- /dev/null +++ b/env/profiles.lua @@ -0,0 +1,196 @@ +local f = CreateFrame("Frame") +f:RegisterEvent("PLAYER_ENTERING_WORLD") +f:SetScript("OnEvent", function() + -- pfUI + pfUI_profiles["pfUI"] = { + ["chat"] = { + ["right"] = { + ["enable"] = "1", + }, + }, + } + + -- Slim + pfUI_profiles["Slim"] = { + ["panel"] = { + ["use_unitfonts"] = "1", + }, + ["tooltip"] = { + ["position"] = "bottom", + }, + ["appearance"] = { + ["infight"] = { + ["screen"] = "0", + ["common"] = "1", + }, + ["border"] = { + ["color"] = "0,0,0,1", + ["bags"] = "3", + ["panels"] = "1", + ["unitframes"] = "1", + ["default"] = "1", + ["background"] = "0.1,0.1,0.1,0.8", + ["chat"] = "2", + ["actionbars"] = "1", + }, + }, + ["chat"] = { + ["global"] = { + ["tabmouse"] = "1", + ["tabdock"] = "0", + ["border"] = "0,0,0,0", + ["background"] = "0,0,0,0.3", + ["custombg"] = "1", + }, + ["text"] = { + ["outline"] = "0", + }, + ["left"] = { + ["height"] = "160", + ["width"] = "405", + }, + ["right"] = { + ["enable"] = "1", + ["height"] = "160", + ["width"] = "405", + }, + }, + ["bars"] = { + ["background"] = "0", + ["icon_size"] = "22", + }, + ["version"] = "3.3.0", + ["nameplates"] = { + ["use_unitfonts"] = "1", + }, + ["unitframes"] = { + ["target"] = { + ["pheight"] = "6", + ["height"] = "35", + ["panchor"] = "TOPLEFT", + ["pspace"] = "-1", + ["width"] = "225", + }, + ["pet"] = { + ["debuffs"] = "top", + ["pheight"] = "6", + ["pspace"] = "-1", + ["width"] = "125", + }, + ["player"] = { + ["txthpleft"] = "powerdyn", + ["height"] = "35", + ["showPVP"] = "1", + ["panchor"] = "TOPRIGHT", + ["pspace"] = "-1", + ["width"] = "225", + ["pheight"] = "6", + }, + ["custombgcolor"] = "0.5,0.2,0.2,1", + ["focus"] = { + ["pheight"] = "6", + }, + ["raid"] = { + ["height"] = "24", + ["width"] = "48", + }, + ["custombg"] = "1", + ["customcolor"] = "0.15,0.15,0.15,1", + ["custom"] = "1", + ["ttarget"] = { + ["portrait"] = "off", + ["pheight"] = "6", + ["height"] = "16", + ["pspace"] = "-1", + ["width"] = "125", + }, + }, + } + + -- Adapta + pfUI_profiles["Adapta"] = { + ["appearance"] = { + ["infight"] = { + ["screen"] = "1", + ["common"] = "0", + }, + ["border"] = { + ["color"] = "0,0,0,1", + ["unitframes"] = "1", + ["background"] = "0.15,0.25,0.25,0.8", + ["actionbars"] = "4", + }, + }, + ["unitframes"] = { + ["target"] = { + ["portrait"] = "off", + ["height"] = "35", + ["panchor"] = "TOPLEFT", + ["pspace"] = "-1", + ["width"] = "225", + ["pheight"] = "6", + }, + ["pet"] = { + ["debuffs"] = "top", + ["portrait"] = "off", + ["pspace"] = "-1", + ["width"] = "125", + ["pheight"] = "6", + }, + ["player"] = { + ["portrait"] = "off", + ["txthpleft"] = "powerdyn", + ["height"] = "35", + ["showPVP"] = "1", + ["panchor"] = "TOPRIGHT", + ["pspace"] = "-1", + ["width"] = "225", + ["pheight"] = "6", + }, + ["focus"] = { + ["portrait"] = "off", + ["pheight"] = "6", + }, + ["ttarget"] = { + ["portrait"] = "off", + ["height"] = "16", + ["pspace"] = "-1", + ["width"] = "125", + ["pheight"] = "6", + }, + ["customcolor"] = "0.1,0.2,0.2,1", + ["custombg"] = "1", + ["custom"] = "1", + }, + ["bars"] = { + ["icon_size"] = "17", + ["right"] = { + ["formfactor"] = "4 x 3", + }, + ["bottomright"] = { + ["formfactor"] = "4 x 3", + }, + }, + ["chat"] = { + ["global"] = { + ["tabmouse"] = "1", + ["tabdock"] = "0", + ["border"] = "0,0,0,1", + ["custombg"] = "1", + ["background"] = "0.15,0.25,0.25,0.3", + }, + ["text"] = { + ["outline"] = "0", + }, + ["left"] = { + ["height"] = "161", + ["width"] = "400", + }, + ["right"] = { + ["enable"] = "1", + ["height"] = "161", + ["width"] = "400", + }, + }, + } +end) diff --git a/pfUI.toc b/pfUI.toc index 8eb4e7fe..ceffdd73 100644 --- a/pfUI.toc +++ b/pfUI.toc @@ -2,7 +2,7 @@ ## Title: |cff33ffccpf|cffffffffUI ## Author: Shagu ## Notes: A complete user interface replacement. -## Version: 3.3.0 +## Version: 3.4.0 ## SavedVariables: pfUI_profiles, pfUI_gold ## SavedVariablesPerCharacter: pfUI_config, pfUI_init, pfUI_playerDB