Commit Graph
11751 Commits
Author SHA1 Message Date
kevinkoenigandRaphael Coeffic 0429341528 fix checkbox check color to match theme 2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic ff4cde159e remove libopenui paint implementation for lvgl-elements 2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic a4bb55adc2 remove outline from numberedit 2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic 4206bf9e94 fix crash when exiting page with number edit
disable setting lvgl group focus
2022-06-11 15:13:11 +02:00
kevinkoenigandRaphael Coeffic ce8e7b67d0 checkbox implementation. almost right. it still needs some styling of the checkmark color. cant figure out how to make it happen 2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic a363e89fba prepared using the roller via lvgl 2022-06-11 15:13:11 +02:00
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
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
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
9070a5512b fix(colorlcd): Missing R9M Flex power option menu (#1880)
* Update model_setup.cpp

Adds R9M Flex (ACCST, non ACCESS) Power option GUI menu item, which is currently missing.

* Update model_setup.cpp

* R9M Flex power option menu for colorlcd

Adds power selection menu for R9M Flex  (ACCST, pre 2019) on colorlcd radios. Tested working on a tx16s.
https://github.com/EdgeTX/edgetx/issues/1187

* Just test for FCC variants

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-05-08 21:01:04 +10:00
Peter FeerickandGitHub b0e3cb015f feat(minor): Better showing of version info in firmware and cpn, remove seperate cpn32 build script (#1913)
* fix: Prevent potential wordsplitting of variables

* chore: Remove need for separate cpn 32bit script

* Build script tag/branch/PR auto-detection

* Teach companion about VERSION_TAG

* Update some constant names

* Only one companion build script

* Actually use `VERSION_SUFFIX` in about screen 🤦

* Add space

* Remove line that was only for testing 32bit build

* Remove hyphen between win and bits

* Show codename in Settings -> Version

* cpn: Only show codename on tagged versions

* Update about screen also

* Double quotes around codename on colorlcd

* Update copyright year

* About screen should use VERSION_TAG when set
2022-05-08 16:24:31 +10:00
eshifriandGitHub 5196c2a916 feat (colorlcd): Move input name together with input row content (#1940) 2022-05-08 15:58:51 +10:00
Raphael CoefficandGitHub 26262c4c92 fix: stack buffer overflow in PreviewWindow::drawTime (#1945) 2022-05-07 21:34:29 +10:00
Raphael CoefficandPeter Feerick 7806d5f892 Crossfire: add barometer altitude sensor 2022-05-07 19:25:17 +10:00
RistoandGitHub 60fbe5eddb fix(t16): Set the same highest brown-out threshold level for all T16 family radios (#1906)
* Set the same highest BOR level for all T16 family radios

* Add stm32f4xx_flash.c to T16 and T18
2022-05-04 20:38:07 +10:00
eshifriandGitHub 87021209b3 fix(colorlcd): EM crash when clearing Model Category name (#1897) (#1925)
* Merge branch 'main' into eshifri/preserve_current_rebase

* Initialize category name to zero. Without it KEY_ENTER adds garbage.
2022-05-04 18:15:24 +10:00
RistoandGitHub b9d9f61456 feat(T16,T18): Add support for USART6/AUX2, incl. internal GPS, if Bluetooth is not enabled (#1915)
Adds USART6/AUX2 support also to Jumper T16 & T18. TX and RX lines are accessible via internal FrSky Bluetooth module pads on the mainboard. The USART6/AUX2 serial port functionality is usable more generic on these radios as well and not limited to Bluetooth only.
E.g. radio GPS is supported after this change (as are further serial port modes).
Only if firmware is explicitly built with -DBLUETOOTH=YES, USART6 will be dedicated to Bluetooth (as is the case also e.g. with TX16S).
2022-05-01 13:38:40 +02:00