Commit Graph
33 Commits
Author SHA1 Message Date
Kevin KoenigandGitHub 8874711cb4 Keep highlighted row with lv_table on touch release (#2059) 2022-06-19 14:22:29 +02:00
kevinkoenigandRaphael Coeffic fb8c131a98 cleanup styles in number edit 2022-06-11 15:38:08 +02:00
kevin koenigandRaphael Coeffic 01c80f7868 fix possible race condition in lcdFlush 2022-06-11 15:38:08 +02:00
kevin koenigandRaphael Coeffic 60293ae763 fix focus editing outline globally in styles. 2022-06-11 15:38:08 +02:00
kevin koenigandRaphael Coeffic 0cbf0fbf6c move styles from textedit to theme 2022-06-11 15:38:08 +02:00
kevinkoenigandRaphael Coeffic 5e0cf9964a revert theme changes 2022-06-11 15:38:08 +02:00
kevinkoenigandRaphael Coeffic 5f72c46e9d beginnings of themes 2022-06-11 15:38:08 +02:00
kevinkoenigandRaphael Coeffic 751d1a0887 cleanup of all number edit display handlers. 2022-06-11 15:38:08 +02:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>Raphael Coeffic
2e5dbce2cb Fix removal of first mixer line rendering other mixes uneditable (#1163)
* fix 1100

* Delete mix line if it'S empty rather than hot-patching the list

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
2022-01-04 20:10:24 +10:00
Kevin KoenigandGitHub aac60a96df Part of dbd41d2, fixes breakage of themes list (#1247)
Listbox now explicitly captures touchEnd()
2021-12-13 15:30:27 +11:00
af87e2e365 [NV14] Fix mix channel monitor size (#1231)
* fix mix channel monitor size on nv14

* add right margin to mix channel monitor on nv14

* Rebase and revert libopenui change

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-12 19:27:36 +11:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>Peter Feerick
9694689067 [colorlcd] Sort Lua scripts before building UI in radio tools (#1150)
* sort lua scripts before building ui in radio tools

* Formatting

* Case insensitive sorting

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-05 23:50:52 +11:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>
71dd6bca89 More optimisations to Theme Editor (#1210)
* fix some minor issues

* 1. fixed issue with FullScreenDialog when over a window that processes onTouchStart
2.  Fixed Huse and RFB bar positioning
3. added the ability to pause the filecarosell
4. now when the Theme Browser isnt the top of the stack it pauses the FileCarosell.  Good for perf
5. Add more preview controls so all colors can be seen
6. Lots of little layout issues fixed

* layout changes for nv14

* fix listbox.  dont call selection handler if the newly selected item is the same as the selected one.

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
2021-12-05 12:09:08 +11:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>
67708725bd Fix GF focus issue, add channel bars to mixes edit screen, also #482 (#1074)
* fix issues:
#303
#307
#482

* move channel output display to top.  make it a multi channel bar.

* changed channel bar colors so they work in the mixer screen.  I dont like the choices of colors, but let me know what you think.

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
2021-11-27 21:27:08 +11:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>
6e63d2874b Theme Editor: Delay initial image load for 500ms to make UI more responsive (#1143)
Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
2021-11-25 12:17:33 +11:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>
a9abf028f7 Theme editor tweaks (#1066)
* 1. fixed color of lists to match menu popup as per JimB
2. added more controls to PreviewWindow() of theme editor

* 1. fixed issue with touch.  in theme list now if you touch, you must long press to get menu.  Enter works on short press
2. changed directory structure to new format, as per Issue #897
3. sorted theme list alphabetically and not by random order that the directory comes back in

* 1. make background image work correctly for new theme folder structure
2. sort theme names

* 1. fixed issues with touching previewwindow
2. fixed processing exit button on ThemeEditPage()

* fix focus issue in previewwindow

* layout enhancements for nv14

* more updates to layout

* fix nv14 issues.  Still havnt done performance optimization yet.  Lets merge first.

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
2021-11-20 22:54:24 +11:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>
9a795c4126 Move [outputs] "Trim => Subtrims" button to top, change btn text (#1076)
* partial implementation of 354

* implemented screen refresh and test update

* chaged add to move...after much discussion

* change move to add

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
2021-11-20 22:39:13 +11:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>Peter Feerick
7298f0ff00 Theme editor (#971)
* Add theme editor
- added theme editing support to radio
- color editing controls
- split screen into browser and editor
- removed dead code from coloreditor,
- new radio theme editing icon

* Resolve compile error & merge cleanup

* 1. fix exit key press in ThemeEditor.  It was not exiting screen
2. added ability to touch PageButton() on ColorEditPage()

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-11-15 12:36:56 +11:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>Peter Feerick
9cb6d73947 Implementation of Theme Switching and Persistence (#839)
* initial support for color theming using yml files in the THEME directory

* initial theming support using yml files (without yml support)

* fixed issues with themes actually working on radio.

* fix another issue with drive access

* more theme changes.  Added author, and info to display.  Also display an image of  the theme if it is present.

* theme files now support both RGB() and 0x syntax

* quick fix for possible variable overflow.

* more tweaks after JimB tested

* fixed layout issues with NV14 and also added word wrap correctly.

* added edgetx headers to new string functions.

* Whitespace / unused code cleanup

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-10-04 23:27:08 +11:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>Peter Feerick
2f65ec4c58 Lots of color fixes and screen enhancements (#833)
* consolidated all color fixes and screen enhancements into one new branch

* Bump libopenui

* enhanced telementry sensor display

* fix discover and add sensor buttons on NV14.

* changed quick menu to not use theme colors as per JimB.  Fixed telemetry buttons for NV14

* fix colors on trainer page

* Merge cleanup

* Update libopenui

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-09-29 22:27:11 +10:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>Peter Feerick
8f8374f3b9 Move sourcechoice and switchchoice to ChoiceEx implementation (#691)
* move sourcechoice and switchchoice to ChoiceEx implementation

* removed getTicks parameter from ChoiceEx.  Turns out it can just access timer directly

* clean up keyboard support for topbar.cpp, protect against crash in keyboard

* Switch back to edgetx libpenui and sync

* Formatting

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-09-13 17:09:13 +10:00
kevinkoenig 1ad865f08a Implement long touch to launch curves in mixes and inputs 2021-09-07 07:53:01 -04:00
kevinkoenig be4d252ea0 reversed keyboard icons 2021-09-05 09:37:26 -04:00
kevinkoenig f4f6b219e4 fixed compilation issue 2021-09-05 07:32:05 -04:00
kevinkoenig 3113a30b94 fixed file copyright to EdgeTx 2021-09-05 07:28:29 -04:00
Kevin KoenigandGitHub f2a379ac00 Merge branch 'main' into jump-curve 2021-09-04 07:52:42 -04:00
kevinkoenig 6a10c821eb implement long press to launch curves from input and mixes 2021-09-04 07:48:50 -04:00
kevinkoenig 46fbd1d9b8 implement long press on curve in mixes to launch edit of curve 2021-09-04 07:21:09 -04:00
Kevin KoenigGitHubkkoenig1@optonline.com <kkoenig1@optonline.com>Peter Feerick
32da77ce02 Fix MPM Protocol Sorting (#580)
* Fixed Protocol Sorting in model_setup.cpp

* update submodule for libopenui

* Fix potential compilation issue

* Fixed Protocol Sorting in model_setup.cpp

* fix merge issue

* Submodule libopenui back to edgetx master branch

* Reset to libopenui 5c70891
As this was the submodule at the time this branch was started.
This should remove it as a change in the PR.

* fixed an off by one error in the initialization of the sorted list.  When you selected the last protocol in the list it crashed.

* Reset to libopenui 5c70891
As this was the submodule at the time this branch was started.

Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-09-01 09:47:32 +10:00
Kevin KoenigandGitHub 9e41566ef4 Merge branch 'EdgeTX:main' into software-keyboard 2021-08-30 04:46:22 -04:00
kevinkoenig 8b5dd5a4ba fixed potential compilation issues 2021-08-30 04:36:20 -04:00
kevinkoenig 4d66260d39 updated branch in gitmodules 2021-08-29 09:20:23 -04:00
kevinkoenig 7ce9ec401f just committing 2021-08-29 09:20:22 -04:00