Samuel Dionne-Riel
7a0f906571
boot/lib/lvgui: Add add_select
helper
2021-01-25 18:40:54 -05:00
Samuel Dionne-Riel
919e1b2ab1
boot/lib/lvgui: Better explain event handler in impl.
2021-01-25 18:40:54 -05:00
Samuel Dionne-Riel
0f0625d359
boot/lib/lvgui: Add option selector
...
A bit like a "drop down" select
2021-01-25 18:40:54 -05:00
Samuel Dionne-Riel
6d85c00ce0
boot/lib/lvgui: Add a debug styles helper
...
This way it's easy to just colour an element when visualizing its
metrics.
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
562c8ab081
boot/lib/lvgui: Add HorizontalSeparator
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
8d4a660526
boot/lib/lvgui: Use dummy object in base window
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
e23870f2af
boot/lib/lvgui: Add a dummy object
...
It was found, through some debugging, that we were adding a
non-invisible dummy object for focus group handling. With this change
we have a common dummy object to use for this purpose.
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
1b8e5f2844
boot/lib/lvgui: Focus stack push/pop also works for event handlers
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
029938e6f1
boot/lib/lvgui: Add focus group "stacks"
...
This probably should not have been added straight onto LVGL bindings,
but that's where they're the easiest to implement safely.
This allows a widget to take control of the focus group, while allowing
the previous content to be re-added properly.
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
2c06866f2e
boot/lib/lvgui: Add accessors for built-in layers
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
c4eb57f4cf
boot/lib/lvgui: Bind color maths helper
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
0c4b3e9580
boot/lib/lvgui: Bind more for scrollable pages
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
9aff7f666b
boot/lib/lvgui: Add button style accessors
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
7fb3f2b377
boot/lib/lvgui: Add add_switch
helper
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
eebb09e790
boot/lib/lvgui: Add BaseUIElements mixin
...
Where more generic one-off helpers will be added
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
1cb820a9ac
boot/lib/lvgui: Add SwitchLine control
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
99a7262a24
boot/lib/lvgui: Add toggle switch basic bindings
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
995f32a30e
boot/lib/lvgui: Add display driver to introspection
2021-01-25 18:40:50 -05:00
Samuel Dionne-Riel
19ff65e821
boot/lib: Remove accidentally left puts
2021-01-02 00:55:21 -05:00
Samuel Dionne-Riel
dc809d47bd
boot/lib: Import splash components in lvgui
2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
50a2a08e09
boot/lib: Extract reboot modes lib
2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
af9912ef81
boot/lib: Import init configuration lib
2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
e6e4e228a4
boot/lib: Move init monkey patches
2021-01-01 21:37:30 -05:00
Samuel Dionne-Riel
ffc4a12fa1
boot/lib: Import lvgui ruby implementation
2021-01-01 21:37:29 -05:00
Samuel Dionne-Riel
b88d2565ee
boot/lib: Stash evdev lib in a folder
2021-01-01 21:37:29 -05:00
Samuel Dionne-Riel
67957f4972
boot/init: Move recovery detection to an abstraction layer
2020-11-22 16:53:03 -05:00
Samuel Dionne-Riel
ae9ce35a90
boot/lib: Implement evdev query through FFI
2020-11-22 16:48:32 -05:00
Samuel Dionne-Riel
5928902108
boot/lib: add generated linux input event codes
...
This could be done a build-time, but it's not like we actually need it
to be the freshest ever.
We're free to update it whenever.
2020-11-22 16:48:32 -05:00
Samuel Dionne-Riel
0037614821
boot/init: Use the new evdev library
...
It still uses evdev internally, but first let's change the interface,
*then* change the implementation details.
2020-11-22 16:48:32 -05:00