Commit Graph
592 Commits
Author SHA1 Message Date
gagarinlgandRaphael Coeffic d58fbe8c86 fix simu compilation on linux 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 96d8022384 FormGroup::Line: split parent and form group 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 40268f8e52 button: Window parent instead of FormGroup 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic fc705d5d0b flex layout: grid col/row span 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 48c09fed25 text edit: default size to LV_DPI_DEF 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 6605e2cb1c static text: add getText() 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 603d9230c8 window: moved updateSize() from dialog 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic ae5d1759f1 portrait: size adjustments 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic cf8a532e2d coloredit: use LVGL color wheel 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic f473271f65 WiP: flex layout 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 22499d1c16 lvgl: use edgetx fork to allow for cherry-picked bug-fixes 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 6c8e8e5f98 dialog: add updateSize() method 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic aca4b074ab menu: fix height 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic a0e97c001d modal_window: implement title label 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 8761b423c6 checkbox: use lv_switch instead of lv_checkbox
`lv_checkbox` is actually a radio button with a mandatory label on the right side.
2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic a8c449c014 window: create "raw" windows with provided LVGL object 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 071c657a7f fix attempt at use-after-free
When a control which is focused is destroyed out-of-order, it gets a notification while it's user data it destroyed but not NULL.
2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 475d068521 static text: uses now LVGL label directly 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 502b37a19a fix potential null pointer access 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 29fcc8d0fd menu: center on screen / no minimum size 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic d64b024381 button: set focus before onPress()
onPress() might create a new window or change the focus.
2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic a20792a211 menu: added support for icons rather than custom draw function 2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic 44b508ebc8 fix not updated dynamic text 2022-06-11 15:13:11 +02:00
kevinkoenigandRaphael Coeffic 997515f0ee cleanup styles in numberedit 2022-06-11 15:13:11 +02:00
kevin koenigandRaphael Coeffic bf27d7d512 make static not focusable to fix most of the focus issues. change scroll handingine in event callback to make it more robust. see comments 2022-06-11 15:13:11 +02:00
kevin koenigandRaphael Coeffic 17910bc48c fix cursor positioning on reedit using keyboard ENTER 2022-06-11 15:13:11 +02:00
kevin koenigandRaphael Coeffic b4686686fc removing the call to lv_group_set_editing fixes keyboard focus. dont know what else it breaks. 2022-06-11 15:13:11 +02:00
kevin koenigandRaphael Coeffic 92cb885018 fix issue created when making button lvgl aware. First the lvgl event then the touchEnd event. Deleted touchEnd event code. 2022-06-11 15:13:11 +02:00
kevin koenigandRaphael Coeffic e97cb0a4dc cleanup filechoice 2022-06-11 15:13:11 +02:00
kevin koenigandRaphael Coeffic 52cab6fd7c cleanup static paint routine 2022-06-11 15:13:11 +02:00
kevin koenigandRaphael Coeffic fe0f5b8490 cleanup styles from text edit 2022-06-11 15:13:11 +02:00
kevin koenigandRaphael Coeffic 9f4b2c11a7 move styles for textedit to theme 2022-06-11 15:13:11 +02:00
kevin koenigandRaphael Coeffic f3f816d75b fix encoder editing in textedit. also fixed cursor and text positioning 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 22619d7a0a Wait for DMA operations to complete before proceeding 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 2246c3cfbc Use string arrays 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 37a6409da0 Added BitmapBuffer::setData() method 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic bb9a3c98e0 Added extra init to minimal set 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 45be564690 LVGL minimal subset for bootloader 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 3ffa80ca14 Remove useless code to avoid the bootloader to overflow 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic c62208261e Allows for multi-byte pictograms in MenuToolbarButton 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic ba7564c62a Remove usage of scratch buffer 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 77382ba406 WiP: remove legacy fonts 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 6376f8295a Add LVGL submodule and move submodules 2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic 5260f61530 fix focus for menus. Focus is still broken. 2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic 9d45303531 make button lvgl-Event aware 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic f99c16c7aa Moved menu styles to theme 2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic 157b423243 cleanup of choice 2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic 3486480f36 LVGL rotarty encoder handling updated
LVGL rotary encoder handling disabled, to reenable un-comment windowcpp
Window::checkEvents the call to lvglPushEncoderEvent
2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 885ebe69f6 Moved button styles to theme 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 2a0bb66daf WIP: default theme 2022-06-11 15:13:11 +02:00