diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-08 18:14:51 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-08 18:14:51 +0200 |
commit | a31b3f27037cc75b733a34871cfadc9707055b16 (patch) | |
tree | 8b7f9461925b20aea5453591ffce61570783cd84 /src/ui/window.h | |
parent | c3bbfbba4209a2d11b65b58233619b05e4397c91 (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.h | 1 |
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); | |||
93 | uint32_t id_Window (const iWindow *); | 93 | uint32_t id_Window (const iWindow *); |
94 | iInt2 rootSize_Window (const iWindow *); | 94 | iInt2 rootSize_Window (const iWindow *); |
95 | iInt2 visibleRootSize_Window (const iWindow *); /* may be obstructed by software keyboard */ | 95 | iInt2 visibleRootSize_Window (const iWindow *); /* may be obstructed by software keyboard */ |
96 | iInt2 maxTextureSize_Window (const iWindow *); | ||
96 | float uiScale_Window (const iWindow *); | 97 | float uiScale_Window (const iWindow *); |
97 | iInt2 coord_Window (const iWindow *, int x, int y); | 98 | iInt2 coord_Window (const iWindow *, int x, int y); |
98 | iInt2 mouseCoord_Window (const iWindow *); | 99 | iInt2 mouseCoord_Window (const iWindow *); |