Merge pull request #61 from Sleaker/main

Fix Options Menu, Risk choice, and few missed buttons
This commit is contained in:
Andrew
2025-04-29 11:53:34 -07:00
committed by GitHub
5 changed files with 183 additions and 34 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
## Interface: 30300 ## Interface: 30300
## Author: Elv, Bunny ## Author: Elv, Bunny
## Version: 7.20 ## Version: 7.21
## Title: |cff1784d1E|r|cffe5e3e3lvUI|r ## Title: |cff1784d1E|r|cffe5e3e3lvUI|r
## Notes: User Interface replacement AddOn for World of Warcraft. ## Notes: User Interface replacement AddOn for World of Warcraft.
## SavedVariables: ElvDB, ElvPrivateDB ## SavedVariables: ElvDB, ElvPrivateDB
+162 -30
View File
@@ -123,12 +123,15 @@ S:AddCallback("Skin_BlizzardOptions", function()
"InterfaceOptionsControlsPanelAutoDismount", "InterfaceOptionsControlsPanelAutoDismount",
"InterfaceOptionsControlsPanelAutoClearAFK", "InterfaceOptionsControlsPanelAutoClearAFK",
"InterfaceOptionsControlsPanelBlockTrades", "InterfaceOptionsControlsPanelBlockTrades",
"InterfaceOptionsControlsPanelLootAtMouse", "InterfaceOptionsControlsPanelLootAtMouse", -- Old Name?
"InterfaceOptionsControlsPanelAutoLootCorpse", "InterfaceOptionsControlsPanelLootUnderMouse",
"InterfaceOptionsControlsPanelAutoLootCorpse", -- Old Name?
"InterfaceOptionsControlsPanelAutoLootDefault",
"InterfaceOptionsControlsPanelTabTargetFacing", "InterfaceOptionsControlsPanelTabTargetFacing",
"InterfaceOptionsControlsPanelTabTargetCombat", "InterfaceOptionsControlsPanelTabTargetCombat",
"InterfaceOptionsControlsPanelTabTargetPlayers", "InterfaceOptionsControlsPanelTabTargetPlayers",
"InterfaceOptionsControlsPanelHoldToCast", "InterfaceOptionsControlsPanelHoldToCast", -- Moved to Combat panel?
"InterfaceOptionsCombatPanelAttackOnAssist", "InterfaceOptionsCombatPanelAttackOnAssist",
"InterfaceOptionsCombatPanelAutoRange", "InterfaceOptionsCombatPanelAutoRange",
"InterfaceOptionsCombatPanelStopAutoAttack", "InterfaceOptionsCombatPanelStopAutoAttack",
@@ -137,22 +140,36 @@ S:AddCallback("Skin_BlizzardOptions", function()
"InterfaceOptionsCombatPanelTargetOfTarget", "InterfaceOptionsCombatPanelTargetOfTarget",
"InterfaceOptionsCombatPanelEnemyCastBarsOnPortrait", "InterfaceOptionsCombatPanelEnemyCastBarsOnPortrait",
"InterfaceOptionsCombatPanelEnemyCastBarsOnNameplates", "InterfaceOptionsCombatPanelEnemyCastBarsOnNameplates",
"InterfaceOptionsCombatPanelAoEIndicatorsSelf", "InterfaceOptionsCombatPanelAoEIndicatorsSelf", -- Old Name?
"InterfaceOptionsCombatPanelAoEIndicatorsEnemies", "InterfaceOptionsCombatPanelSelf",
"InterfaceOptionsCombatPanelAoEIndicatorsFriendly", "InterfaceOptionsCombatPanelAoEIndicatorsEnemies", -- Old Name?
"InterfaceOptionsCombatPanelEnemies",
"InterfaceOptionsCombatPanelAoEIndicatorsFriendly", -- Old Name?
"InterfaceOptionsCombatPanelFriendly",
"InterfaceOptionsCombatPanelSpellActivationOverlayEnabled",
"InterfaceOptionsCombatPanelAutoAssistCast",
"InterfaceOptionsCombatPanelSpellShadowShowBad",
"InterfaceOptionsCombatPanelHoldToCast",
"InterfaceOptionsDisplayPanelShowCloak", "InterfaceOptionsDisplayPanelShowCloak",
"InterfaceOptionsDisplayPanelShowHelm", "InterfaceOptionsDisplayPanelShowHelm",
"InterfaceOptionsDisplayPanelShowAggroPercentage", "InterfaceOptionsDisplayPanelShowAggroPercentage",
"InterfaceOptionsDisplayPanelPlayAggroSounds", "InterfaceOptionsDisplayPanelPlayAggroSounds", -- Old Name?
"InterfaceOptionsDisplayPanelDetailedLootInfo", "InterfaceOptionsDisplayPanelThreatPlaySounds",
"InterfaceOptionsDisplayPanelShowFreeBagSpace", "InterfaceOptionsDisplayPanelDetailedLootInfo", -- Old Name?
"InterfaceOptionsDisplayPanelCinematicSubtitles", "InterfaceOptionsDisplayPanelShowLootSpam",
"InterfaceOptionsDisplayPanelShowFreeBagSpace", -- Old Name?
"InterfaceOptionsDisplayPanelDisplayFreeBagSlots",
"InterfaceOptionsDisplayPanelCinematicSubtitles", -- Old Name?
"InterfaceOptionsDisplayPanelMovieSubtitle",
"InterfaceOptionsDisplayPanelRotateMinimap", "InterfaceOptionsDisplayPanelRotateMinimap",
"InterfaceOptionsDisplayPanelScreenEdgeFlash", "InterfaceOptionsDisplayPanelScreenEdgeFlash",
"InterfaceOptionsDisplayPanelShowClock", "InterfaceOptionsDisplayPanelShowClock",
"InterfaceOptionsDisplayPanelColorblindMode", "InterfaceOptionsDisplayPanelColorblindMode",
"InterfaceOptionsDisplayPanelShowItemLevel", "InterfaceOptionsDisplayPanelShowItemLevel",
"InterfaceOptionsDisplayPanelHighlightNewItems", "InterfaceOptionsDisplayPanelHighlightNewItems",
"InterfaceOptionsDisplayPanelSelectionCircleMode",
"InterfaceOptionsObjectivesPanelInstantQuestText", "InterfaceOptionsObjectivesPanelInstantQuestText",
"InterfaceOptionsObjectivesPanelAutoQuestTracking", "InterfaceOptionsObjectivesPanelAutoQuestTracking",
"InterfaceOptionsObjectivesPanelAutoQuestProgress", "InterfaceOptionsObjectivesPanelAutoQuestProgress",
@@ -160,15 +177,20 @@ S:AddCallback("Skin_BlizzardOptions", function()
"InterfaceOptionsObjectivesPanelAdvancedWorldMap", "InterfaceOptionsObjectivesPanelAdvancedWorldMap",
"InterfaceOptionsObjectivesPanelWatchFrameWidth", "InterfaceOptionsObjectivesPanelWatchFrameWidth",
"InterfaceOptionsObjectivesPanelPTAQuests", "InterfaceOptionsObjectivesPanelPTAQuests",
"InterfaceOptionsObjectivesPanelInGameNavigation",
"InterfaceOptionsObjectivesPanelShowQuestUnitCircles",
"InterfaceOptionsSocialPanelProfanityFilter", "InterfaceOptionsSocialPanelProfanityFilter",
"InterfaceOptionsSocialPanelSpamFilter", "InterfaceOptionsSocialPanelSpamFilter",
"InterfaceOptionsSocialPanelChatBubbles", "InterfaceOptionsSocialPanelChatBubbles",
"InterfaceOptionsSocialPanelNameplateChatBubbles",
"InterfaceOptionsSocialPanelPartyChat", "InterfaceOptionsSocialPanelPartyChat",
"InterfaceOptionsSocialPanelChatHoverDelay", "InterfaceOptionsSocialPanelChatHoverDelay",
"InterfaceOptionsSocialPanelGuildMemberAlert", "InterfaceOptionsSocialPanelGuildMemberAlert",
"InterfaceOptionsSocialPanelGuildRecruitment", "InterfaceOptionsSocialPanelGuildRecruitment",
"InterfaceOptionsSocialPanelChatMouseScroll", "InterfaceOptionsSocialPanelChatMouseScroll",
"InterfaceOptionsSocialPanelWholeChatWindowClickable", "InterfaceOptionsSocialPanelWholeChatWindowClickable",
"InterfaceOptionsActionBarsPanelLockActionBars", "InterfaceOptionsActionBarsPanelLockActionBars",
"InterfaceOptionsActionBarsPanelSecureAbilityToggle", "InterfaceOptionsActionBarsPanelSecureAbilityToggle",
"InterfaceOptionsActionBarsPanelAlwaysShowActionBars", "InterfaceOptionsActionBarsPanelAlwaysShowActionBars",
@@ -176,6 +198,7 @@ S:AddCallback("Skin_BlizzardOptions", function()
"InterfaceOptionsActionBarsPanelBottomRight", "InterfaceOptionsActionBarsPanelBottomRight",
"InterfaceOptionsActionBarsPanelRight", "InterfaceOptionsActionBarsPanelRight",
"InterfaceOptionsActionBarsPanelRightTwo", "InterfaceOptionsActionBarsPanelRightTwo",
"InterfaceOptionsNamesPanelMyName", "InterfaceOptionsNamesPanelMyName",
"InterfaceOptionsNamesPanelFriendlyPlayerNames", "InterfaceOptionsNamesPanelFriendlyPlayerNames",
"InterfaceOptionsNamesPanelFriendlyPets", "InterfaceOptionsNamesPanelFriendlyPets",
@@ -190,6 +213,25 @@ S:AddCallback("Skin_BlizzardOptions", function()
"InterfaceOptionsNamesPanelEnemyPets", "InterfaceOptionsNamesPanelEnemyPets",
"InterfaceOptionsNamesPanelEnemyGuardians", "InterfaceOptionsNamesPanelEnemyGuardians",
"InterfaceOptionsNamesPanelEnemyTotems", "InterfaceOptionsNamesPanelEnemyTotems",
-- Ascension Nameplate options
"InterfaceOptionsNamePlatesPanelUseSmoothStacking",
"InterfaceOptionsNamePlatesPanelUseFriendlySmoothStacking",
"InterfaceOptionsNamePlatesPanelNameplateHighPrecision",
"InterfaceOptionsNamePlatesPanelNameplateClassColors",
"InterfaceOptionsNamePlatesPanelIntersectUseCamera",
"InterfaceOptionsNamePlatesPanelFixedVerticalOffset",
"InterfaceOptionsNamePlatesPanelNameplatePersonal",
"InterfaceOptionsNamePlatesPanelFriends",
"InterfaceOptionsNamePlatesPanelFriendlyPets",
"InterfaceOptionsNamePlatesPanelFriendlyGuardians",
"InterfaceOptionsNamePlatesPanelFriendlyTotems",
"InterfaceOptionsNamePlatesPanelUseNewNameplates",
"InterfaceOptionsNamePlatesPanelEnemies",
"InterfaceOptionsNamePlatesPanelEnemyPets",
"InterfaceOptionsNamePlatesPanelEnemyGuardians",
"InterfaceOptionsNamePlatesPanelEnemyTotems",
"InterfaceOptionsCombatTextPanelTargetDamage", "InterfaceOptionsCombatTextPanelTargetDamage",
"InterfaceOptionsCombatTextPanelPeriodicDamage", "InterfaceOptionsCombatTextPanelPeriodicDamage",
"InterfaceOptionsCombatTextPanelPetDamage", "InterfaceOptionsCombatTextPanelPetDamage",
@@ -209,29 +251,38 @@ S:AddCallback("Skin_BlizzardOptions", function()
"InterfaceOptionsCombatTextPanelPeriodicEnergyGains", "InterfaceOptionsCombatTextPanelPeriodicEnergyGains",
"InterfaceOptionsCombatTextPanelHonorGains", "InterfaceOptionsCombatTextPanelHonorGains",
"InterfaceOptionsCombatTextPanelAuras", "InterfaceOptionsCombatTextPanelAuras",
"InterfaceOptionsBuffsPanelBuffDurations", "InterfaceOptionsBuffsPanelBuffDurations",
"InterfaceOptionsBuffsPanelDispellableDebuffs", "InterfaceOptionsBuffsPanelDispellableDebuffs",
"InterfaceOptionsBuffsPanelCastableBuffs", "InterfaceOptionsBuffsPanelCastableBuffs",
"InterfaceOptionsBuffsPanelConsolidateBuffs", "InterfaceOptionsBuffsPanelConsolidateBuffs",
"InterfaceOptionsBuffsPanelShowCastableDebuffs", "InterfaceOptionsBuffsPanelShowCastableDebuffs",
"InterfaceOptionsCameraPanelFollowTerrain", "InterfaceOptionsCameraPanelFollowTerrain",
"InterfaceOptionsCameraPanelHeadBob", "InterfaceOptionsCameraPanelHeadBob",
"InterfaceOptionsCameraPanelWaterCollision", "InterfaceOptionsCameraPanelWaterCollision",
"InterfaceOptionsCameraPanelSmartPivot", "InterfaceOptionsCameraPanelSmartPivot",
"InterfaceOptionsCameraPanelM2Collision",
"InterfaceOptionsMousePanelInvertMouse", "InterfaceOptionsMousePanelInvertMouse",
"InterfaceOptionsMousePanelClickToMove", "InterfaceOptionsMousePanelClickToMove",
"InterfaceOptionsMousePanelWoWMouse", "InterfaceOptionsMousePanelWoWMouse",
"InterfaceOptionsHelpPanelShowTutorials",
"InterfaceOptionsHelpPanelShowTutorials", -- Old option?
"InterfaceOptionsHelpPanelLoadingScreenTips", "InterfaceOptionsHelpPanelLoadingScreenTips",
"InterfaceOptionsHelpPanelEnhancedTooltips",
"InterfaceOptionsHelpPanelBeginnerTooltips",
"InterfaceOptionsHelpPanelShowLuaErrors", "InterfaceOptionsHelpPanelShowLuaErrors",
"InterfaceOptionsHelpPanelEnhancedTooltips", -- Old option?
"InterfaceOptionsHelpPanelExtendedTooltips",
"InterfaceOptionsHelpPanelBeginnerTooltips",
"InterfaceOptionsHelpPanelShowTooltipIDs",
"InterfaceOptionsStatusTextPanelPlayer", "InterfaceOptionsStatusTextPanelPlayer",
"InterfaceOptionsStatusTextPanelPet", "InterfaceOptionsStatusTextPanelPet",
"InterfaceOptionsStatusTextPanelParty", "InterfaceOptionsStatusTextPanelParty",
"InterfaceOptionsStatusTextPanelTarget", "InterfaceOptionsStatusTextPanelTarget",
"InterfaceOptionsStatusTextPanelPercentages", "InterfaceOptionsStatusTextPanelPercentages",
"InterfaceOptionsStatusTextPanelXP", "InterfaceOptionsStatusTextPanelXP",
"InterfaceOptionsUnitFramePanelPartyBackground", "InterfaceOptionsUnitFramePanelPartyBackground",
"InterfaceOptionsUnitFramePanelPartyPets", "InterfaceOptionsUnitFramePanelPartyPets",
"InterfaceOptionsUnitFramePanelArenaEnemyFrames", "InterfaceOptionsUnitFramePanelArenaEnemyFrames",
@@ -240,9 +291,17 @@ S:AddCallback("Skin_BlizzardOptions", function()
"InterfaceOptionsUnitFramePanelPartyInRaid", "InterfaceOptionsUnitFramePanelPartyInRaid",
"InterfaceOptionsUnitFramePanelRaidRange", "InterfaceOptionsUnitFramePanelRaidRange",
"InterfaceOptionsUnitFramePanelFullSizeFocusFrame", "InterfaceOptionsUnitFramePanelFullSizeFocusFrame",
"InterfaceOptionsFeaturesPanelPreviewTalentChanges", "InterfaceOptionsFeaturesPanelPreviewTalentChanges",
"InterfaceOptionsFeaturesPanelEquipmentManager", "InterfaceOptionsFeaturesPanelEquipmentManager",
"InterfaceOptionsAscensionNotificationPanelLootToast", "InterfaceOptionsAscensionNotificationPanelLootToast",
"InterfaceOptionsAscensionNotificationPanelEnableItems",
"InterfaceOptionsAscensionNotificationPanelEnableNewSpellRanks",
"InterfaceOptionsAscensionNotificationPanelFlashWindow",
"InterfaceOptionsAscensionNotificationPanelEnableLegendaryItems",
"InterfaceOptionsAscensionNotificationPanelEnableNewSpells",
"InterfaceOptionsAscensionLoseControlPanelEnabled", "InterfaceOptionsAscensionLoseControlPanelEnabled",
"InterfaceOptionsAscensionLoseControlPanelEnableRoots", "InterfaceOptionsAscensionLoseControlPanelEnableRoots",
"InterfaceOptionsAscensionLoseControlPanelEnableSilence", "InterfaceOptionsAscensionLoseControlPanelEnableSilence",
@@ -252,11 +311,13 @@ S:AddCallback("Skin_BlizzardOptions", function()
"InterfaceOptionsAscensionLoseControlPanelEnableSlow", "InterfaceOptionsAscensionLoseControlPanelEnableSlow",
"InterfaceOptionsAscensionLoseControlPanelEnableStun", "InterfaceOptionsAscensionLoseControlPanelEnableStun",
"InterfaceOptionsAscensionLoseControlPanelEnablePacify", "InterfaceOptionsAscensionLoseControlPanelEnablePacify",
"InterfaceOptionsDraftPanelAutoPopupDraft", "InterfaceOptionsDraftPanelAutoPopupDraft",
"InterfaceOptionsDraftPanelAutoRevealDraft", "InterfaceOptionsDraftPanelAutoRevealDraft",
"InterfaceOptionsDraftPanelSkipDraftConfirmation", "InterfaceOptionsDraftPanelSkipDraftConfirmation",
"InterfaceOptionsDraftPanelSkipDraftSacrificeConfirmation", "InterfaceOptionsDraftPanelSkipDraftSacrificeConfirmation",
"InterfaceOptionsDraftPanelShowBuildDraftSpellCards", "InterfaceOptionsDraftPanelShowBuildDraftSpellCards",
"InterfaceOptionsNamePlatePanelAllowOverlap", "InterfaceOptionsNamePlatePanelAllowOverlap",
"InterfaceOptionsNamePlatePanelFriends", "InterfaceOptionsNamePlatePanelFriends",
"InterfaceOptionsNamePlatePanelFriendlyPets", "InterfaceOptionsNamePlatePanelFriendlyPets",
@@ -267,13 +328,49 @@ S:AddCallback("Skin_BlizzardOptions", function()
"InterfaceOptionsNamePlatePanelEnemyGuardians", "InterfaceOptionsNamePlatePanelEnemyGuardians",
"InterfaceOptionsNamePlatePanelEnemyTotems", "InterfaceOptionsNamePlatePanelEnemyTotems",
"InterfaceOptionsNamePlatePanelIntersectUseCamera", "InterfaceOptionsNamePlatePanelIntersectUseCamera",
"InterfaceOptionsActionCameraEnableActionCam", "InterfaceOptionsActionCameraEnableActionCam",
"InterfaceOptionsActionCameraHeadBob", "InterfaceOptionsActionCameraHeadBob",
"InterfaceOptionsActionCameraFocusInteractable", "InterfaceOptionsActionCameraFocusInteractable", -- old name?
"InterfaceOptionsActionCameraFocusInteract",
"InterfaceOptionsActionCameraFocusTarget", "InterfaceOptionsActionCameraFocusTarget",
"InterfaceOptionsMouseoverCastPanelMouseoverCastFriendly", "InterfaceOptionsMouseoverCastPanelMouseoverCastFriendly",
"InterfaceOptionsMouseoverCastPanelMouseoverCastHarm", "InterfaceOptionsMouseoverCastPanelMouseoverCastHarm",
"InterfaceOptionsLoseControlPanelEnabled",
"InterfaceOptionsLoseControlPanelEnableRoots",
"InterfaceOptionsLoseControlPanelEnableDisorient",
"InterfaceOptionsLoseControlPanelEnableSilence",
"InterfaceOptionsLoseControlPanelEnableSlow",
"InterfaceOptionsLoseControlPanelEnableIncap",
"InterfaceOptionsLoseControlPanelEnableStun",
"InterfaceOptionsLoseControlPanelEnableDisarm",
"InterfaceOptionsLoseControlPanelEnablePacify",
"CompactUnitFrameProfilesRaidStylePartyFrames",
"CompactUnitFrameProfilesGeneralOptionsFrameKeepGroupsTogether",
"CompactUnitFrameProfilesGeneralOptionsFrameDisplayIncomingHeals",
"CompactUnitFrameProfilesGeneralOptionsFrameDisplayPowerBar",
"CompactUnitFrameProfilesGeneralOptionsFrameDisplayAggroHighlight",
"CompactUnitFrameProfilesGeneralOptionsFrameUseClassColors",
"CompactUnitFrameProfilesGeneralOptionsFrameUsePrimaryStatColors",
"CompactUnitFrameProfilesGeneralOptionsFrameDisplayPets",
"CompactUnitFrameProfilesGeneralOptionsFrameDisplayMainTankAndAssist",
"CompactUnitFrameProfilesGeneralOptionsFrameDisplayBorder",
"CompactUnitFrameProfilesGeneralOptionsFrameShowDebuffs",
"CompactUnitFrameProfilesGeneralOptionsFrameDisplayOnlyDispellableDebuffs",
"CompactUnitFrameProfilesGeneralOptionsFrameAutoActivate2Players",
"CompactUnitFrameProfilesGeneralOptionsFrameAutoActivate3Players",
"CompactUnitFrameProfilesGeneralOptionsFrameAutoActivate5Players",
"CompactUnitFrameProfilesGeneralOptionsFrameAutoActivate10Players",
"CompactUnitFrameProfilesGeneralOptionsFrameAutoActivate15Players",
"CompactUnitFrameProfilesGeneralOptionsFrameAutoActivate25Players",
"CompactUnitFrameProfilesGeneralOptionsFrameAutoActivate40Players",
"CompactUnitFrameProfilesGeneralOptionsFrameAutoActivatePvP",
"CompactUnitFrameProfilesGeneralOptionsFrameAutoActivatePvE",
"AudioOptionsSoundPanelEnableSound", "AudioOptionsSoundPanelEnableSound",
"AudioOptionsSoundPanelSoundEffects", "AudioOptionsSoundPanelSoundEffects",
"AudioOptionsSoundPanelErrorSpeech", "AudioOptionsSoundPanelErrorSpeech",
@@ -304,6 +401,7 @@ S:AddCallback("Skin_BlizzardOptions", function()
"InterfaceOptionsAscensionHelpPanelNewPlayerExperience", "InterfaceOptionsAscensionHelpPanelNewPlayerExperience",
"InterfaceOptionsAscensionHelpPanelHelpTips" "InterfaceOptionsAscensionHelpPanelHelpTips"
} }
for _, checkbox in ipairs(checkboxes) do for _, checkbox in ipairs(checkboxes) do
checkbox = _G[checkbox] checkbox = _G[checkbox]
@@ -313,19 +411,33 @@ S:AddCallback("Skin_BlizzardOptions", function()
end end
local sliders = { local sliders = {
"InterfaceOptionsControlsPanelTabTargetRange",
"InterfaceOptionsControlsPanelTabTargetAngle",
"InterfaceOptionsCombatPanelSpellActivationOverlayAlpha", -- Old Name?
"InterfaceOptionsCombatPanelSpellActivationOverlays",
"InterfaceOptionsObjectivesPanelLootArtScale",
"InterfaceOptionsMousePanelMouseLookSpeedSlider",
"InterfaceOptionsMousePanelMouseSensitivitySlider",
"InterfaceOptionsNamePlatesPanelOverlapV",
"InterfaceOptionsNamePlatePanelIntersectOpacity", -- Old Name?
"InterfaceOptionsNamePlatesPanelIntersectOpacity",
"InterfaceOptionsNamePlatePanelNameplateDistance", -- Old Name?
"InterfaceOptionsNamePlatesPanelNameplateDistance",
"InterfaceOptionsNamePlatePanelFadeInMin", -- Removed option?
"InterfaceOptionsNamePlatePanelNameplateZ", -- Old Name?
"InterfaceOptionsNamePlatesPanelNameplateZ",
"InterfaceOptionsNamePlatePanelFadeInMax", -- removed option?
"InterfaceOptionsCameraPanelZoomSpeed",
"InterfaceOptionsCameraPanelMaxDistanceSlider", "InterfaceOptionsCameraPanelMaxDistanceSlider",
"InterfaceOptionsCameraPanelFollowSpeedSlider", "InterfaceOptionsCameraPanelFollowSpeedSlider",
"InterfaceOptionsCameraPanelFoV", "InterfaceOptionsCameraPanelFoV",
"InterfaceOptionsControlsPanelTabTargetRange", "InterfaceOptionsCameraPanelM2CollisionAlpha",
"InterfaceOptionsControlsPanelTabTargetAngle",
"InterfaceOptionsCombatPanelSpellActivationOverlayAlpha",
"InterfaceOptionsMousePanelMouseLookSpeedSlider",
"InterfaceOptionsMousePanelMouseSensitivitySlider",
"InterfaceOptionsNamePlatePanelIntersectOpacity",
"InterfaceOptionsNamePlatePanelNameplateDistance",
"InterfaceOptionsNamePlatePanelFadeInMin",
"InterfaceOptionsNamePlatePanelNameplateZ",
"InterfaceOptionsNamePlatePanelFadeInMax",
"InterfaceOptionsActionCameraAngle", "InterfaceOptionsActionCameraAngle",
"InterfaceOptionsActionCameraHeight", "InterfaceOptionsActionCameraHeight",
"InterfaceOptionsActionCameraMinPitch", "InterfaceOptionsActionCameraMinPitch",
@@ -333,6 +445,11 @@ S:AddCallback("Skin_BlizzardOptions", function()
"InterfaceOptionsActionCameraTurnSpeed", "InterfaceOptionsActionCameraTurnSpeed",
"InterfaceOptionsActionCameraMaxPitch", "InterfaceOptionsActionCameraMaxPitch",
"InterfaceOptionsAscensionNotificationPanelLootToastMaximum",
"CompactUnitFrameProfilesGeneralOptionsFrameHeightSlider",
"CompactUnitFrameProfilesGeneralOptionsFrameWidthSlider",
"AudioOptionsSoundPanelSoundQuality", "AudioOptionsSoundPanelSoundQuality",
"AudioOptionsSoundPanelSoundChannels", "AudioOptionsSoundPanelSoundChannels",
"AudioOptionsSoundPanelMasterVolume", "AudioOptionsSoundPanelMasterVolume",
@@ -356,6 +473,7 @@ S:AddCallback("Skin_BlizzardOptions", function()
"VideoOptionsExtendedForegroundFPS", "VideoOptionsExtendedForegroundFPS",
"VideoOptionsExtendedBackgroundFPS", "VideoOptionsExtendedBackgroundFPS",
"VideoOptionsResolutionPanelGammaSlider", "VideoOptionsResolutionPanelGammaSlider",
} }
for _, slider in ipairs(sliders) do for _, slider in ipairs(sliders) do
S:HandleSliderFrame(_G[slider]) S:HandleSliderFrame(_G[slider])
@@ -376,10 +494,19 @@ S:AddCallback("Skin_BlizzardOptions", function()
"VideoOptionsFrameCancel", "VideoOptionsFrameCancel",
"VideoOptionsFrameApply", "VideoOptionsFrameApply",
"InterfaceOptionsAscensionLoseControlPanelMoveWindow", "InterfaceOptionsAscensionLoseControlPanelMoveWindow", -- old Name?
"InterfaceOptionsAscensionLoseControlPanelResetWindow", "InterfaceOptionsAscensionLoseControlPanelResetWindow", -- old Name?
"InterfaceOptionsLoseControlPanelMoveWindow",
"InterfaceOptionsLoseControlPanelResetWindow",
"InterfaceOptionsAscensionHelpPanelResetTutorials", "InterfaceOptionsAscensionHelpPanelResetTutorials",
"InterfaceOptionsAscensionHelpPanelResetHelpTips" "InterfaceOptionsAscensionHelpPanelResetHelpTips",
"CompactUnitFrameProfilesExportButton",
"CompactUnitFrameProfilesImportButton",
"CompactUnitFrameProfilesSaveButton",
"CompactUnitFrameProfilesDeleteButton",
"CompactUnitFrameProfilesGeneralOptionsFrameResetPositionButton",
} }
for _, button in ipairs(buttons) do for _, button in ipairs(buttons) do
@@ -391,9 +518,10 @@ S:AddCallback("Skin_BlizzardOptions", function()
"InterfaceOptionsCombatPanelTOTDropDown", "InterfaceOptionsCombatPanelTOTDropDown",
"InterfaceOptionsCombatPanelFocusCastKeyDropDown", "InterfaceOptionsCombatPanelFocusCastKeyDropDown",
"InterfaceOptionsCombatPanelSelfCastKeyDropDown", "InterfaceOptionsCombatPanelSelfCastKeyDropDown",
"InterfaceOptionsDisplayPanelAggroWarningDisplay", "InterfaceOptionsDisplayPanelAggroWarningDisplay", -- Old Option?
"InterfaceOptionsDisplayPanelWorldPVPObjectiveDisplay", "InterfaceOptionsDisplayPanelWorldPVPObjectiveDisplay", -- Old Option?
"InterfaceOptionsDisplayPanelLocalization", "InterfaceOptionsDisplayPanelLocalization", -- Old Option?
"InterfaceOptionsDisplayPanelSelectionCircle",
"InterfaceOptionsSocialPanelChatStyle", "InterfaceOptionsSocialPanelChatStyle",
"InterfaceOptionsSocialPanelTimestamps", "InterfaceOptionsSocialPanelTimestamps",
"InterfaceOptionsCombatTextPanelFCTDropDown", "InterfaceOptionsCombatTextPanelFCTDropDown",
@@ -406,6 +534,10 @@ S:AddCallback("Skin_BlizzardOptions", function()
"VideoOptionsResolutionPanelResolutionDropDown", "VideoOptionsResolutionPanelResolutionDropDown",
"VideoOptionsResolutionPanelRefreshDropDown", "VideoOptionsResolutionPanelRefreshDropDown",
"CompactUnitFrameProfilesProfileSelector",
"CompactUnitFrameProfilesGeneralOptionsFrameSortByDropdown",
"CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdown",
} }
for _, dropdown in ipairs(dropdowns) do for _, dropdown in ipairs(dropdowns) do
dropdown = _G[dropdown] dropdown = _G[dropdown]
+17 -3
View File
@@ -202,12 +202,26 @@ S:AddCallback("Skin_LFD", function()
-- PvP Ruleset -- PvP Ruleset
AscensionRulesetFrame:StripTextures(true) AscensionRulesetFrame:StripTextures(true)
--[[for i = 1, 3 do for i = 1, 3 do
local pvpruleset = _G["AscensionRulesetFrameRuleset"..i] local pvpruleset = _G["AscensionRulesetFrameRuleset"..i]
--pvpruleset:StripTextures(true) local inset = pvpruleset.NineSlice
pvpruleset:StripTextures()
inset:StripTextures()
pvpruleset:SetBackdrop({
bgFile = E.media.blankTex,
edgeFile = E.media.blankTex,
tile = false, tileSize = 0, edgeSize = 1,
insets = {left = -1, right = -1, top = -1, bottom = -1}
})
pvpruleset:SetBackdropColor(0, 0, 0, .5)
-- Set border color based on which element we're skinning (High Risk is elemenet 1)
local green = i > 1 and 1 or 0
local red = i <= 2 and 1 or 0
pvpruleset:SetBackdropBorderColor(green, red, 0)
S:HandleButton(pvpruleset.Select) S:HandleButton(pvpruleset.Select)
end end
]]--
local function skinLFDRandomDungeonLoot(frame) local function skinLFDRandomDungeonLoot(frame)
if frame.isSkinned then return end if frame.isSkinned then return end
@@ -43,6 +43,7 @@ S:AddCallbackForAddon("Ascension_PathToAscension", "Skin_PathToAscension", funct
S:HandleButton(PathToAscensionFrameMentorPanelBecomeMentorBecomeMentorButton) S:HandleButton(PathToAscensionFrameMentorPanelBecomeMentorBecomeMentorButton)
S:HandleButton(PathToAscensionFrameMentorPanelFindHelpRefreshButton) S:HandleButton(PathToAscensionFrameMentorPanelFindHelpRefreshButton)
S:HandleButton(PathToAscensionFrameMentorPanelBecomeMentorOverlayGoToFirstTab)
PathToAscensionFrameMentorPanelFindHelpRefreshButton:Size(22, 22) PathToAscensionFrameMentorPanelFindHelpRefreshButton:Size(22, 22)
S:HandleScrollList(PathToAscensionFrameMentorPanelFindHelpAvailableMentors) S:HandleScrollList(PathToAscensionFrameMentorPanelFindHelpAvailableMentors)
@@ -46,6 +46,8 @@ S:AddCallback("Skin_WorldMap", function()
WorldMapQuestRewardScrollFrameShareButton:Width(120) WorldMapQuestRewardScrollFrameShareButton:Width(120)
S:HandleButton(WorldMapQuestRewardScrollFrameAbandonButton) S:HandleButton(WorldMapQuestRewardScrollFrameAbandonButton)
WorldMapQuestRewardScrollFrameAbandonButton:Width(120) WorldMapQuestRewardScrollFrameAbandonButton:Width(120)
S:HandleButton(WorldMapQuestRewardScrollFrameAbandonFrameYesButton)
S:HandleButton(WorldMapQuestRewardScrollFrameAbandonFrameNoButton)
WorldMapQuestRewardScrollChildFrame:SetScale(1) WorldMapQuestRewardScrollChildFrame:SetScale(1)