From 6cb9a81938e476c8b57212cf134fbde206eadb27 Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Sat, 12 Jun 2021 19:00:52 -0400 Subject: [PATCH] lvgui: Drop nanosvg resize hack --- boot/lib/lvgui/lvgl/hacks.rb | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/boot/lib/lvgui/lvgl/hacks.rb b/boot/lib/lvgui/lvgl/hacks.rb index 56aa0c58..56f50beb 100644 --- a/boot/lib/lvgui/lvgl/hacks.rb +++ b/boot/lib/lvgui/lvgl/hacks.rb @@ -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