1
0
Fork 0

updated layout tests

master
Gordon Williams 2022-05-04 11:22:23 +01:00
parent 1c73440aff
commit ad038d4c34
5 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,7 @@
var BTN2 = 1, BTN3=2; var BTN2 = 1, BTN3=2;
process.env = process.env;process.env.HWVERSION=1; process.env = process.env;process.env.HWVERSION=1;
g = Graphics.createArrayBuffer(240,240,4); g = Graphics.createArrayBuffer(240,240,4);
Bangle.appRect = {x:0,y:0,w:240,h:240,x2:239,y2:239};
var layout = new Layout({ type: "v", c: [ var layout = new Layout({ type: "v", c: [
{type:"txt", font:"6x8", label:"A test"}, {type:"txt", font:"6x8", label:"A test"},

View File

@ -1,6 +1,7 @@
var BTN2 = 1, BTN3=2; var BTN2 = 1, BTN3=2;
process.env = process.env;process.env.HWVERSION=1; process.env = process.env;process.env.HWVERSION=1;
g = Graphics.createArrayBuffer(240,240,4); g = Graphics.createArrayBuffer(240,240,4);
Bangle.appRect = {x:0,y:0,w:240,h:240,x2:239,y2:239};
var layout = new Layout({ type: "v", c: [ var layout = new Layout({ type: "v", c: [
{type:"txt", font:"6x8", label:"A test"}, {type:"txt", font:"6x8", label:"A test"},

View File

@ -1,6 +1,7 @@
var BTN2 = 1, BTN3=2; var BTN2 = 1, BTN3=2;
process.env = process.env;process.env.HWVERSION=1; process.env = process.env;process.env.HWVERSION=1;
g = Graphics.createArrayBuffer(240,240,4); g = Graphics.createArrayBuffer(240,240,4);
Bangle.appRect = {x:0,y:0,w:240,h:240,x2:239,y2:239};
/* When displaying OSD buttons on Bangle.js 1 we should turn /* When displaying OSD buttons on Bangle.js 1 we should turn
the side buttons into 'soft' buttons and then use the physical the side buttons into 'soft' buttons and then use the physical

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB