mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
.developing hidpi
git-svn-id: svn://ultimatepp.org/upp/trunk@8475 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
2e08c9a5ad
commit
80a52b6b8f
10 changed files with 32 additions and 24 deletions
|
|
@ -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--)
|
||||
|
|
|
|||
Loading…
Reference in a new issue