Where can I find information about the “New way” to create an SDL
Application Instance and not the old SDLMain way (although Hatari still
can be built over SDL 1.2.15 “the old way”) ?
Just don’t compile SDLMain.m for macOS with SDL 2, it’s no longer needed.> On Oct 14, 2016, at 1:20 PM, Jerome Vernet <vernet.jerome at wanadoo.fr> wrote:
Where can I find information about the “New way” to create an SDL Application Instance and not the old SDLMain way (although Hatari still can be built over SDL 1.2.15 “the old way”) ?
Just don’t compile SDLMain.m for macOS with SDL 2, it’s no longer needed.> On Oct 14, 2016, at 1:20 PM, Jerome Vernet <vernet.jerome at wanadoo.fr> wrote:
Where can I find information about the “New way” to create an SDL Application Instance and not the old SDLMain way (although Hatari still can be built over SDL 1.2.15 “the old way”) ?
Just don’t compile SDLMain.m for macOS with SDL 2, it’s no longer needed.
Will be hard because most of the MacOsX Hatari specific stuf is inside
SDLMain… Like menus Actions, etc. It’s the delegate.
Ah, I didn?t realize you added custom menu bar items. I don?t have any experience doing that with SDL.> On Oct 14, 2016, at 3:14 PM, Jerome Vernet <vernet.jerome at wanadoo.fr> wrote:
Le 14/10/2016 ? 18:44, Alex Szpakowski a ?crit :
Just don’t compile SDLMain.m for macOS with SDL 2, it’s no longer needed.
Will be hard because most of the MacOsX Hatari specific stuf is inside
SDLMain… Like menus Actions, etc. It’s the delegate.
I tried tonight to build SDL2 from the current revision (10557) then
using it for Hatari. Again, I do not have any keyboard events, except
Caps Lock…
It work with the current pre built release from the download page, but I
need to link SDL and all my frameworks and Hatari against libstdc++ and
not libc++ (wich is only for MacOs 10.7+).
J. VERNET
Le 14/10/2016 ? 17:17, Sam Lantinga a ?crit :> Events in Hatari should be fixed: