diff options
Diffstat (limited to 'src/ui/window.h')
-rw-r--r-- | src/ui/window.h | 6 |
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); | |||
95 | iBool postContextClick_Window (iWindow *, const SDL_MouseButtonEvent *); | 96 | iBool postContextClick_Window (iWindow *, const SDL_MouseButtonEvent *); |
96 | 97 | ||
97 | uint32_t id_Window (const iWindow *); | 98 | uint32_t id_Window (const iWindow *); |
98 | iInt2 rootSize_Window (const iWindow *); | 99 | iInt2 size_Window (const iWindow *); |
99 | iRect safeRootRect_Window (const iWindow *); | ||
100 | iInt2 visibleRootSize_Window (const iWindow *); /* may be obstructed by software keyboard */ | ||
101 | iInt2 maxTextureSize_Window (const iWindow *); | 100 | iInt2 maxTextureSize_Window (const iWindow *); |
102 | float uiScale_Window (const iWindow *); | 101 | float uiScale_Window (const iWindow *); |
103 | iInt2 coord_Window (const iWindow *, int x, int y); | 102 | iInt2 coord_Window (const iWindow *, int x, int y); |
@@ -106,7 +105,6 @@ uint32_t frameTime_Window (const iWindow *); | |||
106 | SDL_Renderer *renderer_Window (const iWindow *); | 105 | SDL_Renderer *renderer_Window (const iWindow *); |
107 | int snap_Window (const iWindow *); | 106 | int snap_Window (const iWindow *); |
108 | iBool isFullscreen_Window (const iWindow *); | 107 | iBool isFullscreen_Window (const iWindow *); |
109 | iBool isNarrow_Window (const iWindow *); | ||
110 | 108 | ||
111 | iWindow * get_Window (void); | 109 | iWindow * get_Window (void); |
112 | 110 | ||