Sometimes we want to surpress automatic scaling and converting for dark theme. This adds a loadFromResource function with additional flags which makes this possible.
Change-Id: I893cee82ad6942644755f0c5b772fb5f073bbf00 Reviewed-on: https://gerrit.libreoffice.org/30341
4a4fd38 vcl: add bitmap::loadFromResource with additional flags
include/vcl/BitmapTools.hxx | 4 ++++
vcl/source/bitmap/BitmapTools.cxx | 22 ++++++++++++++++++++++
2 files changed, 26 insertions(+)
Upstream: cgit.freedesktop.org