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

Definition at line 94 of file SDL_sysvideo.h.

◆ data

SDL_WindowUserData* SDL_Window::data

Definition at line 110 of file SDL_sysvideo.h.

◆ driverdata

void* SDL_Window::driverdata

Definition at line 112 of file SDL_sysvideo.h.

◆ flags

◆ fullscreen_mode

SDL_DisplayMode SDL_Window::fullscreen_mode

Definition at line 90 of file SDL_sysvideo.h.

◆ gamma

Uint16* SDL_Window::gamma

Definition at line 95 of file SDL_sysvideo.h.

◆ h

int SDL_Window::h

Definition at line 81 of file SDL_sysvideo.h.

Referenced by SDL_SetRelativeMouseMode(), and SDL_UpdateFullscreenMode().

◆ hit_test

SDL_HitTest SDL_Window::hit_test

Definition at line 107 of file SDL_sysvideo.h.

◆ hit_test_data

void* SDL_Window::hit_test_data

Definition at line 108 of file SDL_sysvideo.h.

◆ icon

SDL_Surface* SDL_Window::icon

Definition at line 79 of file SDL_sysvideo.h.

◆ id

◆ is_destroying

SDL_bool SDL_Window::is_destroying

Definition at line 102 of file SDL_sysvideo.h.

Referenced by SDL_CreateWindow().

◆ is_dropping

SDL_bool SDL_Window::is_dropping

Definition at line 103 of file SDL_sysvideo.h.

◆ is_hiding

SDL_bool SDL_Window::is_hiding

Definition at line 101 of file SDL_sysvideo.h.

◆ last_fullscreen_flags

Uint32 SDL_Window::last_fullscreen_flags

Definition at line 85 of file SDL_sysvideo.h.

◆ magic

const void* SDL_Window::magic

Definition at line 76 of file SDL_sysvideo.h.

◆ max_h

int SDL_Window::max_h

Definition at line 83 of file SDL_sysvideo.h.

◆ max_w

int SDL_Window::max_w

Definition at line 83 of file SDL_sysvideo.h.

◆ min_h

int SDL_Window::min_h

Definition at line 82 of file SDL_sysvideo.h.

◆ min_w

int SDL_Window::min_w

Definition at line 82 of file SDL_sysvideo.h.

◆ next

◆ opacity

float SDL_Window::opacity

Definition at line 92 of file SDL_sysvideo.h.

◆ prev

SDL_Window* SDL_Window::prev

Definition at line 114 of file SDL_sysvideo.h.

Referenced by SDL_CreateWindow(), and SDL_CreateWindowFrom().

◆ saved_gamma

Uint16* SDL_Window::saved_gamma

Definition at line 96 of file SDL_sysvideo.h.

◆ shaper

SDL_WindowShaper* SDL_Window::shaper

Definition at line 105 of file SDL_sysvideo.h.

◆ surface

SDL_Surface* SDL_Window::surface

Definition at line 98 of file SDL_sysvideo.h.

◆ surface_valid

SDL_bool SDL_Window::surface_valid

Definition at line 99 of file SDL_sysvideo.h.

◆ title

char* SDL_Window::title

Definition at line 78 of file SDL_sysvideo.h.

◆ w

int SDL_Window::w

Definition at line 81 of file SDL_sysvideo.h.

Referenced by SDL_SetRelativeMouseMode(), and SDL_UpdateFullscreenMode().

◆ windowed

SDL_Rect SDL_Window::windowed

Definition at line 88 of file SDL_sysvideo.h.

◆ x

int SDL_Window::x

Definition at line 80 of file SDL_sysvideo.h.

◆ y

int SDL_Window::y

Definition at line 80 of file SDL_sysvideo.h.


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