EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 11-14-2010, 09:07 PM
Draven_Caine's Avatar
Draven_Caine Draven_Caine is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2009
Server: Unrest
Posts: 155
Default Double graphic opacity

I have the background of one of my windows usingt he in-game opacity slider, ok simple enough.
When this background opacity slider is changed I need it to also change another graphics opacity automaticlly.

These 2 graphics are part of the same window and need to be 2 seprate graphics because one is pet restricted and the other is target restricted.

Is this possible? If so, could someone point me in the correct way to do this?

Thanks in advance,
Draven
Reply With Quote
  #2  
Unread 11-14-2010, 11:25 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

Simply put anything inside the the Background page of the XML file. The background/frame objects are just pages, so things can be nested inside of them.
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
  #3  
Unread 11-15-2010, 06:02 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

What Drumstix42 said works. What's even easier is to add
backdropcontrol="true"
to whichever element that you want tied to the background opacity slider.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.

Last edited by gm9 : 11-16-2010 at 08:52 AM. Reason: backdropcontrol, not backgroundcontrol
Reply With Quote
  #4  
Unread 11-15-2010, 10:29 PM
Draven_Caine's Avatar
Draven_Caine Draven_Caine is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2009
Server: Unrest
Posts: 155
Default

Quote:
Originally Posted by gm9 View Post
What Drumstix42 said works. What's even easier is to add
backgroundcontrol="true"
to whichever element that you want tied to the background opacity slider.
This setting doesnt seem to work for me. The graphic is a page and I added this setting to the page, and nothing.

And with dumstix idea, it doesnt exactly work for me due to how the window is set up, The only way it would work is to re-do the background graphic all together.
Reply With Quote
  #5  
Unread 11-16-2010, 08:51 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

My bad, I remembered the name wrong, it is
backdropcontrol="true"
(fixed it in my post above as well)
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #6  
Unread 11-16-2010, 11:05 AM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

I ways put background 1st too. Then when it don't work I remember I've screwed it up again lol.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #7  
Unread 11-16-2010, 04:47 PM
Draven_Caine's Avatar
Draven_Caine Draven_Caine is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2009
Server: Unrest
Posts: 155
Default

Quote:
Originally Posted by gm9 View Post
My bad, I remembered the name wrong, it is
backdropcontrol="true"
(fixed it in my post above as well)
Awsome, tymv gm9.
This fix did it.

Thanks,
Draven
Reply With Quote
  #8  
Unread 12-19-2010, 03:52 PM
Draven_Caine's Avatar
Draven_Caine Draven_Caine is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2009
Server: Unrest
Posts: 155
Default

Quote:
Originally Posted by Drumstix42 View Post
Simply put anything inside the the Background page of the XML file. The background/frame objects are just pages, so things can be nested inside of them.
I ma trying to use this knowledge from the thread to do a new thing.
I have 3 graphics that need to be controlled by the frame slider, I know i can put an image object inside the frame page but if opacity of the frame page is 1.0 than it has a black background, which it cant have.

Now how would i make the "frame page" have no background but have 3 graphics inside it that are controlled by the "frame slider"?

**Blah** I had an idea right after posting this and it worked.
  • Turn the "frame page" BackgroundOpacity to 0.00
  • Add your "Image Objects" to the "frame page"

Thanks,
Draven

Last edited by Draven_Caine : 12-19-2010 at 03:55 PM.
Reply With Quote
Reply



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
Forum Jump


All times are GMT -5. The time now is 11:04 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI