diff --git a/apps/testUserInput/app.png b/apps/testUserInput/app.png new file mode 100644 index 000000000..c7ad0f43f Binary files /dev/null and b/apps/testUserInput/app.png differ diff --git a/apps/testUserInput/test_userInput.app.js b/apps/testUserInput/test_userInput.app.js index 09a187b5a..3ee8b5c0f 100644 --- a/apps/testUserInput/test_userInput.app.js +++ b/apps/testUserInput/test_userInput.app.js @@ -2,7 +2,7 @@ var colbackg='#111111'; //var coldarkred='#CC3333'; var colorange='#e56e06'; - var colgrey='#51504f'; + var colgrey='#f3f3f1' //'#51504f'; //lighter gray var v_font1size='16'; var v_clicks='0'; console.log("*** Test input interface ***"); @@ -20,7 +20,7 @@ function ClearBannerArea(){ function PrintUserInput(boton){ console.log("Pressed touch/BTN",boton); - if (v_clicks=='0') PrintAreas(); + if (v_clicks=='0') PrintAreas(); ClearBannerArea(); if (boton==' <---') { @@ -63,7 +63,6 @@ function PrintBtn2(boton){ v_clicks++; } - function PrintHelp(){ console.log("********************************"); console.log("Log: *** Print help in screen"); @@ -127,8 +126,10 @@ function UserInput(){ //Main code Bangle.loadWidgets(); Bangle.drawWidgets(); + //optional line below widgets area g.setColor(0,1,0); //green - g.drawLine(60, 30, 180, 30); //optional line below widgets area + g.drawLine(60, 30, 180, 30); g.flip(); + //end optional PrintHelp(); UserInput(); \ No newline at end of file diff --git a/apps/testUserInput/test_userInput.info b/apps/testUserInput/test_userInput.info deleted file mode 100644 index cc1447954..000000000 --- a/apps/testUserInput/test_userInput.info +++ /dev/null @@ -1 +0,0 @@ -{"id":"testuserInput","name":"Test User Input","src":"test_userInput.app.js","icon":"test_userInput.img","version":"0.02","files":"test_userInput.info,test_userInput.app.js,test_userInput.img"} \ No newline at end of file