Repository navigation
v0.10.0
Full Changelog: v0.9.0...v0.10.0
Added
- New
devbranch for active development. - New
ModifierKey::test_anyandModifierKey::test_allmember functions. - Proper unit tests for inputs functionalities.
- New changelog file.
- Error handling for
GLFW_INVALID_VALUEandGLFW_INVALID_ENUMaddingInvalidValueandInvalidEnumclass respectively.
Fixed
- Fix off-by-one error on
pressed_buttonsandreleased_buttonmember functions for bothKeyStateRecordandMouseButtonStateRecord. - Incorrect logger formatting for internal error.
- Missing
error.hppinclude inglfw_cpp.hppheader.
Changed
- Replace variadics functions to single parameter
std::initializer_listandstd::spanforModifierKeyfunctions. - Make ModifierKey default constructible.
- Make ModifierKey constructor explicit.
- Make
ModifierKey::testfunction take only single parameter. - Make
set_value,set, andunsetmember functions ofKeyStateRecordandMouseButtonStateRecordreturn its instance to allow chaining. - Make
IEventInterceptorand its derivatives a class. - Promote the severity of internal error from Error to Critical.
- Add
ErrorCodeenumeration as an alternative type safe GLFW error code. - Add
ErrorCodeinformation inside theglfw_cpp::Errorclass that can be queried withcode()member function.