Commit Graph
100 Commits
Author SHA1 Message Date
philmozandGitHub 3a5aa3683f fix(color): special function 'Set Main Screen' settings not written to YAML file correctly (#5588) 2024-10-04 18:32:22 +10:00
philmozandGitHub 23233278bb chore: update sf/gf sort order from recent changes (#5590) 2024-10-04 18:31:42 +10:00
philmozandGitHub ea9c9cda62 fix(color): automatic switch and source selection in popup menus not working (#5582) 2024-10-04 18:30:47 +10:00
philmozandGitHub 14437cf777 fix(color): wrong selection order of model buttons on manage models page (#5567) 2024-09-30 09:44:50 +10:00
philmozandGitHub c1c600cf35 feat(color): enhancements and fixes for Lua LVGL API (#5558)
New:
line and triangle primitives
message popup dialog
expose buttons for for font, alignment, color, timer, switch and source pickers
generic popup dialog that can be filled with other things
lvgl.isAppMode() function to let widgets know when app mode is active
additional containers for creating layouts (box and setting)
flex layouts

Fixes:
colors are updated when theme changes
fix memory leaks when stand alone scripts close
run stand alone scripts in a separate Lua state and use lua_pcallk() to prevent cross boundary errors (color only)
2024-09-30 09:41:48 +10:00
philmozandGitHub 471f87fc2a feat(bw128): show trim name in top bar when editing FM trim value (#5559) 2024-09-30 09:39:34 +10:00
philmozandGitHub 0b16dee15f feat(bw): add collapsable sections to B&W radio setup tab (#5529) 2024-09-30 09:35:45 +10:00
philmozandGitHub 2bd62c95c8 chore: update yaml_datastructs files (#5562) 2024-09-26 18:47:46 +10:00
philmozandGitHub edb04cc833 fix(color): full screen widget may not exit cleanly after calling lcd.exitFullScreen() (#5544) 2024-09-19 18:05:08 +10:00
philmozandGitHub ecc083001b chore(lua): remove redundant entries (#5535)
added in 5518
2024-09-16 09:46:03 +10:00
philmozandGitHub c9c1c34987 fix(bw128): adjust FlightModes tab layout to better fit values (#5536) 2024-09-16 09:44:57 +10:00
philmozandGitHub 349ae2e1c1 feat(color): keep screen options when changing layout (#5530) 2024-09-14 12:04:45 +10:00
philmozandGitHub 40449bf730 fix(color): incorrect font name in Lua API (#5531) 2024-09-14 10:52:39 +10:00
philmozandGitHub 6e706c4b1c feat(color): show global variable names in UI (#5526) 2024-09-11 16:24:40 +10:00
philmozandGitHub ecfa1e1b5b feat(color): add Slider & Choice widget option types (#5518) 2024-09-11 16:20:37 +10:00
philmozandGitHub c3ed4c1f1b feat(color): use curve select button on outputs edit page to match inputs and mixes (#5524) 2024-09-11 16:00:41 +10:00
philmozandGitHub 7c7074e0b3 chore(radio): exclude custom functions not relevant to handset (#5523) 2024-09-11 12:02:57 +10:00
philmozandGitHub 045ad32495 fix(color): curve button remaining in pressed state when editing input or mix (#5522) 2024-09-11 11:06:10 +10:00
philmozandGitHub 4f88ed4921 fix(radio): CS values may be read incorrectly from yaml (#5515) 2024-09-09 09:50:07 +10:00
philmozandGitHub f0238e519c chore(color): remove unused code (#5517) 2024-09-09 09:13:40 +10:00
philmozandGitHub 3ac8da2575 fix(color): use LVGL canvas for drawing standalone script UI (#5509) 2024-09-06 10:56:42 +10:00
philmozandGitHub 64e454646f fix(color): cleanup update/refresh/event handling (#5500) 2024-09-06 10:41:54 +10:00
philmozandGitHub 5e283b8823 fix(simu): incorrect key mappings for T12MAX, TPROS (#5505) 2024-09-05 11:17:26 +10:00
philmozandGitHub a35246b5fa fix(radio): a Lua script GF/SF continues to run after function changed (#5499) 2024-09-03 11:40:10 +10:00
philmozandGitHub 57aeb945bf fix(bw): enabling/disabling of GF/SF causing EM (#5498) 2024-09-03 10:36:54 +10:00
philmozandGitHub ee1d09e15b fix(color): Value widget not showing date or GPS telemetry sensors (#5495) 2024-09-03 10:36:36 +10:00
philmozandGitHub 2be160f1d2 fix(radio): multiplex setting is not valid for 1st line in a mix (#5465) 2024-08-26 20:53:55 +10:00
philmozandGitHub 262edf1a6b fix(color): portrait layout issues (#5474) 2024-08-26 20:22:05 +10:00
e0a3097620 feat(radio): sort global/special function names (#5429)
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2024-08-23 11:57:05 +10:00
philmozandGitHub e0ec49d84e chore(radio): remove EEPROM macros and related code (#5461) 2024-08-22 10:32:16 +10:00
philmozandGitHub 8cfa5b4846 chore: inconsistencies in yaml conversion files (#5460)
- some radios without rotary encoders storing rotenc settings
- x12s and x10s datastructs were identical
2024-08-22 10:06:43 +10:00
philmozandGitHub 78d23ba2b9 chore(radio): reduce FLASH size by using symmetry of sine values (#5463) 2024-08-20 11:30:27 +10:00
philmozandGitHub add61daa70 feat(color): adjust font size of text in Choice box to fit (#5458) 2024-08-20 10:21:13 +10:00
philmozandGitHub 5ca2419e0d chore: replace f_puts and f_printf functions to save FLASH space (#5459) 2024-08-20 09:51:06 +10:00
philmozandGitHub 06db4c7989 fix(lua): radio tries to run 'nil' script if SF disabled (#5457) 2024-08-19 09:01:33 +10:00
philmozandGitHub 79234ccafc chore(radio): cleanup code for isSourceAvailable functions (#5440) 2024-08-18 20:30:37 +10:00
philmozandGitHub 01869444c8 chore: fix some compiler warnings when building firmware (#5453) 2024-08-18 11:57:11 +10:00
philmozandGitHub f40ff60b55 fix(color): input edit preview refresh, missing switch display (#5449) 2024-08-17 21:20:52 +10:00
philmozandGitHub f865578b42 fix(simulator): SourceNumberEdit not working on Windows (#5450) 2024-08-17 19:09:03 +10:00
philmozandGitHub ea07680b2a fix(color): refresh issues on Input edit page (#5447) 2024-08-17 10:05:34 +10:00
philmozandGitHub 7e7deb21dc feat: new SF GV Adjust mode to copy source (instead of %) value (#5406) 2024-08-16 08:32:12 +10:00
philmozandGitHub 102471751f feat: allow an 'input' as the source for weight, offset and curve in input line (#5418) 2024-08-14 20:19:50 +10:00
philmozandGitHub 0594dab1f3 fix(bw): cannot select all numeric values for some fields (#5420) 2024-08-13 20:02:17 +10:00
philmozandGitHub 011397c4de feat(lua): add lvgl.page(), add optional parent property to lvgl.build() (#5407) 2024-08-13 11:26:50 +10:00
philmozandGitHub 5208124650 feat(color): scroll menu bar so selected tab icon always visible (#5412) 2024-08-13 10:38:28 +10:00
philmozandGitHub 8443b50aef fix(bw): LONG press RTN to exit Lua script closes tools menu (#5417) 2024-08-12 10:37:02 +10:00
philmozandGitHub c18f35894a fix(bw): two blank lines where cursor disappears on MT12 trainer page (#5416) 2024-08-12 10:22:38 +10:00
philmozandGitHub 567da86582 fix(color): fullscreen dialog may appear over the main view UI (#5409) 2024-08-12 10:11:24 +10:00
eea9b85f9f fix(bw): ignore short/long press of ENTER if cursor on menu line (#5404)
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2024-08-09 10:45:14 +10:00
philmozandGitHub 317bb052bc fix(lua): widget background function not always run when offscreen (#5399) 2024-08-09 10:44:44 +10:00
philmozandGitHub 3f04b19113 fix(color): view refresh issues after opening telemetry sensor edit page (#5408) 2024-08-09 08:16:49 +10:00
philmozandGitHub eda4e6b9e1 fix(bw): change char selection order when editing names (#5390) 2024-08-08 14:51:23 +10:00
philmozandGitHub 5e745df8c1 fix(bw): unable to select GV as source for weight/offset/curve in input/mix (#5386) 2024-08-07 20:07:36 +10:00
philmozandGitHub 48977acfc4 fix(color): use TIMERS value instead of assuming always 3 (#5391) 2024-08-07 19:24:11 +10:00
philmozandGitHub ebe7414bec feat(color): add long press menu for directories in SD browser (#5388) 2024-08-07 19:22:30 +10:00
philmozandGitHub e8aad3b33e fix(cpn): simulator crashes in SD browser (#5387) 2024-08-06 11:46:25 +10:00
philmozandGitHub 3c2048731f chore: RU translation for 'Widget size' (#5389) 2024-08-06 11:45:24 +10:00
philmozandGitHub 53628a386f fix(color): main view layout, lua widget display issues (#5382) 2024-08-05 15:23:13 +10:00
philmozandGitHub c003cb4295 feat(color): allow up to 10 widget options (#5365) 2024-08-05 15:14:44 +10:00
philmozandGitHub 4a0308a46f feat(color): delay load images in SD browser, show 'Loading...' msg (#5376) 2024-08-05 10:55:07 +10:00
philmozandGitHub 181a47e73c feat(color): show widget name in settings popups (#5372)
And highlight currently selected widget in selection menu.
2024-08-05 10:52:07 +10:00
philmozandGitHub d8e4185e31 fix(color): min/max highlight in output list swapped if inverted (#5367)
Use code from output edit page to highlight min/max values on output list page for consistency
2024-08-05 10:40:54 +10:00
philmozandGitHub 992d2dd3b4 fix(color): ensure script loaded when Lua Script SF enabled (#5371) 2024-08-05 10:32:41 +10:00
philmozandGitHub 3627193e61 feat(color): add confirmation to 'Add all Trims to subtrims' button (#5374) 2024-08-05 10:09:48 +10:00
philmozandGitHub de8dc70806 fix(color): crash if radio shut down on some menu pages (#5379) 2024-08-05 09:56:23 +10:00
philmozandGitHub 5254c8c646 fix(color): display only GV name in mix/input overview when used for weight (#5366)
Also fix EL18 mixer edit layout.
2024-08-05 09:55:08 +10:00
philmozandGitHub 4b978c347d fix(color): flickering Lua widgets when full screen is refreshed (#5364) 2024-08-05 09:27:25 +10:00
af1a29de29 chore(color): move widgets_container_impl.h to mainview folder (#5373)
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
2024-08-04 13:20:16 +10:00
philmozandGitHub 5e832254a7 chore(color): use padding values for flight mode button matrix layout (#5362) 2024-08-02 14:28:23 +10:00
philmozandGitHub 2eee7cd011 chore: re-organise source files for color LCD UI (#5358) 2024-08-02 08:50:55 +10:00
philmozandGitHub 2f8618803b feat(radio): sticky LS bold when set, color LS list display bold like BW (#5357) 2024-08-01 19:45:26 +10:00
philmozandGitHub 23df4f63bb chore(color): color UI code cleanup - round 3 (#5351) 2024-08-01 10:05:52 +10:00
philmozandGitHub bdfb94ae83 feat: add precision setting for mix delay up & down (#5314) 2024-07-29 20:07:58 +10:00
philmozandGitHub e323bd6821 fix(radio): ensure customisable switch set as Toggle starts in OFF state (#5343) 2024-07-29 19:56:23 +10:00
philmozandGitHub 18e777a18c fix(color): restore CHANGED event handler for Choice class (#5338)
Caused currently configured protocol to not be shown for MPM on colorlcd
2024-07-29 18:35:43 +10:00
philmozandGitHub ff4b2157da fix(color): model select layout on T15 not full height (#5341) 2024-07-29 18:12:49 +10:00
philmozandGitHub 24732e200b fix(color): T15 curve preview, cleanup curve edit layout (#5329) 2024-07-29 09:34:06 +10:00
philmozandGitHub 0cc22c364d chore(bw): simplify navigation code (#5269) 2024-07-28 08:13:20 +10:00
philmozandGitHub faf0027818 feat(color): allow changing the size of topbar widgets (#5235) 2024-07-27 16:06:48 +10:00
4b917b762c feat: use any source for expo/weight/offset (#5220)
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
Co-authored-by: 3djc <3djc@gh.com>
Co-authored-by: elecpower <elecpower@users.noreply.github.com>
2024-07-26 20:51:21 +10:00
philmozandGitHub 86649cdca6 feat(bw128): allow long press to open curve edit without entering edit mode (#5320) 2024-07-25 18:35:03 +10:00
philmozandGitHub 0a264badda feat(cpn): add keys to T20 simulator for rotary encoder movement (#5268) 2024-07-08 21:40:57 +10:00
philmozandGitHub 0fc22a33c0 fix(bw): fixes and improvements for model setup page (#5256)
Fix: when the ENTER key is pressed on the center beep warning list to enter edit mode, the first value is also toggled (128x64).
Fix: 6POS switches are shown in center beep warning list (128x64).
Fix: disabled pots/sliders are shown in the center beep warning list.
Feat: hide the interactive checklist toggle if the checklist is disabled.
Feat: hide the throttle custom position settings if the throttle warning is disabled.
Feat: hide the throttle custom position value if the custom position check is disabled.
2024-07-07 11:52:34 +10:00
9789a9d8ea fix(color): restore previous 'Fullscreen' functionality and add new 'App mode' layout (#5248)
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
2024-07-06 06:55:12 +10:00
philmozandGitHub 1418e8792f fix(color): built in widgets not resizing properly when view decorations altered (#5247) 2024-07-05 09:48:40 +10:00
philmozandGitHub b31c52cb37 fix(bw): incorrect X-Lite navigation selection (#5244) 2024-07-04 18:43:09 +10:00
philmozandGitHub cdb311435e fix(el18): restore direct drawing capability for battery charging display (#5237) 2024-07-02 18:11:24 +10:00
philmozandGitHub 4d29d5dbae feat(color): additions to LVGL for Lua scripts (#5179) 2024-07-01 09:07:18 +10:00
philmozandGitHub 675ef972a5 chore(build): simplify the CHKSIZE macros (#5225) 2024-06-30 18:46:40 +10:00
philmozandGitHub d8d6f671c2 fix(color): block radio startup until checklist is closed (#5227)
Which includes preventing internal and external RF from being active
2024-06-30 11:55:09 +10:00
philmozandGitHub cc42517646 fix(color): crash when changing 'Mode' for 'Adjust' SF (#5219) 2024-06-27 09:03:44 +10:00
philmozandGitHub 0d6d35ef02 fix(color): standalone Lua syntax errors or missing run() may cause EM (#5212) 2024-06-23 18:46:36 +10:00
0d9215a418 fix(color): choice button being skipped when using rotary encoder (#5211)
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
2024-06-22 22:10:00 +10:00
philmozandGitHub 5c422581ca fix(color): issues with menus (possible EM, double loading of content) (#5208) 2024-06-22 12:05:39 +10:00
philmozandGitHub 139a09685e fix(color): first button press on widget settings page may not register (#5206) 2024-06-21 14:11:20 +10:00
philmozandGitHub d84a78cc1d fix(radio): issues with rotary encoder (#5194)
- detection of initial direction of encoder after startup
- change of direction issue on radios with incorrectly wired encoder
- handle all wiring variations (without needing special #defines)
- handle the case when the radio is started with the encoder not on a detent position
2024-06-21 12:00:44 +10:00
philmozandGitHub cc630033b8 fix(color): issues with color picker dialog (#5204) 2024-06-21 11:44:57 +10:00
philmozandGitHub b8dc50562e fix(color): wrong file chooser icon, portrait layout and other (#5201) 2024-06-21 09:57:03 +10:00
philmozandGitHub 48c0a405f7 fix(color): radio stuck when trying to close nested standalone script (#5200) 2024-06-20 18:41:13 +10:00
philmozandGitHub e7509349b3 chore(color): more layout cleanup and minor bug fixes (#5171) 2024-06-17 05:40:08 +00:00