promotional bannermobile promotional banner

HideArt

Abandoned
HideArt

{{{

  1. !html

ABANDONED: I've switched to Bongos, personally, which already turns off the things I wanted turned off, so I am no longer working on this mod. Sorry.

This add-on can remove the gryphons and xp bar from your display.

NOTE: This does not work with PopNUI from the Cosmos distribution. I'm not sure if I am going to try to even bother figuring this out, since my whole motivation for writing this was that I got rid of Cosmos, but if there is demand for it I might (because removing the xp bar might still be useful for Cosmos users.)

Commands:

Use /hideart <command> or /ha <command> to do the following:

/ha hide [{gryphons, xpbar, classbar}]
Hide the gryphons, xpbar or classbar; with no argument, hide all.

/ha show [{gryphons, xpbar, classbar}]
Show the gryphons, xpbar or classbar; with no argument, show all.

/ha toggle [{gryphons, xpbar, classbar}]
Toggle the gryphons, xpbar or classbar; with no argument, toggle all.

/ha offset <n>
Set the offset between Blizzard's second menu bars and the
main menu bar, in pixels.

/ha help
Help message that summarizes the above.

All commands and arguments can be abbreviated; a lone 'h' stands for 'hide' rather than 'help'.

There is one known issue: when turning the xp bar back on, the exhaustion tick does not display until there is a relevant event for it. I tried to programmatically send such a event to the handler that would cause it to be displayed, but my method doesn't work. If anyone knows how this can be done, I'd love to know.

Background:

I encountered a little bit of irony when I stopped using Cosmos and switched to using a large collection of independent add-ons. Of the nearly two dozen add-ons that I use, none were able to do the trivial task of removing the the gryphons that had reappeared ominously at the end of my main bar. Additionally, because I had wiped my entire Interface directory, I no longer had the hacks to the FrameXML code that removed the xp bar from above the main menu bar. I wanted to have something lightweight that didn't mean putting in an addon that did other things I was not interested in.

I always kind of hated having to edit those FrameXML files anyway, because they're not compartmentalized and thus are susceptible to being stomped on by conflicting add-ons that try to edit them. It is much better to be able to put everything into LUA. It was, however, surprisingly difficult to figure out just how to make that xp bar go away because it is the parent frame for most of the subframes in the main bar area.

Thanks to whoever made the texture file that gets rid of the framing of the xp bar.

Known issues:
* There's some schmutz around the buttons on the class bar that's probably something I can make go away.
* I haven't even tested at all with the rep bar feature.
* I should update the art used for the main bar, but I have to learn how. As noted above, I just ripped off what someone else did but blizzard has changed it a little since then.
* Variables are not saved per character and probably should be. }}}

The HideArt Team

profile avatar
Owner
  • 4
    Projects
  • 831
    Downloads

More from vttale