1
1
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:
Samuel Dionne-Riel 2021-06-12 19:00:52 -04:00
parent f614ebf630
commit 6cb9a81938

View File

@ -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