Thread Tools Display Modes
Unread 10-12-10, 05:23 PM   #1
aapoo
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Jan 2008
Posts: 12
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?
aapoo is offline  
Unread 10-12-10, 05:41 PM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,006
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();
__________________
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
SDPhantom is offline  
Unread 10-12-10, 05:55 PM   #3
aapoo
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Jan 2008
Posts: 12
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!

Last edited by aapoo : 10-12-10 at 06:23 PM.
aapoo is offline  
Unread 10-13-10, 05:05 AM   #4
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,006
Originally Posted by aapoo View Post
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 I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
SDPhantom is offline  
 

Go BackWoWInterface » AddOns, Compilations, Macros » Cataclysm Beta » Removing the default actionbar bg

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off