Skip to content

Commit

Permalink
Added Stroke 7
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Cancellieri committed Jul 15, 2014
1 parent 0543305 commit d6ecf6f
Show file tree
Hide file tree
Showing 3 changed files with 234 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -75,6 +75,10 @@ var label = Ti.UI.createLabel({

[Ligature Symbols 2.11 Created by Kazuyuki Motoyama](http://kudakurage.com/ligature_symbols/), [SIL Open Font Licence](http://scripts.sil.org/OFL)

### Stroke 7

[Stroke 7 1.1.0 by Pixeden](http://themes-pixeden.com/font-demos/7-stroke/index.html), [Pixeden Resource Licence](http://www.pixeden.com/license)

## License

The MIT License (MIT) Copyright (c) 2014 Kosuke Isobe
58 changes: 57 additions & 1 deletion Resources/app.js
Expand Up @@ -337,7 +337,63 @@ for (var key in iconicFont.font.charcode) {
iterator++;
}

// Stroke 7
iconicFont.font = '/lib/StrokeSeven';

var strokesevenWindow = Ti.UI.createWindow({
backgroundColor: '#fff',
title: 'Stroke 7'
}),
strokesevenTab = Ti.UI.createTab({
title: 'Stroke 7',
window: strokesevenWindow
}),
strokesevenScrollView = Ti.UI.createScrollView({
top: 0,
right: 0,
bottom: 0,
left: 0,
width: Ti.UI.FILL,
height: Ti.UI.FILL,
layout: 'vertical'
});
strokesevenWindow.add(strokesevenScrollView);

iterator = 0;
row = null;
for (var key in iconicFont.font.charcode) {
if (iterator % 5 === 0) {
if (row) {
strokesevenScrollView.add(row);
}
row = Ti.UI.createView({
top: 0,
right: 0,
bottom: 0,
left: 0,
width: Ti.UI.FILL,
height: 64,
layout: 'horizontal'
});
}

row.add(Ti.UI.createLabel({
width: '20%',
height: 64,
color: '#333',
font: {
fontSize: 48,
fontFamily: iconicFont.fontfamily
},
text: iconicFont.icon(key),
textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER,
verticalAlign: Ti.UI.TEXT_VERTICAL_ALIGNMENT_CENTER
}));

iterator++;
}

var tabgroup = Ti.UI.createTabGroup({
tabs: [ fontawesomeTab, octiconsTab, glyphsTab, entypoTab, typiconsTab, ligaturesymbolsTab ]
tabs: [ fontawesomeTab, octiconsTab, glyphsTab, entypoTab, typiconsTab, ligaturesymbolsTab, strokesevenTab]
});
tabgroup.open();
173 changes: 173 additions & 0 deletions Resources/lib/StrokeSeven.js
@@ -0,0 +1,173 @@
exports.fontfamily = 'Pe-icon-7-stroke';
exports.charcode = {
'pe-7s-cloud-upload':0xe68a,
'pe-7s-close':0xe680,
'pe-7s-cloud-download':0xe68b,
'pe-7s-close-circle':0xe681,
'pe-7s-angle-up':0xe682,
'pe-7s-angle-up-circle':0xe683,
'pe-7s-angle-right':0xe684,
'pe-7s-angle-right-circle':0xe685,
'pe-7s-angle-left':0xe686,
'pe-7s-angle-left-circle':0xe687,
'pe-7s-angle-down':0xe688,
'pe-7s-angle-down-circle':0xe689,
'pe-7s-wallet':0xe600,
'pe-7s-volume2':0xe601,
'pe-7s-volume1':0xe602,
'pe-7s-voicemail':0xe603,
'pe-7s-video':0xe604,
'pe-7s-user':0xe605,
'pe-7s-upload':0xe606,
'pe-7s-unlock':0xe607,
'pe-7s-umbrella':0xe608,
'pe-7s-trash':0xe609,
'pe-7s-tools':0xe60a,
'pe-7s-timer':0xe60b,
'pe-7s-ticket':0xe60c,
'pe-7s-target':0xe60d,
'pe-7s-sun':0xe60e,
'pe-7s-study':0xe60f,
'pe-7s-stopwatch':0xe610,
'pe-7s-star':0xe611,
'pe-7s-speaker':0xe612,
'pe-7s-signal':0xe613,
'pe-7s-shuffle':0xe614,
'pe-7s-shopbag':0xe615,
'pe-7s-share':0xe616,
'pe-7s-server':0xe617,
'pe-7s-search':0xe618,
'pe-7s-science':0xe619,
'pe-7s-ribbon':0xe61a,
'pe-7s-repeat':0xe61b,
'pe-7s-refresh':0xe61c,
'pe-7s-refresh-cloud':0xe61d,
'pe-7s-radio':0xe61e,
'pe-7s-print':0xe61f,
'pe-7s-prev':0xe620,
'pe-7s-power':0xe621,
'pe-7s-portfolio':0xe622,
'pe-7s-plus':0xe623,
'pe-7s-play':0xe624,
'pe-7s-plane':0xe625,
'pe-7s-photo-gallery':0xe626,
'pe-7s-phone':0xe627,
'pe-7s-pen':0xe628,
'pe-7s-paper-plane':0xe629,
'pe-7s-paint':0xe62a,
'pe-7s-notebook':0xe62b,
'pe-7s-note':0xe62c,
'pe-7s-next':0xe62d,
'pe-7s-news-paper':0xe62e,
'pe-7s-musiclist':0xe62f,
'pe-7s-music':0xe630,
'pe-7s-mouse':0xe631,
'pe-7s-more':0xe632,
'pe-7s-moon':0xe633,
'pe-7s-monitor':0xe634,
'pe-7s-micro':0xe635,
'pe-7s-menu':0xe636,
'pe-7s-map':0xe637,
'pe-7s-map-marker':0xe638,
'pe-7s-mail':0xe639,
'pe-7s-mail-open':0xe63a,
'pe-7s-mail-open-file':0xe63b,
'pe-7s-magnet':0xe63c,
'pe-7s-loop':0xe63d,
'pe-7s-look':0xe63e,
'pe-7s-lock':0xe63f,
'pe-7s-lintern':0xe640,
'pe-7s-link':0xe641,
'pe-7s-like':0xe642,
'pe-7s-light':0xe643,
'pe-7s-less':0xe644,
'pe-7s-keypad':0xe645,
'pe-7s-junk':0xe646,
'pe-7s-info':0xe647,
'pe-7s-home':0xe648,
'pe-7s-help2':0xe649,
'pe-7s-help1':0xe64a,
'pe-7s-graph3':0xe64b,
'pe-7s-graph2':0xe64c,
'pe-7s-graph1':0xe64d,
'pe-7s-graph':0xe64e,
'pe-7s-global':0xe64f,
'pe-7s-gleam':0xe650,
'pe-7s-glasses':0xe651,
'pe-7s-gift':0xe652,
'pe-7s-folder':0xe653,
'pe-7s-flag':0xe654,
'pe-7s-filter':0xe655,
'pe-7s-file':0xe656,
'pe-7s-expand1':0xe657,
'pe-7s-exapnd2':0xe658,
'pe-7s-edit':0xe659,
'pe-7s-drop':0xe65a,
'pe-7s-drawer':0xe65b,
'pe-7s-download':0xe65c,
'pe-7s-display2':0xe65d,
'pe-7s-display1':0xe65e,
'pe-7s-diskette':0xe65f,
'pe-7s-date':0xe660,
'pe-7s-cup':0xe661,
'pe-7s-culture':0xe662,
'pe-7s-crop':0xe663,
'pe-7s-credit':0xe664,
'pe-7s-copy-file':0xe665,
'pe-7s-config':0xe666,
'pe-7s-compass':0xe667,
'pe-7s-comment':0xe668,
'pe-7s-coffee':0xe669,
'pe-7s-cloud':0xe66a,
'pe-7s-clock':0xe66b,
'pe-7s-check':0xe66c,
'pe-7s-chat':0xe66d,
'pe-7s-cart':0xe66e,
'pe-7s-camera':0xe66f,
'pe-7s-call':0xe670,
'pe-7s-calculator':0xe671,
'pe-7s-browser':0xe672,
'pe-7s-box2':0xe673,
'pe-7s-box1':0xe674,
'pe-7s-bookmarks':0xe675,
'pe-7s-bicycle':0xe676,
'pe-7s-bell':0xe677,
'pe-7s-battery':0xe678,
'pe-7s-ball':0xe679,
'pe-7s-back':0xe67a,
'pe-7s-attention':0xe67b,
'pe-7s-anchor':0xe67c,
'pe-7s-albums':0xe67d,
'pe-7s-alarm':0xe67e,
'pe-7s-airplay':0xe67f,
'pe-7s-cash':0xe68c,
'pe-7s-bluetooth':0xe68d,
'pe-7s-way':0xe68e,
'pe-7s-id':0xe68f,
'pe-7s-wristwatch':0xe690,
'pe-7s-world':0xe691,
'pe-7s-volume':0xe692,
'pe-7s-users':0xe693,
'pe-7s-user-female':0xe694,
'pe-7s-up-arrow':0xe695,
'pe-7s-switch':0xe696,
'pe-7s-scissors':0xe697,
'pe-7s-safe':0xe698,
'pe-7s-right-arrow':0xe699,
'pe-7s-plug':0xe69a,
'pe-7s-pin':0xe69b,
'pe-7s-paperclip':0xe69c,
'pe-7s-note2':0xe69d,
'pe-7s-network':0xe69e,
'pe-7s-mute':0xe69f,
'pe-7s-medal':0xe6a0,
'pe-7s-like2':0xe6a1,
'pe-7s-left-arrow':0xe6a2,
'pe-7s-key':0xe6a3,
'pe-7s-joy':0xe6a4,
'pe-7s-film':0xe6a5,
'pe-7s-disk':0xe6a6,
'pe-7s-delete-user':0xe6a7,
'pe-7s-bottom-arrow':0xe6a8,
'pe-7s-add-user':0xe6a9
};

0 comments on commit d6ecf6f

Please sign in to comment.