SOLVED: Buttons standard colour

Started by johanvepa, Wed 04/11/2015 22:40:01

Previous topic - Next topic

johanvepa

All my buttons have grey background by default, and white and black outlines. I can't seem to change them into anything else other than by giving them an image. But this seems impractical when there are lots of buttons. Is there a way to make the background color of buttons white? And while we're at it, is there a way to change the outline of a button from the black and white lines into something else?

Khris

The only way to do what you want without tons of images is to write a function that draws the images on the fly, stores them in global DynamicSprites, then sets those as your button graphics.

MiteWiseacreLives!

I would recommend just drawing one generic button, perhaps with a depressed image as well, and use that for your many buttons..
Not ideal, but like Khris says, ags just doesn't have that feature.

johanvepa

I asked one question and got two good answers.

Thanks folks :)

SMF spam blocked by CleanTalk