init
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<Bindings>
|
||||
<Binding name="Toggle MA window" header="MOVEANYTHING">
|
||||
MovAny:ToggleGUI()
|
||||
</Binding>
|
||||
<Binding name="Move frame - Safe">
|
||||
MovAny:SafeMoveFrameAtCursor()
|
||||
</Binding>
|
||||
<Binding name="Hide frame - Safe">
|
||||
MovAny:SafeHideFrameAtCursor()
|
||||
</Binding>
|
||||
<Binding name="Reset frame - Safe">
|
||||
MovAny:SafeResetFrameAtCursor()
|
||||
</Binding>
|
||||
<Binding name="Move frame - Exact">
|
||||
MovAny:MoveFrameAtCursor()
|
||||
</Binding>
|
||||
<Binding name="Hide frame - Exact">
|
||||
MovAny:HideFrameAtCursor()
|
||||
</Binding>
|
||||
<Binding name="Reset frame - Exact">
|
||||
MovAny:ResetFrameAtCursor()
|
||||
</Binding>
|
||||
<Binding name="Update positions">
|
||||
MovAny:SyncAllFrames()
|
||||
</Binding>
|
||||
<Binding name="Show frame info">
|
||||
MovAny:DebugFrameAtCursor()
|
||||
</Binding>
|
||||
</Bindings>
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,14 @@
|
||||
## Interface: 30300
|
||||
## Title: MoveAnything
|
||||
## Notes: 11.b2 by Wagthaa
|
||||
## Version: 11.b2
|
||||
## Author: Classic: Skrag - Mod: Jason - TBC: Vincent - WotLK & Cataclysm: Wagthaa @ Earthen Ring EU wagthaa@gmail.com
|
||||
## SavedVariables: MoveAnything_CustomFrames, MoveAnything_CharacterSettings, MoveAnything_UseCharacterSettings, MADB
|
||||
|
||||
localization.en.lua
|
||||
MoveAnything.lua
|
||||
MoveAnything.xml
|
||||
MoveAnythingBlizzardOptions.xml
|
||||
MoveAnythingFrameEditor.lua
|
||||
MoveAnythingVirtualMovers.xml
|
||||
UserMods.lua
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,320 @@
|
||||
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
|
||||
..\FrameXML\UI.xsd">
|
||||
<Frame name="MoveAnythingOptions" parent="UIParent">
|
||||
<Scripts>
|
||||
<OnLoad function="MovAny_OptionsOnLoad"/>
|
||||
<OnShow function="MovAny_OptionsOnShow"/>
|
||||
</Scripts>
|
||||
|
||||
<Layers>
|
||||
<Layer level="BACKGROUND">
|
||||
<FontString name="MAOptVersion" inherits="GameFontNormal" text="MoveAnything">
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOMRIGHT" relativeTo="MoveAnythingOptions" relativePoint="BOTTOMRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="-19" y="20"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</FontString>
|
||||
|
||||
<FontString name="MARowCount" inherits="GameFontHighlightSmall" text="MoveAnything">
|
||||
<Anchors>
|
||||
<Anchor point="CENTER" relativeTo="MoveAnythingOptions" relativePoint="TOP">
|
||||
<Offset>
|
||||
<AbsDimension x="-85" y="-43"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</FontString>
|
||||
</Layer>
|
||||
</Layers>
|
||||
|
||||
<Frames>
|
||||
<Slider name="MAOptRowsSlider" inherits="OptionsSliderTemplate">
|
||||
<Size>
|
||||
<AbsDimension x="220" y="16"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="MoveAnythingOptions" relativePoint="TOPLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="15" y="-25"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
_G[self:GetName().."Text"]:SetText("# of rows")
|
||||
_G[self:GetName().."High"]:SetText("100")
|
||||
_G[self:GetName().."Low"]:SetText("2")
|
||||
self:SetMinMaxValues(2, 100)
|
||||
self:SetValueStep(1)
|
||||
</OnLoad>
|
||||
<OnValueChanged>
|
||||
MARowCount:SetText(self:GetValue())
|
||||
MovAny:SetNumRows(self:GetValue())
|
||||
</OnValueChanged>
|
||||
</Scripts>
|
||||
</Slider>
|
||||
|
||||
<CheckButton name="MAOptCharacterSpecific" inherits="MACheckButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="MAOptRowsSlider" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="-5" y="-15"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
self.alwaysShowTooltip = true
|
||||
_G[self:GetName().."Text"]:SetText("Use character specific settings")
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
MovAny:OnCheckCharacterSpecific(self)
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</CheckButton>
|
||||
|
||||
<CheckButton name="MAOptAlwaysShowNudger" inherits="MACheckButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="MAOptCharacterSpecific" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-1"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
self.alwaysShowTooltip = true
|
||||
self.tooltipText = "Enable to show the nudger with the main window\n\nBy default the Nudger is only shown when interacting with frames."
|
||||
_G[self:GetName().."Text"]:SetText("Show Nudger with main window")
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
local reshowGUI = nil
|
||||
if MAOptions:IsShown() and MADB.alwaysShowNudger ~= MAOptAlwaysShowNudger:GetChecked() then
|
||||
reshowGUI = true
|
||||
end
|
||||
MovAny:OptionCheckboxChecked(self, "alwaysShowNudger")
|
||||
if reshowGUI then
|
||||
MAOptions:Hide()
|
||||
MAOptions:Show()
|
||||
end
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</CheckButton>
|
||||
|
||||
<CheckButton name="MAOptShowTooltips" inherits="MACheckButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="MAOptAlwaysShowNudger" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-1"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
self.alwaysShowTooltip = true
|
||||
self.tooltipText = "Toggles display of tooltips on/off\n\nPressing Shift when mousing over elements will reverse tooltip display behavior."
|
||||
_G[self:GetName().."Text"]:SetText("Show tooltips")
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
MovAny:OptionCheckboxChecked(self, "tooltips")
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</CheckButton>
|
||||
|
||||
<CheckButton name="MAOptPlaySound" inherits="MACheckButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="MAOptShowTooltips" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-1"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
self.alwaysShowTooltip = true
|
||||
self.tooltipText = "Toggles if MoveAnything should play a sound when opening and closing the main window."
|
||||
_G[self:GetName().."Text"]:SetText("Play sound")
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
MovAny:OptionCheckboxChecked(self, "playSound")
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</CheckButton>
|
||||
|
||||
<CheckButton name="MAOptCloseGUIOnEscape" inherits="MACheckButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="MAOptPlaySound" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-1"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
_G[self:GetName().."Text"]:SetText("Escape key closes main window")
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
MovAny:OptionCheckboxChecked(self, "closeGUIOnEscape")
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</CheckButton>
|
||||
|
||||
<CheckButton name="MAOptDontSearchFrameNames" inherits="MACheckButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="MAOptCloseGUIOnEscape" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-1"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
self.alwaysShowTooltip = true
|
||||
self.tooltipText = "Disables searching of actual frame names."
|
||||
_G[self:GetName().."Text"]:SetText("Dont search frame names")
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
MovAny:OptionCheckboxChecked(self, "dontSearchFrameNames")
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</CheckButton>
|
||||
|
||||
<CheckButton name="MAOptNoBags" inherits="MACheckButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="MAOptDontSearchFrameNames" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-1"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
self.alwaysShowTooltip = true
|
||||
self.tooltipText = "Toggles if MoveAnything will hook containers.\n\nThis should be checked if you use another addon to move your bags."
|
||||
_G[self:GetName().."Text"]:SetText("Disable bag container hook")
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
MovAny:OptionCheckboxChecked(self, "noBags")
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</CheckButton>
|
||||
|
||||
<CheckButton name="MAOptDontHookCreateFrame" inherits="MACheckButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="MAOptNoBags" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-1"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
self.alwaysShowTooltip = true
|
||||
self.tooltipText = "Toggles if MoveAnything will hook CreateFrame.\n\nRequires UI reload to take effect."
|
||||
_G[self:GetName().."Text"]:SetText("Disable frame creation hook")
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
MovAny:OptionCheckboxChecked(self, "dontHookCreateFrame")
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</CheckButton>
|
||||
|
||||
<CheckButton name="MAOptSquareMM" inherits="MACheckButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="MAOptDontHookCreateFrame" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-1"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
self.alwaysShowTooltip = true
|
||||
self.tooltipText = "Toggles square MiniMap on/off.\n\nHide \"Round Border\" in the \"Minimap\" category to get rid of the overlaying border."
|
||||
_G[self:GetName().."Text"]:SetText("Enable square Minimap")
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
MovAny:OptionCheckboxChecked(self, "squareMM")
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</CheckButton>
|
||||
|
||||
<CheckButton name="MAOptNoMMMW" inherits="MACheckButtonTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="MAOptSquareMM" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-1"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
self.alwaysShowTooltip = true
|
||||
self.tooltipText = "Toggles Minimap mousewheel zoom on/off.\n\nRequires reload to take effect."
|
||||
_G[self:GetName().."Text"]:SetText("Disable Minimap mousewheel zoom")
|
||||
</OnLoad>
|
||||
<OnClick>
|
||||
MovAny:OptionCheckboxChecked(self, "noMMMW")
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</CheckButton>
|
||||
|
||||
<Button name="MAOptResetProfile" inherits="MAButtonTemplate" text="Reset Profile">
|
||||
<Size>
|
||||
<AbsDimension x="120" y="22"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOMLEFT" relativeTo="MoveAnythingOptions" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="10" y="15"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
self.tooltipText = "Reset profile\n\nResets the profile, deleting all stored frame settings for this profile."
|
||||
self.alwaysShowTooltip = true
|
||||
</OnLoad>
|
||||
<OnEnter function="MovAny_TooltipShow"/>
|
||||
<OnLeave function="MovAny_TooltipHide"/>
|
||||
<OnClick>
|
||||
if MADB.playSound then
|
||||
PlaySound("igMainMenuOption")
|
||||
end
|
||||
StaticPopup_Show("MOVEANYTHING_RESET_PROFILE_CONFIRM")
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</Button>
|
||||
|
||||
<Button name="MAOptResetAll" inherits="MAButtonTemplate" text="Reset All">
|
||||
<Size>
|
||||
<AbsDimension x="120" y="22"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" relativeTo="MAOptResetProfile" relativePoint="RIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="1" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
self.tooltipText = "Reset all\n\nReset MoveAnything to default settings. Deletes all frame settings, as well as the custom frame list"
|
||||
self.alwaysShowTooltip = true
|
||||
</OnLoad>
|
||||
<OnEnter function="MovAny_TooltipShow"/>
|
||||
<OnLeave function="MovAny_TooltipHide"/>
|
||||
<OnClick>
|
||||
if MADB.playSound then
|
||||
PlaySound("igMainMenuOption")
|
||||
end
|
||||
StaticPopup_Show("MOVEANYTHING_RESET_ALL_CONFIRM")
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</Button>
|
||||
</Frames>
|
||||
</Frame>
|
||||
</Ui>
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,36 @@
|
||||
local addonname, modRef = ...
|
||||
|
||||
_G["MOVANY"] = modRef
|
||||
MOVANY.RESET_FRAME_CONFIRM = "Reset %s? Press again within 5 seconds to confirm"
|
||||
MOVANY.RESETTING_FRAME = "Resetting %s"
|
||||
MOVANY.FRAME_PROTECTED_DURING_COMBAT = "Can't interact with %s during combat"
|
||||
MOVANY.DISABLED_DURING_COMBAT = "Disabled during combat"
|
||||
MOVANY.UNSUPPORTED_TYPE = "Unsupported type: %s"
|
||||
MOVANY.UNSUPPORTED_FRAME = "Unsupported frame: %s"
|
||||
MOVANY.FRAME_VISIBILITY_ONLY = "%s can only be hidden"
|
||||
MOVANY.ONLY_WHEN_VISIBLE = "%s can only be modified while it's shown on the screen"
|
||||
MOVANY.MAX_MOVERS = "You can only move %i frames at once"
|
||||
MOVANY.ELEMENT_NOT_FOUND = "UI element not found"
|
||||
MOVANY.ELEMENT_NOT_FOUND_NAMED = "UI element not found: %s"
|
||||
MOVANY.PROFILES_CANT_SWITCH_DURING_COMBAT = "Profiles can't be switched during combat"
|
||||
MOVANY.CMD_SYNTAX_UNMOVE = "Syntax: /unmove framename"
|
||||
MOVANY.CMD_SYNTAX_IMPORT = "Syntax: /moveimport ProfileName"
|
||||
MOVANY.CMD_SYNTAX_EXPORT = "Syntax: /moveexport ProfileName"
|
||||
MOVANY.CMD_SYNTAX_DELETE = "Syntax: /movedelete ProfileName"
|
||||
MOVANY.CMD_SYNTAX_HIDE = "Syntax: /hide ProfileName"
|
||||
MOVANY.RESET_ALL_CONFIRM = "MoveAnything: Reset MoveAnything to installation state?\n\nWarning: this will delete all frame settings and clear out the custom frame list."
|
||||
MOVANY.PROFILE_UNKNOWN = "Unknown profile: %s"
|
||||
MOVANY.PROFILE_IMPORTED = "Profile imported: %s"
|
||||
MOVANY.PROFILE_EXPORTED = "Profile exported: %s"
|
||||
MOVANY.PROFILE_DELETED = "Profile deleted: %s"
|
||||
MOVANY.PROFILE_RESET_CONFIRM = "MoveAnything: Reset all frames in the current profile?"
|
||||
MOVANY.PROFILE_CANT_DELETE_CURRENT_IN_COMBAT = "Can't delete current profile during combat"
|
||||
MOVANY.PROFILES = "Profiles"
|
||||
MOVANY.PROFILE_CURRENT = "Current"
|
||||
MOVANY.FRAME_UNPOSITIONED = "%s is currently unpositioned and can't be moved till it is"
|
||||
MOVANY.NO_NAMED_FRAMES_FOUND = "No named elements found"
|
||||
MOVANY.SEARCH_TEXT = "Search "
|
||||
MOVANY.LIST_HEADING_CATEGORY_AND_FRAMES = "Categories and Frames"
|
||||
MOVANY.LIST_HEADING_SEARCH_RESULTS = "Search results: %i"
|
||||
MOVANY.LIST_HEADING_HIDE = "Hide"
|
||||
MOVANY.LIST_HEADING_MOVER = "Mover"
|
||||
Reference in New Issue
Block a user