Thread Tools Display Modes
Unread 10-27-10, 12:33 PM   #1
Trockenbrot
A Defias Bandit
 
Trockenbrot's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 3
Newbie Question

I tinkered a small InfoPanel [Grid / Omen] together. But it's not "perfekt" since i just started with Lua...

I want to fix some nasty Grid-configurations which need to be done by the user right now.

There are 3 things which need to be set on a specific value to fit optimal into the panel:
  • Scale to 0.75
  • Spacing (Border) to 4
  • FrameLock to true
But i only found the method SetScale() i could use to set the scale to 0.75.

So my question is:
Is there a way to change the configuration values of a other addon, without using their methods?
Trockenbrot is offline  
Unread 10-27-10, 12:38 PM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Yes... write to their saved variables directly... but that's a hack at best.
__________________

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/
spiel2001 is offline  
Unread 10-27-10, 01:05 PM   #3
Trockenbrot
A Defias Bandit
 
Trockenbrot's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 3
First, big thanks for the quick answer!

It sounds like "You could do it, but it's better you don't!"

So it's probably better just to inform the users what they have to do and ask the grid-authors for adding the needed methods ... some day, right?
Trockenbrot is offline  
 

Go BackWoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Customization » nUI: Developer Chat » Newbie Question

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