![]() Added a window event SDL_WINDOWEVENT_HIT_TEST when a window had a hit test that wasn’t SDL_HITTEST_NORMAL (e.g.Added SDL_GetWindowBordersSize() which returns the size of the window’s borders around the client area.For example, on Mac OS X, this subtracts the area occupied by the menu bar and dock. Added SDL_GetDisplayUsableBounds() which returns the area usable for windows.Added SDL_CreateRGBSurfaceWithFormat() and SDL_CreateRGBSurfaceWithFormatFrom() to create an SDL surface with a specific pixel format.Added SDL_RenderSetIntegerScale() to set whether to smoothly scale or use integral multiples of the viewport size when scaling the rendering output.Added SDL_GetHintBoolean() to get the boolean value of a hint.You can set the hint SDL_HINT_BMP_SAVE_LEGACY_FORMAT to “1” to use the old format. Saving a surface with an alpha channel as a BMP will use a newer BMP format that supports alpha information. ![]() You can set the hint SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH to “1” to allow that click through to the window. By default the click raising a window will not be delivered to the SDL application.Added events for dragging and dropping multiple items.Added events for dragging and dropping text.Added SDL_DequeueAudio() to retrieve audio when buffer queuing is turned on for audio capture.Implemented audio capture support for some platforms.In addition to lots of bug fixes and build improvements, here are the major changes in this release: Thanks to all the people who contributed code and feedback, SDL 2.0.5 is now available!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |