MobileWill Posted February 18, 2016 Report Posted February 18, 2016 I am looking into using an image for radio buttons. Any reason I can't? Looks like I have to write my own draw routine or I can I just point it to a image file? It would be nice to have an option like buttons where 1/2 the image is not selected and 2nd half is selected.
Joel Bodenmann Posted February 18, 2016 Report Posted February 18, 2016 As you mentioned there is currently no built-in rendering routine for the radio button widget that handles a images. The only reason for that is: We didn't have time to do that yet. It's correct that you can do that yourself by creating your own custom rendering routine. You can follow this guide to learn how to properly write a custom rendering routine (work in progress): http://wiki.ugfx.org/index.php/Creating_a_custom_rendering_routine Note that you will have to get the latest master of the repository as we fixed a few minor things that prevented the user from putting the custom rendering routine in the applicaton directory (never modify the library source for things like that!).
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now