World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Файл SDL_syswm.h

См. исходные тексты.

Классы

struct  SDL_SysWMmsg
 
struct  SDL_SysWMinfo
 

Определения типов

typedef struct _NSWindow NSWindow
 
typedef struct _UIWindow UIWindow
 
typedef struct _UIViewController UIViewController
 
typedef Uint32 GLuint
 
typedef struct ANativeWindow ANativeWindow
 
typedef voidEGLSurface
 
typedef struct SDL_SysWMinfo SDL_SysWMinfo
 

Перечисления

enum  SDL_SYSWM_TYPE {
  SDL_SYSWM_UNKNOWN, SDL_SYSWM_WINDOWS, SDL_SYSWM_X11, SDL_SYSWM_DIRECTFB,
  SDL_SYSWM_COCOA, SDL_SYSWM_UIKIT, SDL_SYSWM_WAYLAND, SDL_SYSWM_MIR,
  SDL_SYSWM_WINRT, SDL_SYSWM_ANDROID, SDL_SYSWM_VIVANTE, SDL_SYSWM_OS2,
  SDL_SYSWM_HAIKU
}
 

Функции

DECLSPEC SDL_bool SDLCALL SDL_GetWindowWMInfo (SDL_Window *window, SDL_SysWMinfo *info)
 This function allows access to driver-dependent window information. Подробнее...
 

Подробное описание

Include file for SDL custom system window manager hooks.

См. определение в файле SDL_syswm.h

Типы

◆ NSWindow

typedef struct _NSWindow NSWindow

См. определение в файле SDL_syswm.h строка 87

◆ UIWindow

typedef struct _UIWindow UIWindow

См. определение в файле SDL_syswm.h строка 95

◆ UIViewController

typedef struct _UIViewController UIViewController

См. определение в файле SDL_syswm.h строка 96

◆ GLuint

typedef Uint32 GLuint

См. определение в файле SDL_syswm.h строка 98

◆ ANativeWindow

typedef struct ANativeWindow ANativeWindow

См. определение в файле SDL_syswm.h строка 102

◆ EGLSurface

typedef void* EGLSurface

См. определение в файле SDL_syswm.h строка 103

◆ SDL_SysWMinfo

typedef struct SDL_SysWMinfo SDL_SysWMinfo

См. определение в файле SDL_syswm.h строка 299

Перечисления

◆ SDL_SYSWM_TYPE

These are the various supported windowing subsystems

Элементы перечислений
SDL_SYSWM_UNKNOWN 
SDL_SYSWM_WINDOWS 
SDL_SYSWM_X11 
SDL_SYSWM_DIRECTFB 
SDL_SYSWM_COCOA 
SDL_SYSWM_UIKIT 
SDL_SYSWM_WAYLAND 
SDL_SYSWM_MIR 
SDL_SYSWM_WINRT 
SDL_SYSWM_ANDROID 
SDL_SYSWM_VIVANTE 
SDL_SYSWM_OS2 
SDL_SYSWM_HAIKU 

См. определение в файле SDL_syswm.h строка 122

123 {
131  SDL_SYSWM_MIR, /* no longer available, left for API/ABI compatibility. Remove in 2.1! */

Функции

◆ SDL_GetWindowWMInfo()

DECLSPEC SDL_bool SDLCALL SDL_GetWindowWMInfo ( SDL_Window window,
SDL_SysWMinfo info 
)

This function allows access to driver-dependent window information.

Аргументы
windowThe window about which information is being requested
infoThis structure must be initialized with the SDL version, and is then filled in with information about the given window.
Возвращает
SDL_TRUE if the function is implemented and the version member of the info struct is valid, SDL_FALSE otherwise.

You typically use this function like this:

SDL_VERSION(&info.version);
if ( SDL_GetWindowWMInfo(window, &info) ) { ... }

Используется в Sdl2Window::GetWinApiHandle().

+ Граф вызова функции:
SDL_SYSWM_UNKNOWN
@ SDL_SYSWM_UNKNOWN
Definition: SDL_syswm.h:124
SDL_SYSWM_WINRT
@ SDL_SYSWM_WINRT
Definition: SDL_syswm.h:132
SDL_SYSWM_HAIKU
@ SDL_SYSWM_HAIKU
Definition: SDL_syswm.h:136
SDL_SYSWM_DIRECTFB
@ SDL_SYSWM_DIRECTFB
Definition: SDL_syswm.h:127
SDL_SysWMinfo
Definition: SDL_syswm.h:201
SDL_SYSWM_TYPE
SDL_SYSWM_TYPE
Definition: SDL_syswm.h:122
SDL_SYSWM_ANDROID
@ SDL_SYSWM_ANDROID
Definition: SDL_syswm.h:133
SDL_SYSWM_WAYLAND
@ SDL_SYSWM_WAYLAND
Definition: SDL_syswm.h:130
SDL_SYSWM_COCOA
@ SDL_SYSWM_COCOA
Definition: SDL_syswm.h:128
SDL_SYSWM_X11
@ SDL_SYSWM_X11
Definition: SDL_syswm.h:126
window
EGLSurface EGLNativeWindowType * window
Definition: SDL_egl.h:1580
SDL_SYSWM_UIKIT
@ SDL_SYSWM_UIKIT
Definition: SDL_syswm.h:129
SDL_SysWMinfo::version
SDL_version version
Definition: SDL_syswm.h:203
SDL_SYSWM_MIR
@ SDL_SYSWM_MIR
Definition: SDL_syswm.h:131
SDL_SYSWM_VIVANTE
@ SDL_SYSWM_VIVANTE
Definition: SDL_syswm.h:134
SDL_GetWindowWMInfo
DECLSPEC SDL_bool SDLCALL SDL_GetWindowWMInfo(SDL_Window *window, SDL_SysWMinfo *info)
This function allows access to driver-dependent window information.
SDL_SYSWM_OS2
@ SDL_SYSWM_OS2
Definition: SDL_syswm.h:135
SDL_SYSWM_WINDOWS
@ SDL_SYSWM_WINDOWS
Definition: SDL_syswm.h:125