Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-02-02 | Add utf-8 support for the window title | Loïc Hoguin | |
2018-01-17 | Add the SDL_SetWindowHitTest callback | Loïc Hoguin | |
2018-01-10 | Add most remaining window functions | Loïc Hoguin | |
2018-01-07 | Add more window functions | Loïc Hoguin | |
2018-01-07 | Add missing SDL_WindowFlags values | Loïc Hoguin | |
2018-01-02 | Welcome to 2018 | Loïc Hoguin | |
2018-01-02 | Add many events and event functions | Loïc Hoguin | |
2017-12-24 | Rewrite the README and check missing features as of 2.0.7 | Loïc Hoguin | |
2017-12-20 | Add the sdl_mouse module implementing half of sdl_mouse.h | Loïc Hoguin | |
The latter half will be part of sdl_cursor. This depends on some changes to nif_helper. The sdl_gl part of the code is probably slithly broken now, the dependency on the window is gone. This will be resolved later on. | |||
2017-04-19 | Fix warnings in preparation for splitting nif_helpers out | Loïc Hoguin | |
2015-10-20 | We are in 2015 | Loïc Hoguin | |
2015-10-17 | Fix various warnings from recent GCC | Loïc Hoguin | |
2014-04-04 | Fix potential memory leaks and other small improvements | Loïc Hoguin | |
2014-04-03 | Add sdl_window:show/1 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:set_title/2 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:set_size/3 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:set_pos/3 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:set_min_size/3 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:set_max_size/3 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:set_icon/2 | Loïc Hoguin | |
The surface needs to be kept around and not GC otherwise it crashes. | |||
2014-04-03 | Simplify the C code for set_window_bordered | Loïc Hoguin | |
2014-04-03 | Add sdl_window:grab_input/2 | Loïc Hoguin | |
2014-04-03 | Simplify the C code for create_window | Loïc Hoguin | |
2014-04-03 | Add sdl_window:set_fullscreen/2 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:set_brightness/2 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:set_bordered/2 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:restore/1 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:raise/1 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:minimize/1 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:maximize/1 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:hide/1 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:get_title/1 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:get_size/1 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:get_pos/1 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:get_min_size/1 | Loïc Hoguin | |
2014-04-03 | Add 'centered' and 'undefined' pos options to sdl_window:create/6 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:get_max_size/1 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:get_id/1 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:is_input_grabbed/1 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:get_flags/1 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:get_display_index/1 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:get_brightness/1 | Loïc Hoguin | |
2014-04-03 | Add sdl_window:create_window_and_renderer/3 | Loïc Hoguin | |
2014-04-02 | Add a bullet engine example | Loïc Hoguin | |
A function sdl_renderer:set_logical_size/3 has been added. All the functions relative to the window, the renderer, textures and events now run in a separate thread inside the NIF. A few helper functions and macros have been added in order to abstract this out. The code reads like it is doing call or cast to the main thread. In the case of call, the result is then sent back to the calling process as a message (Erlang side catches it directly before returning). The functions relative to SDL init and surfaces have not been threaded yet. It may still be needed from the point of view of SDL or Erlang, but it seems to work fine as it is so they were left alone for now. The bullet example originally came from my submission to Spawnfest 2011, and has been reactualized to work with a modern Erlang, and SDL2. | |||
2014-03-18 | Initial commit | Loïc Hoguin | |