Commit Graph
20991 Commits
Author SHA1 Message Date
kkoenig1@optonline.comandRaphael Coeffic 0284a520fa keyboard changes
make window honor no focus.
2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic 551d7ae766 keyboard changes 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic ca5b6a121c Do not use lv_obj_create(nullptr) 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 64a834d584 Small cleanup 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 648d60948b Remove event bubbling 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 0f06fad706 Fix touch events 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 4fc2fc8ae6 Layers are only meant to backup the focus window 2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic 684a004f9e changes for keyboard processing. It is pretty good now. The next thing will be to do the numeric keyboard. Stay tuned 2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic a6a387a87c reduce redraw issues on screen change
fix crash when lvobj is already deleted, but events are still in the queue
2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 7f724c187d Fixed scrolling 2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic 2baf771c30 1. fix slider setValue and getValue.
2. add editMode processing so focus gets set on pressing slider.
3. fix right align of Static.  Clean up color processing
2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic d438525f72 Fix sliders with "getValue" begin null 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic f112e42282 Style fixes for TextEdit 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic b788bdb842 Use touch events only from LVGL 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 197d177a6c Add slider edit style 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 56a36968b7 Fix propagating focus from LVGL to libopenui 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic a079d3987c LVGL sliders 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 49ba2e46b2 Some more fixes related to scrolling 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic ba6f3dd9a2 Use LVGL scrolling events 2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic 014f7026af make buttons do the styling better. I still cant get text color right on focused items. 2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic 0328ab4a5a clean LVGL objects on Window::clear() 2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic b71cfcd8eb - fix window position functions to call lvgl 2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic af575f20f1 fix some lvgl lifetime management issues 2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic ee1cfdf987 fix some touch issues
update min screen on input changes
2022-06-11 15:13:11 +02:00
Malte LangermannandRaphael Coeffic e575d122a1 use the lvgl canvas buffer to directly draw on 2022-06-11 15:13:11 +02:00
Malte LangermannandRaphael Coeffic 79a2c3e28a fix warning 2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic 78f6adb6ea more files that were left out 2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic 56968f42fa more changes for lvgl sync. TextEdit is much better on coloring and eventing 2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic 2a85442708 added factory code, and the beginnings of styling 2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic 3d2b5bf460 move libopenui draw canvas to the back when switching screens 2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic bc961b7b8f fix changing height of a window 2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic 6b70baf63a 1. basic changes to mirror libopnui window hierararchy to lvgl object hierarchy
2. basic scroll support
3. Basic layer support (still pretty broken), multiple screen support
4. Preliminary impelemntation of TextEdit using lvgl.
5. Preliminary implementation of StaticText using lvgl.
6. Preliminary implementation of TextButton using lvgl.
2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic e538138ade made change to be able to use libopenui with lvgl as underlying lib 2022-06-11 15:13:11 +02:00
Peter Feerick 67787afc92 fix(cpn): Ext. mod DSMX not being read/written
Fixes #2014
2022-06-08 20:24:57 +10:00
Peter Feerick 10b16337ca chore(github): Add emoji to labels and missing ver
- Used  labels now have emoji and weren't automatically tagged
- v2.7.1 was missing from the list of options
2022-06-08 19:02:25 +10:00
Neil HorneandGitHub 33845b9def chore(cpn): Bump miniz to v2.2.0 (#2010)
* Install miniz v2.2.0 release over v1.15
* Update interfacing to miniz and compile miniz as a library
2022-06-08 12:38:40 +10:00
Neil HorneandGitHub 47a90ed38f feat(cpn): Add individual model save to yml (#1968)
- add save model(s) to context menu and toolbar
- new storage functions to support single model write
- modified yml storage format write functions
- default save directory is application sd card TEMPLATES
- model name used as default file name
2022-06-07 20:53:45 +10:00
Neil HorneandGitHub e173d5b448 feat(cpn): Prompt/option to insert if pasting onto existing model (#1976)
* Option to insert if pasting onto existing model

* Change button from Continue to Overwrite and message prompt wording
2022-06-07 17:55:16 +10:00
Neil HorneandGitHub 1964560774 feat(cpn): Add two more new model actions: template and prompt (#1963)
* Add new model actions to application settings

* Add new model prompt action

* Tweak wording

* Add new model action template

* Open individual model yml files

* Tidy up after importing template

* Add create default and edit to prompt options

* Fix edit mode to display the edit dialog after model creation when selected in settings
2022-06-07 17:53:03 +10:00
Neil HorneandGitHub cba4e07ce1 fix: Pot and slider warnings weren't being set properly on radio or syncing with Companion (#1981)
- fix Companion yaml model read and write
- B&W radios treat bit values the same as color to avoid unnecessary complication for Companion and radio conversions
- B&W radios default is therefore off for all pots and sliders
- B&W radios fix runtime warnings check
- all radios fix to save last pot or slider position when checked and mode AUTO on change of model or power off
- all radios do not display Pots Warning in model setup if no pots or sliders supported
2022-06-07 13:04:40 +10:00
Neil HorneandGitHub cd59eac89f feat(cpn): Allow opening of individual model yml files (#1959)
- parse the yaml file and if successful open as a new document in a Models and Settings window
- warn the user that no radio conversion has been possible as source radio flavour unknown
- populate radio settings with default values based on current radio profile
2022-06-07 10:50:21 +10:00
Eder NucciandGitHub 1e8ef179d6 feat(cpn): Reorder log graph line colors for better reading (#2001)
Yellow as the choice for the third line colour was nearly unreadable with a white background
2022-06-07 10:27:19 +10:00
RistoandGitHub 1d2bcf6ee7 Added lz4 in preparation for LVGL also to Ubuntu 2022-06-06 18:25:36 +02:00
RistoandGitHub 3684c766ec Added lz4 in preparation for LVGL 2022-06-06 18:25:30 +02:00
Neil HorneandGitHub 6448b907d0 fix(cpn): Prevent crashing due to malformed theme.yml files (#1970)
Malformed yaml theme files would cause Companion to crash without indication of fault.
2022-06-04 11:20:42 +10:00
Neil HorneandGitHub 077abf719d chore(cpn): read/write semver in model and radio yml files (#1977)
Companion part of #1695, making it so companion is not removing written semver
2022-06-04 11:09:39 +10:00
Ktr128andGitHub d70828579e fix: Frsky CAT01 negative altitude when going above 327 meters of takeoff height (#1974) 2022-06-01 14:24:51 +10:00
6b557e49ea USB-VCP no OFF if internal RF module is set to CRSF (#1957)
* Do not list OFF on VCP menu if internal RF module is set to CRSF to allow pass-through flashing.
Set USB-VCP automatically to CLI when CRSF mode is selected for internal module and it was previously OFF. Activate CLI when iCRSF is selected.

* Companion part

Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-05-30 22:14:08 +02:00
RistoandGitHub cff819ea0e fix: Add git 2.35.2 and later workaround for CVE-2022-24765 change
Thx to @pfeerick https://github.com/pfeerick/edgetx/pull/6/files
2022-05-26 15:08:29 +02:00
RistoandGitHub 8722d27c5e Split CMake does not need -DDISABLE_COMPANION=YES anymore 2022-05-26 14:43:21 +02:00