From 1ed68a4d418e2392444b218b2eb126bd05caa31f Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Sat, 8 Oct 2016 20:41:07 -0600 Subject: [PATCH] Debug --- appinfo.json | 123 ------------------------------ package.json | 131 ++++++++++++++++++++++++++++++++ resources/images/icon.png | Bin 973 -> 905 bytes src/{ => c}/main.c | 77 ++++++++++++++----- src/{ => c}/settings.h | 0 src/{ => pkjs}/pebble-js-app.js | 0 6 files changed, 190 insertions(+), 141 deletions(-) delete mode 100644 appinfo.json create mode 100644 package.json rename src/{ => c}/main.c (71%) rename src/{ => c}/settings.h (100%) rename src/{ => pkjs}/pebble-js-app.js (100%) diff --git a/appinfo.json b/appinfo.json deleted file mode 100644 index af4583f..0000000 --- a/appinfo.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "appKeys": { - "color_bg": 1, - "color_date": 2, - "color_time": 3, - "font": 0 - }, - "capabilities": [ - "configurable" - ], - "companyName": "dartcatcher@gmail.com", - "enableMultiJS": false, - "longName": "Twatch Fonts", - "projectType": "native", - "resources": { - "media": [ - { - "file": "images/icon.png", - "menuIcon": true, - "name": "ICON", - "targetPlatforms": null, - "type": "bitmap" - }, - { - "characterRegex": "[\uf10b]", - "file": "fonts/fontawesome.ttf", - "name": "FONT_SYMBOLS_52", - "targetPlatforms": null, - "type": "font" - }, - { - "characterRegex": "[0-9A-Za-z\u00e9\u00f4 ]", - "file": "fonts/Ubuntu-Regular.ttf", - "name": "FONT_UBUNTU_R_28", - "targetPlatforms": null, - "type": "font" - }, - { - "characterRegex": "[0-9:]", - "file": "fonts/Ubuntu-Bold.ttf", - "name": "FONT_UBUNTU_B_48", - "targetPlatforms": [ - "aplite", - "basalt" - ], - "type": "font" - }, - { - "characterRegex": "[0-9:]", - "file": "fonts/Ubuntu-Bold.ttf", - "name": "FONT_UBUNTU_B_64", - "targetPlatforms": [ - "chalk" - ], - "type": "font" - }, - { - "characterRegex": "[0-9A-Za-z\u00e9\u00f4 ]", - "file": "fonts/Helvetica-Regular.ttf", - "name": "FONT_HELVETICA_R_28", - "targetPlatforms": null, - "type": "font" - }, - { - "characterRegex": "[0-9:]", - "file": "fonts/Helvetica-Bold.ttf", - "name": "FONT_HELVETICA_B_48", - "targetPlatforms": [ - "aplite", - "basalt" - ], - "type": "font" - }, - { - "characterRegex": "[0-9:]", - "file": "fonts/Helvetica-Bold.ttf", - "name": "FONT_HELVETICA_B_64", - "targetPlatforms": [ - "chalk" - ], - "type": "font" - }, - { - "characterRegex": "[0-9A-Za-z\u00e9\u00f4 ]", - "file": "fonts/AveriaSerif-Regular.ttf", - "name": "FONT_AVERIA_R_28", - "targetPlatforms": null, - "type": "font" - }, - { - "characterRegex": "[0-9:]", - "file": "fonts/AveriaSerif-Bold.ttf", - "name": "FONT_AVERIA_B_48", - "targetPlatforms": [ - "aplite", - "basalt" - ], - "type": "font" - }, - { - "characterRegex": "[0-9:]", - "file": "fonts/AveriaSerif-Bold.ttf", - "name": "FONT_AVERIA_B_64", - "targetPlatforms": [ - "chalk" - ], - "type": "font" - } - ] - }, - "sdkVersion": "3", - "shortName": "Twatch Fonts", - "targetPlatforms": [ - "aplite", - "basalt", - "chalk" - ], - "uuid": "2dce4324-374b-4e5e-9b98-3275561118f3", - "versionLabel": "1.4", - "watchapp": { - "watchface": true - } -} diff --git a/package.json b/package.json new file mode 100644 index 0000000..5e32c3d --- /dev/null +++ b/package.json @@ -0,0 +1,131 @@ +{ + "author": "dartcatcher@gmail.com", + "dependencies": {}, + "keywords": [], + "name": "twatch-fonts", + "pebble": { + "capabilities": [ + "configurable" + ], + "displayName": "Twatch Fonts", + "enableMultiJS": false, + "messageKeys": { + "color_bg": 1, + "color_date": 2, + "color_time": 3, + "font": 0 + }, + "projectType": "native", + "resources": { + "media": [ + { + "file": "images/icon.png", + "menuIcon": true, + "name": "ICON", + "targetPlatforms": null, + "type": "bitmap" + }, + { + "characterRegex": "[\uf10b]", + "file": "fonts/fontawesome.ttf", + "name": "FONT_SYMBOLS_52", + "targetPlatforms": null, + "type": "font" + }, + { + "characterRegex": "[0-9A-Za-z\u00e9\u00f4 ]", + "file": "fonts/Ubuntu-Regular.ttf", + "name": "FONT_UBUNTU_R_28", + "targetPlatforms": null, + "type": "font" + }, + { + "characterRegex": "[0-9:]", + "file": "fonts/Ubuntu-Bold.ttf", + "name": "FONT_UBUNTU_B_64", + "targetPlatforms": [ + "chalk" + ], + "type": "font" + }, + { + "characterRegex": "[0-9:]", + "file": "fonts/Ubuntu-Bold.ttf", + "name": "FONT_UBUNTU_B_48", + "targetPlatforms": [ + "aplite", + "basalt", + "diorite" + ], + "type": "font" + }, + { + "characterRegex": "[0-9A-Za-z\u00e9\u00f4 ]", + "file": "fonts/Helvetica-Regular.ttf", + "name": "FONT_HELVETICA_R_28", + "targetPlatforms": null, + "type": "font" + }, + { + "characterRegex": "[0-9:]", + "file": "fonts/Helvetica-Bold.ttf", + "name": "FONT_HELVETICA_B_64", + "targetPlatforms": [ + "chalk" + ], + "type": "font" + }, + { + "characterRegex": "[0-9:]", + "file": "fonts/Helvetica-Bold.ttf", + "name": "FONT_HELVETICA_B_48", + "targetPlatforms": [ + "aplite", + "basalt", + "diorite" + ], + "type": "font" + }, + { + "characterRegex": "[0-9A-Za-z\u00e9\u00f4 ]", + "file": "fonts/AveriaSerif-Regular.ttf", + "name": "FONT_AVERIA_R_28", + "targetPlatforms": null, + "type": "font" + }, + { + "characterRegex": "[0-9:]", + "file": "fonts/AveriaSerif-Bold.ttf", + "name": "FONT_AVERIA_B_64", + "targetPlatforms": [ + "chalk" + ], + "type": "font" + }, + { + "characterRegex": "[0-9:]", + "file": "fonts/AveriaSerif-Bold.ttf", + "name": "FONT_AVERIA_B_48", + "targetPlatforms": [ + "aplite", + "basalt", + "diorite" + ], + "type": "font" + } + ] + }, + "sdkVersion": "3", + "targetPlatforms": [ + "aplite", + "basalt", + "chalk", + "diorite" + ], + "uuid": "2dce4324-374b-4e5e-9b98-3275561118f3", + "watchapp": { + "watchface": true + } + }, + "version": "1.5.0" +} diff --git a/resources/images/icon.png b/resources/images/icon.png index 38745667df937045963cae21ae817b735917abf9..0ebb31154ab4d67be95dacac127b0aba2ec1d8ec 100644 GIT binary patch delta 872 zcmV-u1DE{G2Z;wEiBL{Q4GJ0x0000DNk~Le0000P0000P2nGNE0L1BqW04^+f8YuT z6%{(Zz~4~-00S0DL_t(Y$GuiPODjzje&%DdD@G#M^sVD z00@GhZ!wNzkbj<_)*4DF2q6Ffe*yrnuCCDScHM^4(^CL|QVQ1Ei5=|j?&9F!0G{XN zizM0UbQp#q!!TsG+a*a}TwHKQ$sDtZ z)bl)^pPw^|B4-mMd3bop<>h7e5_6Iy2_GLHDW#mq(V&Qe!b&MfDUl=ze@Ma@gHoxK z7fuKWA%0AT@B8NG=W})efVCFZ+KCO0BS;S=WLY-cCsK}YogfHsa&qDf6k0g&JP(aV z1D#F>B$1{mTCEmjxm@luY^_DB)q=Ga#uzjj4M-_nX5DTVaU72g|S%zk_ z3H|l;g}1jigkgv@O|ibdf8GZ}tyV*pWj}&V2!SYy93nvwU}Iw=ugTKVl1qK?(BOZ$ zT!!!aBb^vyaCCIkH#vOYAHla?uNY%UlGa)Rpb%m#WtCDR>3e;Bov)K*wOSqGxwV!g zowJ|x$6z47@8{p;a(QHwgR-`^My>V46952ZyWJkDMGyqIzrX)qe-@1@`nWYc>Oh*N zL*u__Ql*rm=yyhqB94?2LWtan=Xpqy#2rf06xC|AuYZcMv$(j3t*tE=<CPeW@Bl8{A*E-WlyZf*{hN(FHo zqup);09IC3+^ty*yf}^#MUm_7@3q|7*}?PkGm7Aa5KuESGym=F?LkWE^ycOUudlDz z-rj~W2F4hdiBbxkP6sb9FR0h+Xf~U8czEb@c6)n^%gam5KF-dfR;xh-LBPR?JkNtt yYADhIKCSidM}iOt!*C>hOQjOxIEMHa@2+1LrI_u`j4HvIl*cN>N00UY{L_t(Y$L&@hDN3bMM~9sAUV$24OVqY)Y;SMt&9asyGffk%RtuizfrucbM7!Nay1!w?E5~VDEhL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