Commit Graph
548 Commits
Author SHA1 Message Date
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
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