Gordon Williams
9c94cb9754
Bangle.js: E.showPrompt now resets background color before clearing the screen
2023-05-19 16:36:59 +01:00
Gordon Williams
b6f8105b63
Bangle.js2: Ensure that changing a menu item when half-scrolled off screen doesn't overwrite widgets
2023-04-05 10:47:19 +01:00
Gordon Williams
9568516412
Bangle.js2: Fix regression in E.showMenu so you can use menu items with ':undefined' (as in the example in the reference)
2023-02-20 16:23:04 +00:00
Gordon Williams
2aa394040c
Bangle.js2: Fix scroller overlap with widget bar when scrolled more than the screen's height in one step
2022-12-14 10:50:51 +00:00
Gordon Williams
4adadf7b26
formatting
2022-12-08 10:48:38 +00:00
Gordon Williams
84675e4368
Bangle.js1: Bangle.setUI({back}) now responds to BTN3 if there were no other watches on buttons
2022-12-07 08:19:56 +00:00
Gordon Williams
2d3c34ef7c
Bangle.js1/2: Fix showMenu/showScroller spacing with back if no widgets loaded (ref #2286 )
2022-12-05 16:35:01 +00:00
Gordon Williams
039ffb5441
Bangle.js2: setUI(updown/leftright) now responds to button on falling (not rising) edge
2022-12-01 10:29:06 +00:00
Martin Boonk
9fa477a69a
E.showScroller_Q3 - Give coordinates in item to select callback
2022-11-16 12:11:31 +01:00
Gordon Williams
512b4daadc
Bangle.js: setUI now calls g.reset(), and also protects against recursion in uiRemove
2022-11-15 10:43:58 +00:00
Martin Boonk
df5472ef33
Remove checking for default app during Bangle.load()
2022-11-11 12:32:42 +01:00
Martin Boonk
87f9d9a23d
Merge remote-tracking branch 'upstream/master' into loading
2022-11-11 12:26:51 +01:00
Martin Boonk
6969b2818c
Load default app on Bangle.load()
2022-11-10 23:11:24 +01:00
Martin Boonk
be4eca105c
Adds Bangle.load and Bangle.showClock methods
2022-11-10 22:33:13 +01:00
Martin Boonk
3e907b70c6
Merge remote-tracking branch 'upstream/master' into remove
2022-11-10 19:06:37 +01:00
Gordon Williams
9bc7bedf34
Merge branch 'master' into widgetsclear
2022-11-10 09:23:07 +00:00
Gordon Williams
42b6dbe8ad
Actually fix showPrompt after last change. Turns out the CI tests are useful after all!
2022-11-09 12:09:26 +00:00
Gordon Williams
7374b6cd10
Fix regression caused by removing 'touch' event type in setUI
2022-11-09 11:39:08 +00:00
Gordon Williams
83d485e076
Bangle.js 2: Bangle.setUI remove unused 'touch' mode, ensure 'back' button doesn't overlap if button is already used ( fix #2287 )
...
Also fix https://github.com/espruino/EspruinoDocs/issues/682
2022-11-09 10:32:43 +00:00
Martin Boonk
d3d3615ab3
Implement passing through remove methods for E.show*
2022-11-07 23:55:59 +01:00
Martin Boonk
64958d3e65
Only clear if widgets with width>0 exist
2022-11-07 23:28:43 +01:00
Gordon Williams
4bb70240fc
Bangle.js: showLauncher's 'fast load' now updates __FILE__
2022-10-28 12:03:18 +01:00
Gordon Williams
5be68a80ba
Slightly faster, cleaner, Bangle.drawWidgets code
2022-10-28 11:35:11 +01:00
Martin Boonk
9866d79153
Fix using not defined variable if uiRemove is available
2022-10-21 12:50:22 +02:00
Martin Boonk
01829f9de4
Fix errors when no launcher is installed
2022-10-21 12:21:13 +02:00
Martin Boonk
cba50deac1
Remove reads and store found launcher in settings file
2022-10-21 12:03:56 +02:00
Martin Boonk
0b2308338a
Use configured launcher if available
2022-10-20 21:45:26 +02:00
Martin Boonk
f70cb81139
Remove Bangle.CLOCK variable on setUI()
2022-10-06 21:56:08 +02:00
Gordon Williams
0e4dcbd3f3
Add support for Bangle.setUI({remove:...}) to allow apps to be unloaded without a full reboot.
2022-09-23 11:52:54 +01:00
Gordon Williams
9327f504c7
Bangle.js: Ensure E.showMessage background color comes from theme
...
ref https://github.com/espruino/BangleApps/pull/2025
2022-07-06 11:14:06 +01:00
Gordon Williams
8458dfde3c
Bangle.js2: Fix text size on buttons when they are tapped in E.showPrompt
2022-07-01 12:03:11 +01:00
Gordon Williams
4edb72a8f7
Bangle.js2: Fix exception when using 'back' and physical button with Bangle.setUI (fix https://github.com/espruino/BangleApps/issues/1904 )
2022-06-09 09:50:24 +01:00
Gordon Williams
728fe64c50
Bangle.js: Allow E.showMenu to be given an array and title option ( fix #2175 )
2022-06-08 14:18:23 +01:00
Gordon Williams
4767f2bb20
Bangle.js: Rename default locale to 'system' (from 'en_GB')
2022-06-07 16:31:26 +01:00
Gordon Williams
175311e3b4
Bangle.js: Change default distance units to m,km (from m,miles) ( fix #2209 , fix #2210 )
2022-06-07 16:11:39 +01:00
Gordon Williams
4acac94c03
js for https://github.com/espruino/Espruino/pull/2199
2022-05-24 09:38:37 +01:00
storm64
1fee1b2045
[Bangle.setUI] Change to clock property
...
Feature added to Bangle.setUI reference.
@gfwilliams please update the .min.js-files,
2022-05-24 07:39:06 +02:00
storm64
531c08e64c
[Bangle.setUI] Default btnWatches on clockcustom
...
While thinking about this new mode, I would suggest the default btn behavior should represent the "clock" mode.
The .min.js need to be regenerated...
2022-05-21 12:59:31 +02:00
storm64
b5c79079f0
[Bangle.setUI] Add "clockcustom" mode
...
Think this might be useful for more complex clocks.
For now it would be necessary to set `Bangle.CLOCK = 1` manually after a custom setUI to show other apps that a clock is used.
2022-05-21 12:44:38 +02:00
Gordon Williams
d9f23f46b3
Really fix recent regression with submenus - fix #2192
2022-05-16 15:03:52 +01:00
Richard de Boer
2cece5275d
Bangle.js2: fix E.showMenu redraw
...
2cd16032c37a0004f92be8d817502e198c0ebde5 missed updating a `s` to `l.scroller`
2022-05-08 15:21:53 +02:00
Gordon Williams
2cd16032c3
Bangle.js2: E.showMenu now returns 'scroller', format is called with a second argument, font in popup is scaled to fit ( fix #2190 )
2022-05-06 08:52:47 +01:00
Gordon Williams
1fe4c9c6fd
tweaks to #2188
2022-04-29 11:20:52 +01:00
storm64
16fcc94436
[E_showMenu_Q3] Add "Back" on boxed submenu
...
1. Add "Back"-Button on boxed selection submenu inside E_showMenu
2. Regenerated E_showMenu_Q3.min.js via IDE with "Closure Simple Optimizations"
3. Alter ChangeLog entry
2022-04-29 11:53:32 +02:00
storm64
7070a4cc3e
[E_showMenu_Q3] Add "Back" on list submenu
...
1. Add "Back"-Button on list selection submenu inside E_showMenu
2. Regenerated E_showMenu_Q3.min.js via IDE with "Closure Simple Optimizations"
3. Add ChangeLog entry
4. Readd ChangeLog entry for #2186
2022-04-29 11:40:56 +02:00
Gordon Williams
7c15a764a9
Add #2186 tweak to Bangle.js 1
2022-04-29 09:57:46 +01:00
Gordon Williams
ebd91718a1
Merge pull request #2186 from storm64/master
...
[E_showMenu_Q3.js] Add option to prevent scroller
2022-04-29 09:55:32 +01:00
Gordon Williams
c2b7260a25
Merge pull request #2187 from alessandrococco/locale-patch-1
...
[locale] Fix default dow and month functions
2022-04-29 09:53:18 +01:00
Alessandro Cocco
1612028b6e
[locale] Fix default dow and month functions
2022-04-29 10:18:25 +02:00
Richard de Boer
a14e6166c8
Bangle.js1: try harder to only show E.showMenu submenu for option lists
2022-04-28 20:29:23 +02:00