View Single Post
06/21/18, 10:43 PM   #7
murkalurk2099
Join Date: Feb 2018
Posts: 6
Sorry to bother you again, but I know nothing of coding and you seem to the one to ask...

I found the line in LibAddonMenu-2.0/lua in C:\Users\[USER]\Documents\Elder Scrolls Online\live\AddOns\Ravalox'QuestTracker\libs\LibAddonMenu-2.0

Code:
--INTERNAL FUNCTION
--creates LAM's Addon Settings top-level window
local function CreateAddonSettingsWindow()
    local tlw = wm:CreateTopLevelWindow("LAMAddonSettingsWindow")
    tlw:SetHidden(true)
    tlw:SetDimensions(1010, 914) -- same height as ZO_OptionsWindow

    ZO_ReanchorControlForLeftSidePanel(tlw)

    -- create black background for the window (mimic ZO_RightFootPrintBackground)

    local bgLeft = wm:CreateControl("$(parent)BackgroundLeft", tlw, CT_TEXTURE)
    bgLeft:SetTexture("EsoUI/Art/Miscellaneous/centerscreen_left.dds")
    bgLeft:SetDimensions(1024, 1024)
    bgLeft:SetAnchor(TOPLEFT, nil, TOPLEFT)
    bgLeft:SetDrawLayer(DL_BACKGROUND)
    bgLeft:SetExcludeFromResizeToFitExtents(true)

    local bgRight = wm:CreateControl("$(parent)BackgroundRight", tlw, CT_TEXTURE)
    bgRight:SetTexture("EsoUI/Art/Miscellaneous/centerscreen_right.dds")
    bgRight:SetDimensions(64, 1024)
    bgRight:SetAnchor(TOPLEFT, bgLeft, TOPRIGHT)
    bgRight:SetDrawLayer(DL_BACKGROUND)
    bgRight:SetExcludeFromResizeToFitExtents(true)

    -- create gray background for addon list (mimic ZO_TreeUnderlay)

    local underlayLeft = wm:CreateControl("$(parent)UnderlayLeft", tlw, CT_TEXTURE)
    underlayLeft:SetTexture("EsoUI/Art/Miscellaneous/centerscreen_indexArea_left.dds")
    underlayLeft:SetDimensions(256, 1024)
    underlayLeft:SetAnchor(TOPLEFT, bgLeft, TOPLEFT)
    underlayLeft:SetDrawLayer(DL_BACKGROUND)
    underlayLeft:SetExcludeFromResizeToFitExtents(true)

    local underlayRight = wm:CreateControl("$(parent)UnderlayRight", tlw, CT_TEXTURE)
    underlayRight:SetTexture("EsoUI/Art/Miscellaneous/centerscreen_indexArea_right.dds")
    underlayRight:SetDimensions(128, 1024)
    underlayRight:SetAnchor(TOPLEFT, underlayLeft, TOPRIGHT)
    underlayRight:SetDrawLayer(DL_BACKGROUND)
    underlayRight:SetExcludeFromResizeToFitExtents(true)

    -- create title bar (mimic ZO_OptionsWindow)

    local title = wm:CreateControl("$(parent)Title", tlw, CT_LABEL)
    title:SetAnchor(TOPLEFT, nil, TOPLEFT, 65, 70)
    title:SetFont("ZoFontWinH1")
    title:SetModifyTextType(MODIFY_TEXT_TYPE_UPPERCASE)

    local divider = wm:CreateControlFromVirtual("$(parent)Divider", tlw, "ZO_Options_Divider")
    divider:SetAnchor(TOPLEFT, nil, TOPLEFT, 65, 108)

    -- create search filter box

    local srchBox = CreateSearchFilterBox("$(parent)SearchFilter", tlw)
    srchBox:SetAnchor(TOPLEFT, nil, TOPLEFT, 63, 120)
    srchBox:SetDimensions(260, 30)

    -- create scrollable addon list

    local addonList = CreateAddonList("$(parent)AddonList", tlw)
    addonList:SetAnchor(TOPLEFT, nil, TOPLEFT, 65, 160)
    addonList:SetDimensions(285, 665)

    lam.addonList = addonList -- for easy access from elsewhere

    -- create container for option panels

    local panelContainer = wm:CreateControl("$(parent)PanelContainer", tlw, CT_CONTROL)
    panelContainer:SetAnchor(TOPLEFT, nil, TOPLEFT, 365, 120)
    panelContainer:SetDimensions(645, 675)

    local defaultButton = wm:CreateControlFromVirtual("$(parent)ResetToDefaultButton", tlw, "ZO_DialogButton")
    ZO_KeybindButtonTemplate_Setup(defaultButton, "OPTIONS_LOAD_DEFAULTS", HandleLoadDefaultsPressed, GetString(SI_OPTIONS_DEFAULTS))
    defaultButton:SetAnchor(TOPLEFT, panelContainer, BOTTOMLEFT, 0, 2)
    lam.defaultButton = defaultButton

    local applyButton = wm:CreateControlFromVirtual("$(parent)ApplyButton", tlw, "ZO_DialogButton")
    ZO_KeybindButtonTemplate_Setup(applyButton, "OPTIONS_APPLY_CHANGES", HandleReloadUIPressed, GetString(SI_ADDON_MANAGER_RELOAD))
    applyButton:SetAnchor(TOPRIGHT, panelContainer, BOTTOMRIGHT, 0, 2)
    applyButton:SetHidden(true)
    lam.applyButton = applyButton

    return tlw
end
So somewhere in there I will add in...
QuestTrackerWin:SetDrawTier(DT_X) and QuestTrackerWin:SetDrawLayer(DL_X)

In the Minimap.xml in the AUI addon folders there is

Code:
    <TopLevelControl name="AUI_Minimap_MainWindow" DrawLayer="4" clampedToScreen="true" mouseEnabled="true" hidden="true">
      <Controls>
        <Control name="$(parent)_Map">
          <Anchor point="TOPLEFT" relativeTo="AUI_Minimap_MainWindow" />
          <Controls>
            <Texture name="$(parent)_Background" layer="1" textureFile="AUI/images/minimap/background.dds" >
              <AnchorFill />
            </Texture>
            <Texture name="$(parent)_Overlay" layer="3">
              <AnchorFill />
            </Texture>
            <Texture name="$(parent)_Rotate" layer="3">
              <AnchorFill />
            </Texture>
            <Scroll name="$(parent)_Scroll" layer="1">
              <AnchorFill />
              <Controls>
                <Control name="AUI_MapContainer"></Control>
              </Controls>
            </Scroll>
            <Backdrop name="$(parent)Frame" tier="MEDIUM" layer="OVERLAY">
              <Edge file="EsoUI/Art/WorldMap/worldmap_frame_edge.dds" edgeFileWidth="128" edgeFileHeight="16" />
              <Insets left="16" top="16" right="-16" bottom="-16" />
              <OnInitialized>
                self:SetCenterColor(0, 0, 0, 0)
              </OnInitialized>
              <Anchor point="TOPLEFT" relativeTo="$(parent)Scroll"/>
              <Anchor point="BOTTOMRIGHT" relativeTo="$(parent)Scroll"/>
              <Controls>
                <Texture name="$(parent)TopMunge" inherits="AUI_FrameMunge">
                  <Dimensions y="2"/>
                  <Anchor point="TOPLEFT" offsetX="4"/>
                  <Anchor point="TOPRIGHT" offsetX="-4"/>
                </Texture>
                <Texture name="$(parent)LeftMunge" inherits="AUI_FrameMunge">
                  <Dimensions x="2"/>
                  <Anchor point="TOPLEFT" offsetY="4"/>
                  <Anchor point="BOTTOMLEFT" offsetY="-4"/>
                </Texture>
                <Texture name="$(parent)RightMunge" inherits="AUI_FrameMunge">
                  <Dimensions x="2"/>
                  <Anchor point="TOPRIGHT" offsetY="4"/>
                  <Anchor point="BOTTOMRIGHT" offsetY="-4"/>
                </Texture>
                <Texture name="$(parent)BottomMunge" inherits="AUI_FrameMunge">
                  <Dimensions y="2"/>
                  <Anchor point="BOTTOMLEFT" offsetX="4"/>
                  <Anchor point="BOTTOMRIGHT" offsetX="-4"/>
                </Texture>
              </Controls>
            </Backdrop>
          </Controls>
        </Control>
        <Label name="AUI_Location_Name"></Label>
        <Label name="AUI_Coords"></Label>
      </Controls>
    </TopLevelControl>
What constitutes a higher value than minimap's level? 3? Or 5?
  Reply With Quote