EQ2Interface.com
Search Downloads


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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 06-27-2006, 04:57 PM
xriscarter xriscarter is offline
A Darkpaw Brute
Interface Author - Click to view interfaces
 
Join Date: Apr 2006
Server: Blackburrow
Posts: 40
Default

Ok I made the new button the same way that you said too. My question how can you make a buttonstyle that does not have a imageframe?

Reply With Quote
  #2  
Unread 06-27-2006, 05:20 PM
Loktha's Avatar
Loktha Loktha is offline
Premium Member
Premium Member
Interface Author - Click to view interfaces
 
Join Date: Aug 2005
Server: Crushbone
Posts: 87
Default

I just took a look at your buttonstyles.xml again. It looks like you forgot to define the button.

Your missing this code:

<ButtonStyle DisabledTextColor="#404040" MouseOverTextColor="#FFFF00" Name="BasicButton" NormalTextColor="#E0E0E0" NormalTextStyle="/Fonts.FontZapf15" PressSound="click" RStyleDefault="basicButton.basic_button_normal" RStyleMouseOver="basicButton.basic_button_normal" RStyleMouseOverActivated="basicButton.basic_button_normal" RStyleMouseOverSelected="basicButton.basic_button_normal" RStyleSelected="basicButton.basic_button_normal" SelectedTextColor="#FFFF00" />





************INSERT HERE******************************
- <Namespace Name="basicButton">
<RectangleStyle Center="basic_button_normal" CenterShrinkH="true" CenterShrinkV="true" Name="basic_but_normal" />
<RectangleStyle Center="basic_button_pressed" CenterShrinkH="true" CenterShrinkV="true" Name="basic_but_pressed" />
<RectangleStyle Center="basic_button_rollover" CenterShrinkH="true" CenterShrinkV="true" Name="basic_but_rollover" />
<RectangleStyle Center="basic_button_normal" CenterShrinkH="true" CenterShrinkV="true" Color="#808080" Name="basic_but_disabled" />
- <ImageStyle Filter="true" Name="basic_button_normal">
<ImageFrame Name="image" Source="images/window_elements_generic.dds" SourceRect="104,496,116,508" />
</ImageStyle>
- <ImageStyle Filter="true" Name="basic_button_pressed">
<ImageFrame Name="image" Source="images/window_elements_generic.dds" SourceRect="104,496,116,508" />
</ImageStyle>
- <ImageStyle Filter="true" Name="basic_button_rollover">
<ImageFrame Name="image" Source="images/window_elements_generic.dds" SourceRect="104,496,116,508" />
</ImageStyle>
</Namespace>
***********************************************

Then, in the style, you'll want to put /ButtonStyles.BasicButton

Try that out.
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 09:34 AM.


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