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
Create Your Own Custom Button
-
- Addict
- Posts: 1310
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
Create Your Own Custom Button
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.