summaryrefslogtreecommitdiff
path: root/src/ui/window.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-08 18:14:51 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-08 18:14:51 +0200
commita31b3f27037cc75b733a34871cfadc9707055b16 (patch)
tree8b7f9461925b20aea5453591ffce61570783cd84 /src/ui/window.h
parentc3bbfbba4209a2d11b65b58233619b05e4397c91 (diff)
Scale images for display
Resize images down to the maximum texture size or the screen size, whichever is smaller. IssueID #167
Diffstat (limited to 'src/ui/window.h')
-rw-r--r--src/ui/window.h1
1 files changed, 1 insertions, 0 deletions
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);
93uint32_t id_Window (const iWindow *); 93uint32_t id_Window (const iWindow *);
94iInt2 rootSize_Window (const iWindow *); 94iInt2 rootSize_Window (const iWindow *);
95iInt2 visibleRootSize_Window (const iWindow *); /* may be obstructed by software keyboard */ 95iInt2 visibleRootSize_Window (const iWindow *); /* may be obstructed by software keyboard */
96iInt2 maxTextureSize_Window (const iWindow *);
96float uiScale_Window (const iWindow *); 97float uiScale_Window (const iWindow *);
97iInt2 coord_Window (const iWindow *, int x, int y); 98iInt2 coord_Window (const iWindow *, int x, int y);
98iInt2 mouseCoord_Window (const iWindow *); 99iInt2 mouseCoord_Window (const iWindow *);