In need of a nice glossy button? A background, a circular text on a marble texture?
Just found this site: http://www.grsites.com/
where you can easily generate all you need for a game…
lots of choices with examples readily available…
just made this button: (it even comes with a mouse_over highlight)
so we just need a nice struct for an image and a struct which extends this struct to a button struct 🙂
char* imageTitle; // a string
u16* imageArrayBin; // pointer to the image_bin
ImageView* imageView;//pointer to the image of your button
oh yes, what was all that about pointers to functions????
It is just an easy way to implement what to do when the button is pushed…