Commit Graph
20424 Commits
Author SHA1 Message Date
kevin koenigandRaphael Coeffic 469375786b if we are flex layout then increase padding. also add margin to label to give it some white space. 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 40233604ce cleanup & formatting 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic fd0881f19e fix(table): focus border and click behavior 2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic c1e143c4fd attach windo focusHandler to LVGL events 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 85e9f1d7ca fix(slider): edit mode 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 6177a94486 choice toolbar: new implementation based on LVGL group 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 25715ed648 Replaced focus handling with LVGL groups 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 866bc46d4d fix(lvgl): apply fix to allow for nested input device polling 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 4ffc94b88d 8bit masks use uint16_t for width/height 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic f07243d47f theme: removed unused methods 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 3d647f69a0 LZ4 bitmap compression 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic c136ddda87 dialog: content shall forward focus 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic e97cff4dcb dialog: handle EXIT key 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic f8612a0dbe menu: onPress() must be executed after menu is removed 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 2eef7755a5 New TableField 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 4a77acf6af menu: removed separator 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 5ace4d010e Own window base LVGL object 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic eac3f4fce5 Use own LVGL theme 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 28c28fb521 button: better track state 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic dbe8405fe2 Small improvements / fixes 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 00fda7f4ae keyboard: prevent keyboard being freed 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic ff080ff3d8 window: do not scroll on touch-focus 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 170fa8152e choice: dramatically reduce refresh frequency
Done now only when a real change happened
2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 2ba8619654 menu: use lv_table and draw entries dynamically
Much faster than the previous implementation in creation time and rendering.
2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 7c409a4454 main window: call checkEvents() only on top most opaque window 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic d71ad73eb1 simplify LVGL object removal
Fixes as well some issues with widgets being displayed after libopenui object has been deleted.
2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic c7da6b2796 add Layer::back() 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 6cb2e332e1 fix: check first before derefering it 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic cc41043883 fix: button matrix rows 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 6a6ca7e578 button matrix: added focus and key handling 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 6e6d6e4a24 added ButtonMatrix 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic fc4babfb4e choice: send LV_EVENT_VALUE_CHANGED on setValue() 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 309e672622 choice: added getIntValue() 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic dd543c151b file choice: parent is Window 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 5878802c9b form: add field even if form cannot have focus (but forwards it) 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic b747b79273 clean up 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 94c6d25f18 window: fixed adjustHeight() & moveWindowsTop() 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 904eb62029 window: removed getSnapStep() 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic bcc30638a9 window: fix bringToTop() 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 0d69b7a391 keyboard: simplify showing/scrolling 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 07e4f494b1 menu: fix position / size 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic bd7e893a0b window: scrolling now only with LVGL 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 4ef479bf3f fix: style memory leak 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 70b8b3d186 small optimization
Gains around 10% when building tabs
2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 7dc960a514 menu: fixed signedness 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic fb059887e7 BitmapBuffer: fixed RIGHT align 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic ad658a92a4 window: prevent focus events while mass-deleting 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic bc793651f4 window: avoid window_event_cb to be called on destroyed children
This uses quite some CPU resources because of the refocus happening when FormFields are cleared.
2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic f6598a11e4 fix: static text lvobj NULL access 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic f8b8232d07 lvgl: add support for TRUE_COLOR snapshots 2022-06-11 15:13:11 +02:00