Changeset 98290 in vbox for trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.h
- Timestamp:
- Jan 24, 2023 5:31:05 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.h
r98103 r98290 130 130 #ifdef VBOX_WITH_SDL2 131 131 SDL_Window *getWindow() { return mpWindow; } 132 bool hasWindow(uint32_t id) { return mScreen &&SDL_GetWindowID(mpWindow) == id; }132 bool hasWindow(uint32_t id) { return SDL_GetWindowID(mpWindow) == id; } 133 133 int setWindowTitle(const char *pcszTitle); 134 134 #endif … … 144 144 145 145 private: 146 /** current SDL framebuffer pointer (also includes screen width/height) */ 147 SDL_Surface *mScreen; 146 148 147 #ifdef VBOX_WITH_SDL2 149 148 /** the SDL window */
Note:
See TracChangeset
for help on using the changeset viewer.