Samuel Dionne-Riel
7bc16d7996
boot/splash: Use night theme...
...
It would probably benefit from an actually bespoke totally
white-on-black theme.
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
61ebf3d2f4
boot/error: Use assets path
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
87ac4c8813
boot/error: Load SVG using new resize workaround
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
0a397decfe
boot/recovery-menu: Use mkLVGUIApp
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
4e2cd380a0
boot/recovery-menu: Normalize LVGUI consumers
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
11f982bf97
boot/splash: Use mkLVGUIApp
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
9df0e1bbdf
boot/splash: Normalize LVGUI consumers
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
9407ac1084
boot/error: Use mkLVGUIApp
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
6c7f1371f9
boot/error: Normalize LVGUI consumers
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
9cd0668f23
lvgui: Reduce enhanced header bar size in landscape
...
This helps gain some precious screen real-estate for e.g. laptop use
cases.
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
4937f6ad46
lvgui: Provide default font sizes
...
This is not used, but almost was. This would allow increasing or
reducing relative to the defaults, rather than hardcoding a value.
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
b77cd6f5c2
lvgui: Fixes for landscape uses
...
Mainly we fit the content to a 720dp wide column. This ensures the
layout stays the same everywhere.
(Yet TODO, make the header take less space in landscape)
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
a4233cc960
lvgui: Constrain header bar to a "720dp" column
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
8be50b7a6f
lvgui: Add HeaderLabel
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
4ee19f9048
lvgui: Use the NixOS theme
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
5a7d09bcd6
lvgui: Make base window use the app background
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
0e1b8b47c4
lvgui: Review assets path
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
14e78352c1
lvgui: Use Fonts helpers to provide fonts
...
This decouples the actually-in-use assets from the native parts of
LVGUI.
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
29ce88d750
lvgui: Add Fonts
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
39f6efa8c5
lvgui: Default to NixOS theme
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
5ff3bb9f88
lvgui: Add back support for night theme
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
6cb9a81938
lvgui: Drop nanosvg resize hack
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
f614ebf630
lvgui: Add font loading bindings
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
6017552e1d
lvgui: Add basic assets path support
...
Still needed: actually providing a useful path
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
61205f5e55
lvgui: Add point_scale
...
Will be used for fonts
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
f546b3dcb4
lvgui: Allow setting style from add_button
helper
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
42694ea008
lvgui: Add style modifier functions for buttons
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
6d01610062
lvgui: Drop unneeded logging
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
73c197bf1a
lvgui: BackButton: fix metrics
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
898be48fba
lvgui: OptionsSelection: rework a bit
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
f1ceb95cd9
lvgui: Rework Toolbar a bit
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
1069f1aa0a
lvgui: Update Page
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
b05c4a7e29
lvgui: Bind more
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
aff5df2cb8
lvgui: Add MobileNixOS namespace
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
cee29f9a05
lvgui: Add initialization hook to BaseWindow
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
e3e1ce9191
lvgui: Add header hook to base window
...
This allows any uses of BaseWindow to add something to the flow at the
location the header bar would be.
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
bf3cc95968
lvgui: Add header bar
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
3c6c72d0d6
lvgui: Add Placeholder widget
...
Used to replace something while the other thing is not available...
(wow, such clarity)
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
3419dd6035
lvgui: Move general stuff in __init
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
aae04ccd45
lvgui: Use correct fonts for status bar
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
3d032921fa
lvgui: Extract status_bar
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
604e46a1b8
lvgui: extract clock
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
93c9a3d35d
lvgui: extract back button
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
30dd4a0ce2
lvgui: Rework back button a bit
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
f8fd4bd919
lvgui: Extract button
...
As it's meant to be inherited from inside of LVGUI too, prefix it with
an underscore so it's lexicographilcally preferred :/
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
a1934c41a8
lvgui: Extract horizontal separator
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
ff9464c947
lvgui: Extract battery
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
90f629e309
lvgui: Extract page
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
1127cee44f
lvgui: Extract the base widget
2021-07-19 15:50:06 -04:00
Samuel Dionne-Riel
8f41fa751a
lvgui: Extract screen in a file
2021-07-19 15:50:06 -04:00