TODO
author Ozkan Sezer <sezeroz@gmail.com>
Fri, 22 Jun 2018 21:03:40 +0300
branchSDL-1.2
changeset 12026 67f391c74aee
parent 1621 f12379c41042
child 1654 0a53c90a37f9
child 1895 c121d94672cb
permissions -rw-r--r--
SDLMain.m: replace CPS* stuff with activateIgnoringOtherApps (bug #4114)

CPS stuff are deprecated and emit warnings at runtime, e.g.:

warning: CPSGetCurrentProcess(): This call is deprecated and should not be called anymore
warning: CPSSetForegroundOperationState() (as above)
warning: capture_display; Captured mirror master 0x350000c1 (unit 1) on behalf of slave 0x042716c0 (unit 0)

http://lists.libsdl.org/pipermail/sdl-libsdl.org/2006-April/055749.html
suggests doing something like:

ProcessSerialNumber psn = { 0, kCurrentProcess};
TransformProcessType (&psn, kProcessTransformToForegroundApplication);
SetFrontProcess (&psn);

And SetFrontProcess() is deprecated in 10.9. Processes.h suggests
[[NSApplication sharedApplication] activateIgnoringOtherApps: YES]
to make one's own application frontmost.
slouken@0
     1
slouken@0
     2
Wish list for the 1.3 development branch:
slouken@1534
     3
http://bugzilla.libsdl.org/
slouken@0
     4
slouken@0
     5
 * Add mousewheel events (new unified event architecture?)
slouken@0
     6
 * DirectInput joystick support needs to be implemented
slouken@0
     7
 * Be able to enumerate and select available audio and video drivers
slouken@1621
     8
 * Fullscreen video mode support for Mac OS X
slouken@0
     9
 * Explicit vertical retrace wait (maybe separate from SDL_Flip?)
slouken@0
    10
 * Shaped windows, windows without borders
slouken@0
    11
 * Multiple windows, multiple display support
slouken@0
    12
 * SDL_INIT_EVENTTHREAD on Windows and MacOS?
slouken@0
    13
 * Add a timestamp to events
slouken@0
    14
 * Add audio input API
slouken@2
    15
 * Add hardware accelerated scaled blit
slouken@2
    16
 * Add hardware accelerated alpha blits
slouken@2
    17
 * Redesign blitting architecture to allow blit plugins
slouken@0
    18
slouken@0
    19
In the jump from 1.2 to 1.3, we should change the SDL_Rect members to
slouken@0
    20
int and evaluate all the rest of the datatypes.  This is the only place
slouken@0
    21
we should do it though, since the 1.2 series should not break binary
slouken@0
    22
compatibility in this way.
slouken@150
    23
slouken@150
    24
Requests:
slouken@150
    25
 * PCM and CDROM volume control (deprecated, but possible)