Grid

85 - Integration with nUI

I am adding Grid integration to nUI and I am having a problem with the Frame Level that is hard coded in the GridFrames.lua This is causing the corner indicators and center icon not to display because the frame level is to low. I was wondering if the calls that are made to SetFrameLevel could be changed to add 5 to the parent frame's FrameLevel instead of hard coding the value to 5?

Here are the locations and code

In function GridFrameClass.prototype:CreateIndicator(indicator)

Change f:SetFrameLevel(5) to f:SetFrameLevel(self.frame:GetFrameLevel() + 5)

In function GridFrameClass.prototype:CreateFrames()

Change f.IconBG:SetFrameLevel(5) to f.IconBG:SetFrameLevel(f:GetFrameLevel() + 5)

If this is not possible would you mind telling me how I could changes these values from another addon?

Thanks for taking a look at this.

Brillynt

User When Change
Pastamancer Apr 16, 2009 at 17:24 UTC Changed status from New to Declined
Brillynt Feb 25, 2009 at 21:37 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 3 comments
  • Avatar of Pastamancer Pastamancer Apr 16, 2009 at 17:24 UTC - 0 likes

    I don't recall why I set the frame level to 5 for the icon border and the corner indicators, but I'm sure I had a good reason for it.

  • Avatar of Brillynt Brillynt Feb 27, 2009 at 14:51 UTC - 0 likes

    So what does your opinion of nUI have to do with my request duh absolutely nothing. I am just asking the developer for this not someone who has no clue.

    Brillynt

  • Avatar of Ithato Ithato Feb 27, 2009 at 14:03 UTC - 0 likes

    In my opinion, nUI is a bloated, sprawling abomination of an "addon" that while poorly coded, still seems to have "borrowed" code from all over the interwebz. Visually, it is an assault on the retinas, and doesn't portray information in a useful manner. Please stop keeping projects like this alive.

    Extra classy bonus points: sob story in nUI's description on WowInt on how the author has been out of work for x months and needs your money donations to get by!

  • 3 comments

Facts

Last updated
Apr 16, 2009
Reported
Feb 25, 2009
Status
Declined - We decided not to take action on this ticket.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees