Wiki Page Content

Differences between revisions 21 and 22
Revision 21 as of 2010-10-13 23:22:24
Size: 1507
Editor: SheenaSmith
Comment: row color test
Revision 22 as of 2010-10-14 21:23:50
Size: 1509
Editor: SheenaSmith
Comment: update content - table sections
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
||||||<bgcolor="#F0F0F0">''All Subsystems''|| ||||||<bgcolor="#EDEDED">''All Subsystems''||
Line 13: Line 13:
||||||<bgcolor="#F0F0F0">'''SDL_SYSWM_WINDOWS'''|| ||||||<bgcolor="#EDEDED">''SDL_SYSWM_WINDOWS''||
Line 15: Line 15:
||||||<bgcolor="#F0F0F0">SDL_SYSWM_X11|| ||||||<bgcolor="#EDEDED">''SDL_SYSWM_X11''||
Line 18: Line 18:
||||||<bgcolor="#F0F0F0">''SDL_SYSWM_DIRECTFB''|| ||||||<bgcolor="#EDEDED">''SDL_SYSWM_DIRECTFB''||
Line 22: Line 22:
||||||<bgcolor="#F0F0F0">''SDL_SYSWM_COCOA''|| ||||||<bgcolor="#EDEDED">''SDL_SYSWM_COCOA''||

SDL_SysWMinfo

A structure that contains system-dependent information about a window.

Data Fields

All Subsystems

SDL_version

version

an SDL_version structure that contains the current SDL version

SDL_SYSWM_TYPE

subsystem

the windowing system type; see Remarks for details

SDL_SYSWM_WINDOWS

HWND

win.window

the window handle

SDL_SYSWM_X11

Display*

x11.display

the X11 display

Window

x11.window

the X11 window

SDL_SYSWM_DIRECTFB

IDirectFB*

dfb.dfb

the DirectFB main interface

IDirectFBWindow*

dfb.window

the DirectFB window handle

IDirectFBSurface*

dfb.surface

the DirectFB client surface

SDL_SYSWM_COCOA

NSWindow*

cocoa.window

the Cocoa window

Code Examples

You can add your code example here

Remarks

This structure is filled in by SDL_GetWindowWMInfo().

This structure holds low level information about the window and subsystem is set to the windowing system in use, one of:

SDL_SYSWM_UNKNOWN

SDL_SYSWM_WINDOWS

Microsoft Windows

SDL_SYSWM_X11

X Window System

SDL_SYSWM_DIRECTFB

DirectFB

SDL_SYSWM_COCOA

Apple Mac OS X

SDL_SYSWM_UIKIT

Apple iOS

SDL_SYSWM_WAYLAND

Wayland (>= SDL 2.0.2)

SDL_SYSWM_MIR

Mir (>= SDL 2.0.2)

SDL_SYSWM_WINRT

WinRT (>= SDL 2.0.3)

SDL_SYSWM_ANDROID

Android (>= SDL 2.0.4)

SDL_SYSWM_VIVANTE

Vivante (>= SDL 2.0.5)


CategoryStruct, CategorySWM

None: SDL_SysWMinfo (last edited 2016-12-01 08:58:06 by realitix)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit