Not really an issue but need clarification/pull request? No idea where else to ask. #942


Closed
  • potisbotis created this issue Jan 29, 2021

    What version of Grid2 and game type (classic or retail) are you using ?

     Latest/Retail

    What game client version (windows or mac) and language are you using ?

    9.1 Windows

     

    What steps will reproduce the problem?

    It is not a problem, its a question or a request

      
    Did you try having Grid2 as the only enabled addon and everything else disabled?

      

    Was it working in a previous version? If yes, which was the last good one?

      

    Do you have an error log of what happened? If you don't see any errors, make sure that error reporting is enabled (`/console scriptErrors 1`) or install [BugSack](https://mods.curse.com/addons/wow/BugSack).

      

    Please provide any additional information below.

     

    Really sorry if this is wrong, curseforge comments seem to be disabled.

     

    My question/problem is simple, if its not possible i understand, and its neither a request, just trying to figure out if its something i am missing.

     

    Certainly using a graphical compilation which anchors things behind addons, (LUI), therefor the art is anchored to Grid2LayoutFrame.

     

    I want to create a second "window" or layout, independent of Grid2LayoutFrame, to use as Party Frames, so the art wont be anchored and move to the new layout, so i can use all the goodies of Grid2 as Party Frame and without having to fuck up the UI itself.

     

    I have obviously done this with using a different addon for the party  frames therefor nothing breaks from the anchors, since their frame isnt anchored to the art, but none of the addons have the smarts and settings of Grid2, like literally, none of them i could find at the moment.

     

    Hence my question is, am missing something with creating something like Grid2LayoutFrame2, or is it not possible? Thanks.

     

    Again apologies if its not the place, but after hours of trying to figure out stuff, i am simply not good enough with LUA to search more :D

     

     

  • potisbotis edited description Jan 29, 2021
  • michaelsp posted a comment Jan 29, 2021

    It's not possible, Grid2 uses the same window/frame and buttons to display the party/raid unit `frames. But That can be done with some custom code that should: create an extra frame,  align the extra frame to the Grid2LayoutFrame and show/hide the frame when the the player joins/leaves a raid.

     

    UPDATE: I think your request could be done using a trick, but is not perfect: Grid2 uses another frame "Grid2LayoutFrameBack" that is just aligned to "Grid2LayoutFrame" to display background and border decoration.

    Grid2 hides the "Grid2LayoutFrameBack" frame when border and background opacity is set to Zero, so:

    You can attach raid decoration to Grid2LayoutFrame and party decoration to Grid2LayoutFrameBack for example, then create two themes, one theme for raid groups and another theme for party groups:

    1. On the first theme the opacity value of the border and background must be set to a value >0.

    2. On the second theme opacity of border and background must be set to 0.

     

     

     


    Edited Jan 29, 2021
  • michaelsp closed issue Jan 31, 2021

To post a comment, please login or register a new account.