.developing hidpi

git-svn-id: svn://ultimatepp.org/upp/trunk@8475 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2015-05-26 13:16:43 +00:00
commit 80a52b6b8f
10 changed files with 32 additions and 24 deletions

View file

@ -2,6 +2,11 @@
NAMESPACE_UPP
Image DPI(const Image& img)
{
return GUI_HiDPI() ? CachedRescale(img, 2 * img.GetSize(), FILTER_LANCZOS3) : img;
}
void CtrlsImageLook(Value *look, int i, int n)
{
while(n--)