aboutsummaryrefslogtreecommitdiffstats
path: root/src/esdl2.erl
AgeCommit message (Collapse)Author
2018-02-15Add the glyph rendering functionsLoïc Hoguin
2018-02-13Add functions for obtaining glyph informationsLoïc Hoguin
2018-02-07Add most remaining sdl_ttf functionsLoïc Hoguin
The only functions left are glyphs and functions I'm not sure should be implemented.
2018-02-06Initial work on the SDL_ttf functionsLoïc Hoguin
2018-02-02Add the get_num_allocations functionLoïc Hoguin
No corresponding Erlang module, only callable via esdl2. Don't really need much more than that.
2018-01-31Add all SDL_rect functionsLoïc Hoguin
2018-01-18Add screensaver functionsLoïc Hoguin
2018-01-17Add the SDL_SetWindowHitTest callbackLoïc Hoguin
2018-01-10Add most remaining window functionsLoïc Hoguin
2018-01-07Add more window functionsLoïc Hoguin
2018-01-07Add the display mode query functionsLoïc Hoguin
2018-01-07Add many sdl_video functionsLoïc Hoguin
2018-01-07Add a bunch of sdl_renderer functionsLoïc Hoguin
2018-01-05Implement SDL_GetPlatform to get one more header doneLoïc Hoguin
2018-01-05Add the remaining keyboard functionsLoïc Hoguin
Also adds defines for all the keycode and scancode in SDL 2.0.7.
2018-01-03Add many sdl_keyboard functionsLoïc Hoguin
2018-01-02Welcome to 2018Loïc Hoguin
2018-01-02Add many events and event functionsLoïc Hoguin
2017-12-25Add the new sdl_cpuinfo.h functionsLoïc Hoguin
2017-12-25Add everything from sdl_blend_mode.hLoïc Hoguin
2017-12-21Add sdl_cursor along with all its related functionsLoïc Hoguin
2017-12-20Add the sdl_mouse module implementing half of sdl_mouse.hLoï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.
2015-10-21Add sdl_hints:add_callback/3 functionLoïc Hoguin
This also sets up esdl2 to start accepting callbacks. The module/process esdl2_callbacks must always be running for that purpose, so esdl2 was made an OTP application instead of a simple library. Implementation of the rest of SDL_hints will follow in subsequent commits.
2015-10-20Add sdl_keyboard with 3 text input related functionsLoïc Hoguin
The following functions were added: * sdl_keyboard:start_text_input() * sdl_keyboard:stop_text_input() * sdl_keyboard:is_text_input_active() Calling sdl_keyboard:stop_text_input() at the beginning of the program allows not receiving unwanted textinput events.
2015-10-20We are in 2015Loïc Hoguin
2015-10-20Add sdl_gl:create_context/1 and sdl_gl:swap_window/1Loïc Hoguin
These functions are the bare minimum needed to experiment with OpenGL. My experiments so far rule out reusing the gl and glu modules found in the wx application. It seems that any OpenGL call from a different thread than the window's thread won't work, at least on Linux. I'm afraid that implementing OpenGL in the future will require duplicating the work done in the wx application. OpenGL support is not a priority however, so it's not a big deal just yet.
2014-04-07Add sdl_texture:set_color_mod/4Loïc Hoguin
2014-04-07Add sdl_texture:set_blend_mode/2Loïc Hoguin
2014-04-07Add sdl_texture:set_alpha_mod/2Loïc Hoguin
2014-04-07Add sdl_texture:get_color_mod/1Loïc Hoguin
2014-04-07Add sdl_texture:get_blend_mode/1Loïc Hoguin
2014-04-07Add sdl_texture:get_alpha_mod/1Loïc Hoguin
2014-04-07Add sdl_renderer:set_draw_blend_mode/2Loïc Hoguin
2014-04-07Add sdl_renderer:is_target_supported/1Loïc Hoguin
2014-04-07Add sdl_renderer:set_viewport/{2,5}Loïc Hoguin
2014-04-07Add sdl_renderer:set_scale/3Loïc Hoguin
2014-04-07Add sdl_renderer:set_clip_rect/{2,5}Loïc Hoguin
2014-04-07Add sdl_renderer:get_viewport/1Loïc Hoguin
2014-04-07Add sdl_renderer:get_scale/1Loïc Hoguin
2014-04-07Add sdl_renderer:get_logical_size/1Loïc Hoguin
2014-04-07Add sdl_renderer:get_clip_rect/1Loïc Hoguin
2014-04-05Add sdl_renderer:fill_rects/2Loïc Hoguin
2014-04-05Add sdl_renderer:fill_rect/{2,5}Loïc Hoguin
2014-04-05Add sdl_renderer:draw_rects/2Loïc Hoguin
2014-04-05Add sdl_renderer:draw_rect/{2,5}Loïc Hoguin
2014-04-05Add sdl_renderer:draw_points/2Loïc Hoguin
2014-04-05Add sdl_renderer:draw_point/{2,3}Loïc Hoguin
2014-04-04Add sdl_renderer:draw_lines/2Loïc Hoguin
2014-04-04Add sdl_renderer:draw_line/{3,5}Loïc Hoguin
2014-04-04Add sdl_renderer:copy/7Loïc Hoguin