From a31b3f27037cc75b733a34871cfadc9707055b16 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Mon, 8 Mar 2021 18:14:51 +0200 Subject: Scale images for display Resize images down to the maximum texture size or the screen size, whichever is smaller. IssueID #167 --- src/ui/window.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui/window.h') diff --git a/src/ui/window.h b/src/ui/window.h index 8bc9911c..9a70fdec 100644 --- a/src/ui/window.h +++ b/src/ui/window.h @@ -93,6 +93,7 @@ void setKeyboardHeight_Window(iWindow *, int height); uint32_t id_Window (const iWindow *); iInt2 rootSize_Window (const iWindow *); iInt2 visibleRootSize_Window (const iWindow *); /* may be obstructed by software keyboard */ +iInt2 maxTextureSize_Window (const iWindow *); float uiScale_Window (const iWindow *); iInt2 coord_Window (const iWindow *, int x, int y); iInt2 mouseCoord_Window (const iWindow *); -- cgit v1.2.3