summaryrefslogtreecommitdiff
path: root/src/ui/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/window.h')
-rw-r--r--src/ui/window.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ui/window.h b/src/ui/window.h
index f90bd863..a95d9f40 100644
--- a/src/ui/window.h
+++ b/src/ui/window.h
@@ -66,6 +66,7 @@ struct Impl_Window {
66 iBool ignoreClick; 66 iBool ignoreClick;
67 uint32_t focusGainedAt; 67 uint32_t focusGainedAt;
68 SDL_Renderer *render; 68 SDL_Renderer *render;
69 iInt2 size;
69 iRoot root; /* root widget and UI state */ 70 iRoot root; /* root widget and UI state */
70 float pixelRatio; /* conversion between points and pixels, e.g., coords, window size */ 71 float pixelRatio; /* conversion between points and pixels, e.g., coords, window size */
71 float displayScale; /* DPI-based scaling factor of current display, affects uiScale only */ 72 float displayScale; /* DPI-based scaling factor of current display, affects uiScale only */
@@ -95,9 +96,7 @@ void showToolbars_Window (iWindow *, iBool show);
95iBool postContextClick_Window (iWindow *, const SDL_MouseButtonEvent *); 96iBool postContextClick_Window (iWindow *, const SDL_MouseButtonEvent *);
96 97
97uint32_t id_Window (const iWindow *); 98uint32_t id_Window (const iWindow *);
98iInt2 rootSize_Window (const iWindow *); 99iInt2 size_Window (const iWindow *);
99iRect safeRootRect_Window (const iWindow *);
100iInt2 visibleRootSize_Window (const iWindow *); /* may be obstructed by software keyboard */
101iInt2 maxTextureSize_Window (const iWindow *); 100iInt2 maxTextureSize_Window (const iWindow *);
102float uiScale_Window (const iWindow *); 101float uiScale_Window (const iWindow *);
103iInt2 coord_Window (const iWindow *, int x, int y); 102iInt2 coord_Window (const iWindow *, int x, int y);
@@ -106,7 +105,6 @@ uint32_t frameTime_Window (const iWindow *);
106SDL_Renderer *renderer_Window (const iWindow *); 105SDL_Renderer *renderer_Window (const iWindow *);
107int snap_Window (const iWindow *); 106int snap_Window (const iWindow *);
108iBool isFullscreen_Window (const iWindow *); 107iBool isFullscreen_Window (const iWindow *);
109iBool isNarrow_Window (const iWindow *);
110 108
111iWindow * get_Window (void); 109iWindow * get_Window (void);
112 110