EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   Double graphic opacity (https://www.eq2interface.com/forums/showthread.php?t=15100)

Draven_Caine 11-14-2010 09:07 PM

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

Drumstix42 11-14-2010 11:25 PM

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.

gm9 11-15-2010 06:02 AM

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.

Draven_Caine 11-15-2010 10:29 PM

Quote:

Originally Posted by gm9 (Post 94397)
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.

gm9 11-16-2010 08:51 AM

My bad, I remembered the name wrong, it is
backdropcontrol="true"
(fixed it in my post above as well)

Landiin 11-16-2010 11:05 AM

I ways put background 1st too. Then when it don't work I remember I've screwed it up again lol.

Draven_Caine 11-16-2010 04:47 PM

Quote:

Originally Posted by gm9 (Post 94404)
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

Draven_Caine 12-19-2010 03:52 PM

Quote:

Originally Posted by Drumstix42 (Post 94392)
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


All times are GMT -5. The time now is 08:03 PM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI