18 Commits

Author SHA1 Message Date
Gordon Williams
9b30f17227 Added jsvObjectGetChildIfExists to avoid the jsvObjectGetChild(... ,0) case - saves ~300b of flash space 2023-04-25 10:59:34 +01:00
qucchia
c5bb94bf7a Limit documentation comments to 80 characters (#2244) 2022-07-27 15:32:19 +02:00
Gordon Williams
4a7d30f4be Bangle.js: Add 'graphicsInternal' to make Graphics independent of JS vars. Terminal is now useful earlier, and can display softdevice errors 2022-01-31 16:35:38 +00:00
Gordon Williams
7326232fb3 fix build issues after last commit 2021-09-20 14:39:42 +01:00
Gordon Williams
1f3f580c5f Bangle.js: Add support for global colour themes which affect g.clear/g.reset 2021-05-26 11:02:07 +01:00
Gordon Williams
fa69d80f96 Bangle.js/Pixl.js: Ensure terminal is always the same color regardless of g.setColor() 2020-10-12 10:17:12 +01:00
Gordon Williams
56d1918f8d Pixl.js: fix self-test/terminal print - write to screen immediately after newline unless in IRQ 2020-05-15 10:14:26 +01:00
Gordon Williams
3751dc8453 Add terminal and lowres modes to emulator, and attempt to remove as many emscripten-related hacks as possible so we follow Bangle.js closely 2019-12-03 11:01:36 +00:00
Gordon Williams
041827718b Allow drawString with a filled background, which allows flickerless writing on non-double-buffered screens
fillRect now takes a color
2019-10-23 17:02:29 +01:00
Gordon Williams
2eb813d61a Graphics.setFont("4x6",2) will now double the size of a bitmap font 2019-09-23 17:33:00 +01:00
Gordon Williams
91c995b981 fix pixl build 2019-09-12 13:05:10 +01:00
Gordon Williams
c48bd6ffa3 only refresh terminal at idle 2019-09-02 12:51:02 +01:00
Gordon Williams
943cb76cef Added 'Graphics.getInstance()' for more platform independent graphics
Added VT100 'erase in Display' to Terminal
2018-05-22 09:36:36 +01:00
Gordon Williams
74c990e2f2 Fix Terminal partial updates (was one character behind) 2018-04-17 09:39:56 +01:00
Gordon Williams
dbe0d63ac6 Speed improvements for ArrayBuffer Graphics 2018-02-06 15:16:45 +00:00
Gordon Williams
f97deb4820 Adding useful terminal to Pixl.js 2018-02-06 14:28:25 +00:00
Gordon Williams
8b3a4ae3b3 adding auto-switch to terminal 2018-02-06 12:15:41 +00:00
Gordon Williams
2e0a7de035 Added 'Terminal' class with built-in VT100 terminal 2018-02-06 11:01:28 +00:00