Create Your Own Custom Button
Posted: Thu Dec 22, 2016 8:48 pm
Just coded a little programme to allow anyone to create their own custom button. Based on the custom gadget template.
Simply think of a name for the button and select a .png image then click create. the button has Normal, Disabled, Hover and pressed states all from the same image.
The programme writes the include file for your button and a small test programme in a folder named the same as your button.
Not many uses for a custom button such as these as we have the image button but may help anyone interested in producing custom gadgets.
I would appreciate it if the code could be tested and any bugs or improvements could be posted here.
The link to my custom gadgets on github is:-
https://github.com/collectordave/Custom-Gadgets
Regards
cd
Simply think of a name for the button and select a .png image then click create. the button has Normal, Disabled, Hover and pressed states all from the same image.
The programme writes the include file for your button and a small test programme in a folder named the same as your button.
Not many uses for a custom button such as these as we have the image button but may help anyone interested in producing custom gadgets.
I would appreciate it if the code could be tested and any bugs or improvements could be posted here.
The link to my custom gadgets on github is:-
https://github.com/collectordave/Custom-Gadgets
Regards
cd