took place the release of the library SDL 2.0.22 (Simple DirectMedia Layer), aimed at simplifying writing games and multimedia applications. The SDL library provides means such as hard-achered output of 2D and 3D graphs, input processing, sound reproduction, 3D output through Opengl/Opengl ES/Vulkan and many other concomitant operations. The library is written in the language of SI and spreads under the Zlib license. To use the capabilities of SDL in projects in various programming languages, binding are provided.
in the new issue:
- Improved support for the Wayland protocol. It was originally planned to proceed to the use of the Wayland protocol in the environment, providing simultaneous support for Wayland and X11, but due to NVIDIA games and drivers related to Wayland, it was decided to wait with the transition (in Wayland-crushes with the XWALAND component, the conclusion is used before the conclusion is applied with the conclusion using the protocol x11). To use Wayland, you can set the environment variable “SDL_VIDEODRIVER = WAYLAND” before starting the application or add the function ‘SDL_SETHINT (SDL_HINT_VIDEODRIVER, “WAYLAND, X11”) “Before the call SDL_init (). Wayland compilation requires at least a version of Libwayland-Client 1.18.0.
- Added the SDL_RENDERGETWINDOW () function to obtain a window associated with SDL_renderr.
- A set of functions for manipulating rectangular areas (determination of points, cleaning, comparison, unification, etc.), operating with the values of the floating commas: sdl_pointinfrect (), sdl_freectempty (), sdl_frectequapspsil_ (), SDL_INTERSECTFRECT (), SDL_UNIONFRECT (), SDL_ENCLOSEFPOINTS () and SDL_INTERSETFRECTANDLINE ().
- Added the SDL_IstextinPutshown () function to verify the text entry window.
- Added the SDL_Clearcomposition () function to clean the area input of the text without disconnecting the input method (IME).
- Added an event SDL_TEXTEDITING_EXT for processing long text entry areas and a sign of SDL_HINT_IME_SUPPORT_EXTENDED_TEXT to include this event.
- Added a sign of sdl_hint_mouse_relative_mode_center to limit the mouse to the entire window or only the center of the window when the relative mode is turned on.
- Automatic capture of the mouse is turned on when you press the mouse buttons. To turn off, a sign of sdl_hint_mouse_auto_capture.
- Added signs of SDL_HINT_VIDEO_Foreign_Window_OPENGL and SDL_HINENT_VIDEO_FOREIGN_WINDOW_VULKAN to transmit information about the use of OpenGL or Vulkan.
- Added a sign of sdl_hint_quit_on_last_window_close to turn on the delivery of the SDL_QUIT event when closing the last application window.
- Added a sign of SDL_Hint_JOYSTIC_ROG_CHAKRAM to process the mouse ROG Chakram as a joystick.
- For Linux added a sign of SDL_hint_x111_Window_type for exhibiting the parameter for the windows _NET_WM_Window_type.
- For Linux added a sign of SDL_hint_video_Wayland_Prefer_LibDecor for using LibDecor with composite servers that support XDG-DECORATION.
- For Android, the SDL_androidMessage () function for sending an arbitrary command to the Java-cutter SDL.
.
is proposed.
in the external window
/Media reports.