Commit Graph
675 Commits
Author SHA1 Message Date
Raphael Coeffic 7679077632 window: allow for accessing LVGL obj / children in close handler 2022-06-12 19:19:35 +02:00
Raphael Coeffic 41ab90ad36 fix(dynamic numbers): precision flags 2022-06-12 11:58:57 +02:00
Raphael Coeffic cda44291f7 base number edit: streamlined code a bit 2022-06-12 11:30:56 +02:00
Raphael CoefficandRaphael Coeffic ae6f7b55d3 table field: add onSelected() 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 14fea89118 flex grid: add shortcut for Window 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic e47b1ca245 Always include code for visual keyboards
Used now on non-touch interfaces as well.
2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 390fed8997 Better dynamic number 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 78e067a753 window: remove unused local variable 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 4ecedab3c8 form field: add SCROLL_ON_FOCUS
Fixes issue with choices not triggering scroll on focus.
2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic a7ee9d3a81 button: remove LV_OBJ_FLAG_CHECKABLE on text buttons 2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic 8f63932e43 don't always stretch sliders 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic cbe237a945 button: add long press 2022-06-11 15:13:11 +02:00
gagarinlgandRaphael Coeffic 1ab128e084 let sliders and text always stretch to a grid cel, if used in a grid layout
add padding on the right side in grid layouts
2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic ee3f51330a cleanup 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic aca9bf420a Text & number edit use the same custom widget 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 574d008b67 Snap to begin / end of window when near 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 34652c4afa fix: draw non-null terminated strings 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 1acea8fc88 fix(flex grid): added padding between rows as well 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic fd3deb2571 fix(choice): send LV_EVENT_VALUE_CHANGED after value has been set 2022-06-11 15:13:11 +02:00
Raphael CoefficandRaphael Coeffic 862073d4c2 fix(focus): hasFocus() uses proper state 2022-06-11 15:13:11 +02:00
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