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 opacity
 
float brightness
 
Uint16gamma
 
Uint16saved_gamma
 
SDL_Surfacesurface
 
SDL_bool surface_valid
 
SDL_bool is_hiding
 
SDL_bool is_destroying
 
SDL_bool is_dropping
 
SDL_WindowShapershaper
 
SDL_HitTest hit_test
 
voidhit_test_data
 
SDL_WindowUserDatadata
 
voiddriverdata
 
SDL_Windowprev
 
SDL_Windownext
 

Detailed Description

Field Documentation

◆ brightness

float SDL_Window::brightness

◆ data

SDL_WindowUserData* SDL_Window::data

Definition at line 109 of file SDL_sysvideo.h.

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

◆ driverdata

◆ flags

◆ fullscreen_mode

SDL_DisplayMode SDL_Window::fullscreen_mode

Definition at line 89 of file SDL_sysvideo.h.

Referenced by SDL_GetWindowDisplayMode(), and SDL_SetWindowDisplayMode().

◆ gamma

◆ h

◆ hit_test

SDL_HitTest SDL_Window::hit_test

Definition at line 106 of file SDL_sysvideo.h.

Referenced by SDL_RecreateWindow(), and SDL_SetWindowHitTest().

◆ hit_test_data

void* SDL_Window::hit_test_data

Definition at line 107 of file SDL_sysvideo.h.

Referenced by SDL_SetWindowHitTest().

◆ icon

SDL_Surface* SDL_Window::icon

Definition at line 78 of file SDL_sysvideo.h.

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

◆ id

◆ is_destroying

◆ is_dropping

SDL_bool SDL_Window::is_dropping

Definition at line 102 of file SDL_sysvideo.h.

Referenced by SDL_SendDrop().

◆ is_hiding

SDL_bool SDL_Window::is_hiding

Definition at line 100 of file SDL_sysvideo.h.

Referenced by SDL_HideWindow(), and SDL_UpdateFullscreenMode().

◆ last_fullscreen_flags

Uint32 SDL_Window::last_fullscreen_flags

◆ magic

const void* SDL_Window::magic

Definition at line 75 of file SDL_sysvideo.h.

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

◆ max_h

int SDL_Window::max_h

◆ max_w

int SDL_Window::max_w

◆ min_h

int SDL_Window::min_h

◆ min_w

int SDL_Window::min_w

◆ next

◆ opacity

float SDL_Window::opacity

◆ prev

SDL_Window* SDL_Window::prev

◆ saved_gamma

Uint16* SDL_Window::saved_gamma

Definition at line 95 of file SDL_sysvideo.h.

Referenced by SDL_GetWindowGammaRamp(), and SDL_OnWindowFocusLost().

◆ shaper

◆ surface

SDL_Surface* SDL_Window::surface

Definition at line 97 of file SDL_sysvideo.h.

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

◆ surface_valid

SDL_bool SDL_Window::surface_valid

◆ title

char* SDL_Window::title

◆ w

◆ windowed

◆ x

◆ y


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