Here’s a template I made for an SBSettings toggle that consists of a simple view.
It uses SBSettings’ images so it matches your SBSettings theme.
This one uses the small image, like the one in the dock if you have less than 5 icons. You can change it fairly easy by just changing the name of the image it uses, and the size of the frames to the the size of the new image.
(If you have doubts on how to use it, or how to compile it, you probably aren’t ready to use it)
Once it’s compiled it, put the Toggle.dylib in /var/mobile/Library/SBSettings/Toggles/TOGGLENAME, then make a 60×60 png, and put it in /var/mobile/Library/SBSettings/Themes/YOURTHEME/TOGGLENAME, you have to put it twice, named on.png and off.png.
Enjoy!
|
|
File: SBSTemplate (2.76KB) added: 07/06/2009 |





