WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Cataclysm Beta (https://www.wowinterface.com/forums/forumdisplay.php?f=82)
-   -   Removing the default actionbar bg (https://www.wowinterface.com/forums/showthread.php?t=35397)

aapoo 10-12-10 05:23 PM

Removing the default actionbar bg
 
Hello hello!

I'm working on updating rActionBarStyler so it'll work for me once the servers come back online later today, and I've ran into a problem (testing on the beta) when trying to remove the default blizzard actionbar graphics.

Does anyone know how to remove that graphic as of now?

SDPhantom 10-12-10 05:41 PM

lua Code:
  1. --  Background:
  2. --  MainMenuBarArtFrame is the parent of the other MainMenuBar buttons too
  3. for i=0,3 do _G["MainMenuBarTexture"..i]:Hide(); end
  4. MainMenuBarLeftEndCap:Hide();
  5. MainMenuBarRightEndCap:Hide();
  6.  
  7. --  EXP Bars:
  8. MainMenuExpBar:Hide();
  9. MainMenuBarMaxLevelBar:Hide();

aapoo 10-12-10 05:55 PM

Thanks, seem the exppart isn't working though.

I'm sorry but I can't figure it out on my own as I've just started updating addons and mostly I've fixed obvious bugs (aka lua errors)

Edit:

Poked around and by accident I just tried;
lua Code:
  1. MainMenuBar:Hide()
which clears the entire thing out without having that hack you posted. I'm still grateful though!

SDPhantom 10-13-10 05:05 AM

Quote:

Originally Posted by aapoo (Post 208973)
lua Code:
  1. MainMenuBar:Hide()

I don't know what would be the difference between your client and mine, but this function call removed the main action bar, the paging buttons, the MicroButtons, and the bag buttons, I took it a step further to keep those elements active.

If that works for you, it's fine i guess.


All times are GMT -6. The time now is 10:49 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI