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.
|