SDL  2.0
SDL_Window Struct Reference

The type used to identify a window. More...

#include <SDL_sysvideo.h>

+ Collaboration diagram for SDL_Window:

Data Fields

const voidmagic
 
Uint32 id
 
char * title
 
SDL_Surfaceicon
 
int x
 
int y
 
int w
 
int h
 
int min_w
 
int min_h
 
int max_w
 
int max_h
 
Uint32 flags
 
Uint32 last_fullscreen_flags
 
SDL_Rect windowed
 
SDL_DisplayMode fullscreen_mode
 
float brightness
 
Uint16gamma
 
Uint16saved_gamma
 
SDL_Surfacesurface
 
SDL_bool surface_valid
 
SDL_bool is_hiding
 
SDL_bool is_destroying
 
SDL_WindowShapershaper
 
SDL_HitTest hit_test
 
voidhit_test_data
 
SDL_WindowUserDatadata
 
voiddriverdata
 
SDL_Windowprev
 
SDL_Windownext
 

Detailed Description

Field Documentation

float SDL_Window::brightness
SDL_WindowUserData* SDL_Window::data

Definition at line 104 of file SDL_sysvideo.h.

Referenced by SDL_DestroyWindow(), SDL_GetWindowData(), and SDL_SetWindowData().

void* SDL_Window::driverdata

Definition at line 106 of file SDL_sysvideo.h.

Referenced by WINRT_ProcessWindowSizeChange().

SDL_DisplayMode SDL_Window::fullscreen_mode

Definition at line 87 of file SDL_sysvideo.h.

Referenced by SDL_GetWindowDisplayMode(), and SDL_SetWindowDisplayMode().

SDL_HitTest SDL_Window::hit_test

Definition at line 101 of file SDL_sysvideo.h.

Referenced by SDL_RecreateWindow(), and SDL_SetWindowHitTest().

void* SDL_Window::hit_test_data

Definition at line 102 of file SDL_sysvideo.h.

Referenced by SDL_SetWindowHitTest().

SDL_Surface* SDL_Window::icon

Definition at line 76 of file SDL_sysvideo.h.

Referenced by SDL_DestroyWindow(), SDL_RecreateWindow(), and SDL_SetWindowIcon().

SDL_bool SDL_Window::is_hiding

Definition at line 96 of file SDL_sysvideo.h.

Referenced by SDL_HideWindow(), and SDL_UpdateFullscreenMode().

Uint32 SDL_Window::last_fullscreen_flags
const void* SDL_Window::magic

Definition at line 73 of file SDL_sysvideo.h.

Referenced by SDL_CreateWindow(), SDL_CreateWindowFrom(), and SDL_DestroyWindow().

int SDL_Window::max_h
int SDL_Window::max_w
int SDL_Window::min_h
int SDL_Window::min_w
SDL_Window* SDL_Window::prev
Uint16* SDL_Window::saved_gamma

Definition at line 91 of file SDL_sysvideo.h.

Referenced by SDL_GetWindowGammaRamp(), and SDL_OnWindowFocusLost().

SDL_Surface* SDL_Window::surface

Definition at line 93 of file SDL_sysvideo.h.

Referenced by SDL_DestroyWindow(), SDL_GetWindowSurface(), and SDL_RecreateWindow().

SDL_bool SDL_Window::surface_valid
char* SDL_Window::title

The documentation for this struct was generated from the following file: