EQ2Interface.com
Search Downloads


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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7  
Unread 07-03-2008, 11:17 AM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

My player window has multi-layout function. Rather than use a checkbox, I just used 2 buttons that would hide/show each other. I found the checkbox to be too much of a hassle. And if you get fancy, it's too annoying to "set" a checkbox to a certain state without clicking it manually. Where a button, it's very easy to press it via the UI.

So, if you're doing stuff via the Window Settings, then you can use the OnShow/OnHide event from the Titlebar/Frame objects, to press layout oriented buttons.


That aside. you can look at that code, which is very simple, if you want.
http://www.eq2interface.com/download...k-to-cure.html

I think i used something similar in my chat window to move the tabs around depending on what setting the frame was on.

*edit* here's a copy and sort out of the code:

Layout_1 button:
Code:
OnPress="Parent.Parent.Parent.Player.MaximumSize=16384,116
Parent.Parent.Parent.Player.MinimumSize=170,116
Parent.Parent.HealthPage.HealthPctOn.press=true
Parent.Parent.PowerPage.PowerPctOn.press=true
Parent.Parent.FullHealth.visible=true
Parent.Parent.FullPower.visible=true
Parent.Parent.PowerPage.top=45
Parent.Parent.Power.top=51
Parent.Parent.Concentration.top=72
Parent.Parent.CureButtons.top=82
Parent.Parent.Effects.top=82
Parent.Layout_2.visible=true
visible=false"
Layout_2 button:
Code:
OnPress="Parent.Parent.Parent.Player.MinimumSize=170,94
Parent.Parent.Parent.Player.MaximumSize=16384,94
Parent.Parent.FullHealth.visible=false
Parent.Parent.FullPower.visible=false
Parent.Parent.PowerPage.top=36
Parent.Parent.Power.top=40
Parent.Parent.Concentration.top=50
Parent.Parent.CureButtons.top=60
Parent.Parent.Effects.top=60
Parent.Layout_1.visible=true
visible=false"
__________________
"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
>

Last edited by Drumstix42 : 07-03-2008 at 11:26 AM.
Reply With Quote
 



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 10:42 PM.


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