Thread Tools Display Modes
04-30-10, 11:09 PM   #1
Paksonarrion
A Deviate Faerie Dragon
Join Date: Aug 2009
Posts: 16
Compatability with CBHViewport

Is there anyway to make nUI compatable with CBHViewport or to manually change the size of nUI's black Dashboard so I can make it bigger?
 
05-01-10, 04:25 AM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
It could be done, though I don't know when I'll have time for it. Perhaps someone (another nUI user or the author of CBH maybe?) can look at the nUI_ChocolateBar.lua, nUI_Fubar.lua and nUI_TitanPanel.lua modules in the [ nUI > Integration ] folder and code a module for CBH?

I would be happy to include it with nUI.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
05-01-10, 05:08 AM   #3
Paksonarrion
A Deviate Faerie Dragon
Join Date: Aug 2009
Posts: 16
I see. Hrmm, well, is there a way to do it manually? I am not a pro at LUA, but if I can handle ASM and C++ is hsould be able to alter some code if you point me in the right direction. Currently, the dashboard only has the black area under half of it, and thus I still have screen actions going on under half the UI that make it a little difficult to see at times.
 
05-01-10, 05:27 AM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
There's almost none of the actual viewport that is hidden behind the dashboard. The viewport has already been resized to account for the dashboard and what very little bit is hidden very rarely hides anything of import unless you are zoomed in really really right.

That said, if you're adamant about modifying the viewport, look in [ Interface > AddOns > nUI > Main > nUI.lua ] for the following line...

Code:
WorldFrame:SetPoint( "BOTTOM", nUI_Dashboard, "CENTER", 0, 0 );
the first '0' in that is the horizontal location of the viewport which should not be changed. The second '0' is the vertical offset. Changing that can move the bottom edge of the viewport up and down. You can just make the change, save the file and then do a '/nui rl' to see the result.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
05-01-10, 03:22 PM   #5
Paksonarrion
A Deviate Faerie Dragon
Join Date: Aug 2009
Posts: 16
Thanks much ^^
Its less being able to see whats behind it than it is things moving behind my buttons that I don't like.
 
05-02-10, 05:00 AM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
AH... okay... there are some alternate dashboards in the "nUI: Art" section you might want to look at (because they are solid colored behind the buttons, etc.)

These two are mine...

http://www.wowinterface.com/download...boardSkin.html
http://www.wowinterface.com/download...boardSkin.html

There are many others to choose from as well.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Technical Support » Compatability with CBHViewport


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