This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
sample_code:fontawesomepicker [2015/02/14 18:51] stevegarman add link to spk |
sample_code:fontawesomepicker [2016/01/10 20:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======FontAwesompicker====== | + | ======FontAwesomepicker====== |
With the FontAwesomepicker you can browse through all icons of the font. The result of it gives you the name of the selected icon and you can use it in your code\\ \\ | With the FontAwesomepicker you can browse through all icons of the font. The result of it gives you the name of the selected icon and you can use it in your code\\ \\ | ||
{{: | {{: | ||
Line 26: | Line 26: | ||
function Fontawesomepicker(control) | function Fontawesomepicker(control) | ||
{ | { | ||
- | text = app.ReadFile(" | + | text = app.ReadFile(" |
text = text.split("," | text = text.split("," | ||
var self = this; | var self = this; | ||
Line 137: | Line 137: | ||
}</ | }</ | ||
- | And here is the textfile with the icon names. At the moment are 519 icons in the font, but not all where displayed as icon in Droidscript. Download the file and save it in the same folder | + | And here is the textfile with the icon names. At the moment |
===== Text file to include ===== | ===== Text file to include ===== | ||
- | <code text All519FontAwesomeIcons.txt> | + | <code text All674FontAwesomeIcons.txt> |
- | fa-adjust, |