1
General / Creating custom buttons
« on: May 22, 2014, 02:05:10 pm »
I'm completely new to sfml and I'd like to know how you guys manage to create and display custom made images for buttons/menus and such.
I've seen this thread: http://en.sfml-dev.org/forums/index.php?topic=3265.0
and I'd like to know how to create, save and load the custom made texture.
I created a simple texture for test in PS, without background, only text and if I save it as .bmp it doesn't display anything when I load it but if I flatten layers then it displays the text with white background. How can I make it to display the text alone.
I've seen this thread: http://en.sfml-dev.org/forums/index.php?topic=3265.0
and I'd like to know how to create, save and load the custom made texture.
I created a simple texture for test in PS, without background, only text and if I save it as .bmp it doesn't display anything when I load it but if I flatten layers then it displays the text with white background. How can I make it to display the text alone.