mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-03 02:44:13 +03:00
boot/lvgui: Add support for mono theme
This commit is contained in:
parent
c1a295ade8
commit
d8a0a89d05
@ -47,6 +47,12 @@ module LVGL::Hacks
|
||||
)
|
||||
end
|
||||
|
||||
def self.theme_mono()
|
||||
LVGUI::Native.lv_theme_set_current(
|
||||
LVGUI::Native.lv_theme_mono_init(0, nil)
|
||||
)
|
||||
end
|
||||
|
||||
def self.theme_nixos(font = nil, button_font = nil)
|
||||
LVGUI::Native.lv_theme_set_current(
|
||||
LVGUI::Native.lv_theme_nixos_init(font, button_font)
|
||||
|
Loading…
Reference in New Issue
Block a user