Path to this page:
Subject: CVS commit: pkgsrc/devel/py-SDL2
From: Adam Ciarcinski
Date: 2023-06-29 11:28:02
Message id: 20230629092803.003BBFA89@cvs.NetBSD.org
Log Message:
py-SDL2: updated to 0.9.16
0.9.16
------
New Features:
* Updated to wrap new functions and constants in SDL2 2.28.0.
* Added a new method :meth:`~sdl2.ext.Renderer.rcopy` for copying textures to
a Renderer by aligning a given point on the texture to a given location on the
rendering context. Useful for centering textures in the renderer.
* Added a new function :func:`~sdl2.ext.key_pressed` for easily checking
if a given key has been pressed (or released).
* Added a new function :func:`~sdl2.ext.mouse_clicked` for easily checking
if a mouse button has been pressed (or released), as well as a
:func:`~sdl2.ext.get_clicks` function for retrieving the pixel coordinates
of any mouse clicks.
* Added a new function :func:`~sdl2.ext.get_text_input` for returning
text input as a unicode string, as well as :func:`~sdl2.ext.start_text_input`,
:func:`~sdl2.ext.stop_text_input`, and :func:`~sdl2.ext.text_input_enabled`
functions for toggling and querying whether SDL text input events are enabled.
* Added a new function :func:`~sdl2.ext.quit_requested` for easily checking
:func:`~sdl2.ext.get_events` output for quit requests.
Files: