forked from FOSS/BangleApps
updated layout tests
parent
1c73440aff
commit
ad038d4c34
|
@ -1,6 +1,7 @@
|
|||
var BTN2 = 1, BTN3=2;
|
||||
process.env = process.env;process.env.HWVERSION=1;
|
||||
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: [
|
||||
{type:"txt", font:"6x8", label:"A test"},
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
var BTN2 = 1, BTN3=2;
|
||||
process.env = process.env;process.env.HWVERSION=1;
|
||||
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: [
|
||||
{type:"txt", font:"6x8", label:"A test"},
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
var BTN2 = 1, BTN3=2;
|
||||
process.env = process.env;process.env.HWVERSION=1;
|
||||
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
|
||||
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 |
Loading…
Reference in New Issue