Releases: mrizaln/glfw-cpp
Releases · mrizaln/glfw-cpp
v0.10.0
Full Changelog: v0.9.0...v0.10.0
Added
- New
dev
branch for active development. - New
ModifierKey::test_any
andModifierKey::test_all
member functions. - Proper unit tests for inputs functionalities.
- New changelog file.
- Error handling for
GLFW_INVALID_VALUE
andGLFW_INVALID_ENUM
addingInvalidValue
andInvalidEnum
class respectively.
Fixed
- Fix off-by-one error on
pressed_buttons
andreleased_button
member functions for bothKeyStateRecord
andMouseButtonStateRecord
. - Incorrect logger formatting for internal error.
- Missing
error.hpp
include inglfw_cpp.hpp
header.
Changed
- Replace variadics functions to single parameter
std::initializer_list
andstd::span
forModifierKey
functions. - Make ModifierKey default constructible.
- Make ModifierKey constructor explicit.
- Make
ModifierKey::test
function take only single parameter. - Make
set_value
,set
, andunset
member functions ofKeyStateRecord
andMouseButtonStateRecord
return its instance to allow chaining. - Make
IEventInterceptor
and its derivatives a class. - Promote the severity of internal error from Error to Critical.
- Add
ErrorCode
enumeration as an alternative type safe GLFW error code. - Add
ErrorCode
information inside theglfw_cpp::Error
class that can be queried withcode()
member function.