From 44f95f2faaa552fa1a748df4316844e18b047b60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 10 Jan 2018 00:47:49 +0100 Subject: Add most remaining window functions --- README.asciidoc | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'README.asciidoc') diff --git a/README.asciidoc b/README.asciidoc index c522841..bd6e8e5 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -87,21 +87,12 @@ corresponding to the public headers. ** `SDL_WINDOWPOS_*` values for different displays ** `SDL_CreateWindowFrom` (unclear if we need it) ** We currently do not support UTF-8. We should probably switch to binaries as input/output to support it for `SDL_SetWindowTitle` and `SDL_GetWindowTitle` -** `SDL_SetWindowData` (window) -** `SDL_GetWindowData` (window) -** `SDL_GetWindowBordersSize` (window) -** `SDL_SetWindowResizable` (window) +** `SDL_SetWindowData` (unclear if we need it) +** `SDL_GetWindowData` (unclear if we need it) ** `SDL_GetWindowSurface` (window) ** `SDL_UpdateWindowSurface` (window) ** `SDL_UpdateWindowSurfaceRects` (window) -** `SDL_GetGrabbedWindow` (window) -** `SDL_SetWindowOpacity` (window) -** `SDL_GetWindowOpacity` (window) -** `SDL_SetWindowModalFor` (window) -** `SDL_SetWindowInputFocus` (window) -** `SDL_SetWindowGammaRamp` (window) -** `SDL_GetWindowGammaRamp` (window) -** `SDL_SetWindowHitTest` and the related callback `SDL_HitTestResult` +** `SDL_SetWindowHitTest` and the related callback `SDL_HitTestResult` (unclear if we need it and whether we can make it efficient enough) ** `SDL_IsScreenSaverEnabled` ** `SDL_EnableScreenSaver` ** `SDL_DisableScreenSaver` @@ -119,6 +110,8 @@ corresponding to the public headers. ** `SDL_GL_SetSwapInterval` ** `SDL_GL_GetSwapInterval` +The code sometimes uses `malloc`. Use `enif_alloc` everywhere instead. + == To be implemented * 'SDL_audio.h' -- cgit v1.2.3