mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-04 21:18:28 +03:00
lvgui: Drop nanosvg resize hack
This commit is contained in:
parent
f614ebf630
commit
6cb9a81938
@ -44,8 +44,6 @@ end
|
||||
module LVGL::FFI
|
||||
# lv_lib_nanosvg/lv_nanosvg.h
|
||||
extern "void lv_nanosvg_init()"
|
||||
extern "void lv_nanosvg_resize_next_width(int)"
|
||||
extern "void lv_nanosvg_resize_next_height(int)"
|
||||
end
|
||||
|
||||
module LVGL::Hacks
|
||||
@ -120,14 +118,3 @@ module LVGL::Hacks
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
module LVGL::Hacks
|
||||
module LVNanoSVG
|
||||
def self.resize_next_width(width)
|
||||
LVGL::FFI.lv_nanosvg_resize_next_width(width)
|
||||
end
|
||||
def self.resize_next_height(height)
|
||||
LVGL::FFI.lv_nanosvg_resize_next_height(height)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user