XMenuButtonStyle Class
This is a button style. It is used to define how a button should look.
  • Background - A string that is a path to a texture loaded into the content directory to use as the background
  • TextColor - A color that the text on the button should be drawn with
  • HighlightedTextColor - A color that the text will be drawn with when the button is selected
  • HighlightedBackground - A string that is a path to a texture loaded into the content directory to use as the background when the button is selected
  • Width - The width of the button
  • Height - The height of the button
  • Padding - Where on the button to draw the text
  • Spacing - The distance in pixels between each button
  • Font - A string that is a path to a SpriteFont loaded into the content directory to use for the text

Last edited Mar 23, 2008 at 8:57 AM by Hazardous101, version 1

Comments

No comments yet.