talontos / incursio-project

Automatically exported from code.google.com/p/incursio-project
0 stars 0 forks source link

Create generic button class #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Button will consist of 6 textures: 

unpressed:
  Left side
  Right side
  1-pixel wide body to be repeated

pressed:
  Left side
  Right side
  1-pixel wide body to be repeated

We can draw the text over the button, and use the text-width to draw the
button itself

This will also allow us to have fewer button-textures, and also to have
more flexible button options

Original issue reported on code.google.com by mitch.mg...@gmail.com on 9 Jun 2008 at 5:08