From 3dc5ea312d64d29ce5293476e5e35033da15bf61 Mon Sep 17 00:00:00 2001 From: Sattva Date: Sat, 30 Dec 2023 01:15:34 +0300 Subject: [PATCH] Resolve / Remove some To-Do's b4 release --- Changelog and Notes.txt | 26 ++++++++------------------ Leatrix_Plus.lua | 33 ++++++++++++++++++--------------- 2 files changed, 26 insertions(+), 33 deletions(-) diff --git a/Changelog and Notes.txt b/Changelog and Notes.txt index f983e30..a266de2 100644 --- a/Changelog and Notes.txt +++ b/Changelog and Notes.txt @@ -4,20 +4,6 @@ -- Backport to-do before release: -------------------------------------------------------------------------------- -RecentChatWindow - Need to rename .xml file and the backported template name. - -MinimapButton - Either add functions to alt-click and other on button or remove descriptions in GUI. - -ElvUI - Need to see what disabled for when ElvUI is loaded. May be something is not made in 3.3.5 ElvUI backport, but still disabled. - -General - Check all Preset profiles (ctrl + shift click on options gear) to make sure user doesn't have option being enabled, that is not working. - -EnhanceMinimap - "Example Input" needs Locales! - -EnhanceMinimap - Hide Tracking needs updated description! About right clicking minimap. - -CombineAddonButtons - Make frame movable? - MinimapEnhance - Replace non-standard buttons option! Aka those that don't use LibDBIcon, or may be just set size of them ? AhExtras - Need to make new description for alt click, tab confirm. And do locales. @@ -26,17 +12,19 @@ Tooltip - FIX center popup when closed the leatrix window, its still staying WebLink - Fix ruRU encoding!!! -ViewPort - fixes, left,right, transperency or disable - -FlightTimers - Start Working on DB - FlightTimers - fix report window editbox +Manage Quest Tracker (under minimap) - let user move it. + +Enhance Minimap - Combine Addon Buttons - make this frame be movable, size-adjustable and make option to make it be hidden by default, + but shown when either: mouse is over minimap or user chooses option to middle click minimap to show it. + -------------------------------------------------------------------------------- -- What needs to be tested: -------------------------------------------------------------------------------- +ElvUI - Need to see what disabled for when ElvUI is loaded. May be something is not made in 3.3.5 ElvUI backport, but still disabled. Auto-Ress in BG - With option "Exclude Alterac" will it not auto-res in Alterac BG ? @@ -55,6 +43,8 @@ DisableLootWarning - Make sure it's working -- Stuff to-do: -------------------------------------------------------------------------------- +MinimapButton - Add functions to alt-click and other clicks on button + MinimapEnhance - Add Timer module, just like ShaguTweaks. CombineAddonButtons - Make it change position from left to right if minimap is on left side of screen. diff --git a/Leatrix_Plus.lua b/Leatrix_Plus.lua index 3d38992..f00790b 100644 --- a/Leatrix_Plus.lua +++ b/Leatrix_Plus.lua @@ -4324,7 +4324,7 @@ -- Add second Framestack button local MiniExcludedButton2 = LeaPlusLC:CreateButton("FramestackButton2", ExcludedButtonsPanel, "Framestack", "TOPLEFT", 16, -72, 0, 25, true, "Click to toggle framestack, to view names of minimap buttons, and then be able to exclude them by entering their name.") LeaPlusCB["FramestackButton2"]:ClearAllPoints() - LeaPlusCB["FramestackButton2"]:SetPoint("LEFT", ExcludedButtonsPanel.h, "RIGHT", 80, 0) + LeaPlusCB["FramestackButton2"]:SetPoint("LEFT", ExcludedButtonsPanel.h, "RIGHT", 90, 0) -- LeaPlusCB["FramestackButton2"]:SetScript("OnClick", function() -- ExcludedButtonsPanel:Hide(); SideMinimap:Show() -- return @@ -13123,8 +13123,8 @@ BordLeft:SetWidth(LeaPlusLC["ViewPortLeft"]); BordLeft:SetAlpha(1 - LeaPlusLC["ViewPortAlpha"]) BordRight:SetWidth(LeaPlusLC["ViewPortRight"]); BordRight:SetAlpha(1 - LeaPlusLC["ViewPortAlpha"]) - -- Show formatted slider value - LeaPlusCB["ViewPortAlpha"].f:SetFormattedText("%.0f%%", LeaPlusLC["ViewPortAlpha"] * 100) + ---- Show formatted slider value + --LeaPlusCB["ViewPortAlpha"].f:SetFormattedText("%.0f%%", LeaPlusLC["ViewPortAlpha"] * 100) -- Disable lock button if borders match viewport size if LeaPlusLC["ViewPortTop"] == LeaPlusLC["ViewPortResizeTop"] and LeaPlusLC["ViewPortBottom"] == LeaPlusLC["ViewPortResizeBottom"] then @@ -13144,17 +13144,17 @@ LeaPlusLC:MakeSL(SideViewport, "ViewPortBottom", "Drag to set the size of the bottom border.", 0, 300, 5, 16, -152, "%.0f") LeaPlusCB["ViewPortBottom"]:HookScript("OnValueChanged", RefreshViewport) - LeaPlusLC:MakeTx(SideViewport, "Left", 186, -72) - LeaPlusLC:MakeSL(SideViewport, "ViewPortLeft", "Drag to set the size of the left border.", 0, 300, 5, 186, -92, "%.0f") - LeaPlusCB["ViewPortLeft"]:HookScript("OnValueChanged", RefreshViewport) - - LeaPlusLC:MakeTx(SideViewport, "Right", 186, -132) - LeaPlusLC:MakeSL(SideViewport, "ViewPortRight", "Drag to set the size of the right border.", 0, 300, 5, 186, -152, "%.0f") - LeaPlusCB["ViewPortRight"]:HookScript("OnValueChanged", RefreshViewport) - - LeaPlusLC:MakeTx(SideViewport, "Transparency", 356, -132) - LeaPlusLC:MakeSL(SideViewport, "ViewPortAlpha", "Drag to set the transparency of the borders.", 0, 0.9, 0.1, 356, -152, "%.1f") - LeaPlusCB["ViewPortAlpha"]:HookScript("OnValueChanged", RefreshViewport) + --LeaPlusLC:MakeTx(SideViewport, "Left", 186, -72) + --LeaPlusLC:MakeSL(SideViewport, "ViewPortLeft", "Drag to set the size of the left border.", 0, 300, 5, 186, -92, "%.0f") + --LeaPlusCB["ViewPortLeft"]:HookScript("OnValueChanged", RefreshViewport) + -- + --LeaPlusLC:MakeTx(SideViewport, "Right", 186, -132) + --LeaPlusLC:MakeSL(SideViewport, "ViewPortRight", "Drag to set the size of the right border.", 0, 300, 5, 186, -152, "%.0f") + --LeaPlusCB["ViewPortRight"]:HookScript("OnValueChanged", RefreshViewport) + -- + --LeaPlusLC:MakeTx(SideViewport, "Transparency", 356, -132) + --LeaPlusLC:MakeSL(SideViewport, "ViewPortAlpha", "Drag to set the transparency of the borders.", 0, 0.9, 0.1, 356, -152, "%.1f") + --LeaPlusCB["ViewPortAlpha"]:HookScript("OnValueChanged", RefreshViewport) -- Help button tooltip SideViewport.h.tiptext = L["This panel will close automatically if you enter combat."] @@ -17710,7 +17710,10 @@ pg = "Page8"; LeaPlusLC:MakeTx(LeaPlusLC[pg], "Addon" , 146, -72); - LeaPlusLC:MakeCB(LeaPlusLC[pg], "ShowMinimapIcon" , "Show minimap button" , 146, -92, false, "If checked, a minimap button will be available.|n|nClick - Toggle options panel.|n|nSHIFT-click - Toggle music.|n|nALT-click - Toggle errors (if enabled).|n|nCTRL/SHIFT-click - Toggle Zygor (if installed).|n|nCTRL/ALT-click - Toggle windowed mode.") + LeaPlusLC:MakeCB(LeaPlusLC[pg], "ShowMinimapIcon" , "Show minimap button" , 146, -92, false, "If checked, a minimap button will be available.|n|nClick - Toggle options panel.|n|nRight-Click - Reload UI.") + -- todo: add more minimap button click functions + --LeaPlusLC:MakeCB(LeaPlusLC[pg], "ShowMinimapIcon" , "Show minimap button" , 146, -92, false, "If checked, a minimap button will be available.|n|nClick - Toggle options panel.|n|nSHIFT-click - Toggle music.|n|nALT-click - Toggle errors (if enabled).|n|nCTRL/SHIFT-click - Toggle Zygor (if installed).|n|nCTRL/ALT-click - Toggle windowed mode.") + LeaPlusLC:MakeTx(LeaPlusLC[pg], "Scale", 340, -72); LeaPlusLC:MakeSL(LeaPlusLC[pg], "PlusPanelScale", "Drag to set the scale of the Leatrix Plus panel.", 1, 2, 0.1, 340, -92, "%.1f")