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
  #27  
Unread 03-18-2010, 07:20 PM
Mistal Mistal is offline
Premium Member
Premium Member
Interface Author - Click to view interfaces
 
Join Date: Sep 2007
Server: Everfrost
Posts: 59
Default Button Problems...

I have been playing with background images and frames etc and have a really good handle on that now I went to apply the same principle to my buttons and it didn't work. I have had a look at the commonelements dds, and nearly fell out my chair.

Is there a button tutorial or something that I can read how to do this, as it seems to be different than the background stuff, what with the mouse over effects etc .. currently the buttons in my mod point to

Code:
<Button Location="111,24" Name="BtnPort1" OnPress="equipsomething"
                parent.Visible=Parent.Checked" ScrollExtent="108,32" Size="108,32" Style="/CommonElements.PushButton.data.style">BLANK</Button>
This is what I tried to do...

Code:
<ButtonStyle Name="ButtonFrame" Center="BW5" CenterStretchH="true" CenterStretchV="true" CenterShrinkH="true" CenterShrinkV="true"/>
    <ImageStyle Name="BW5"> 
        <ImageFrame Source="images/testbuttons.dds" SourceRect="30,23,165,64" />
    </ImageStyle>
with this as my button

Code:
<Button Location="3,24" Name="BtnPort1" OnPress="equipsomething"
                parent.Visible=Parent.Checked" ScrollExtent="108,32" Size="108,32" Style="ButtonFrame.PushButton.data.style">BLANK</Button>
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:52 PM.


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