Commit Graph
575 Commits
Author SHA1 Message Date
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
kkoenig1@optonline.comandRaphael Coeffic 83a5fd913f added choice to default group 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 9804ff9f21 Implement form drawing via styles rather than paint() method 2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic e53c334aed some additional menu fixes 2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic 3dd0a72ed8 implementation of choice and filechoice using lvgl 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic b823150158 Small checkbox opti 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 5597524b7a Add empty paint() method to Checkbox & Button 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic a0624cc17a Fix some use-after-free issue
This is basically about LV_EVENT_DELETE.
2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic c5175f7061 more menu changes 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic fe7d425ced LVGL drawing 2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic ac5a7bef0d use roboto font 2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic f7c0d58281 use roboto font 2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic 66c500799c menu and modal almost working 2022-06-11 15:13:11 +02:00
kkoenig1@optonline.comandRaphael Coeffic cab656b5d2 redo checkbox styling. 2022-06-11 15:13:11 +02:00
kevinkoenigandRaphael Coeffic 6a8707fb69 1. fixed checkbox focus on touch
2. fixed crash if you edit a textbox and close the simu.  TextEdit changeEnd() wasnt checking lvgl for validity
3. removed dead code in new TextEdit onTouchEnd()
2022-06-11 15:13:11 +02:00
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