Skip to content

Centurion 6.3.0

Compare
Choose a tag to compare
@albin-johansson albin-johansson released this 06 Oct 21:45
becc954

Release notes

This release brings a few minor improvements, features and fixes. Such as adding support for more events and explicitly supporting not using the amalgamated centurion.hpp header (i.e. it's now supported to include the headers in the src folder directly).

Audio

  • [+] fade_status_count()
  • [+] music_type_count()

Core

  • [~] Optimized log::use_preset_output_function() by formatting to a stack buffer (using std::format_to_n)

Compiler

  • [+] CENTURION_HAS_FEATURE_TO_ARRAY

Events

  • [+] Added enumerators to event_type
    • app_will_enter_foreground
    • locale_changed
    • controller_touchpad_down
    • controller_touchpad_up
    • controller_touchpad_motion
    • controller_sensor_update
  • [+] display_event
  • [+] sensor_event
  • [+] user_event
  • [+] controller_touchpad_event
  • [-] Removed deprecated dollar_gesture_event::fingers() function
  • [-] Removed deprecated keyboard_event::modifier_active() function
  • [-] Removed deprecated keyboard_event::shift_active() function
  • [-] Removed deprecated keyboard_event::ctrl_active() function
  • [-] Removed deprecated keyboard_event::alt_active() function
  • [-] Removed deprecated keyboard_event::gui_active() function
  • [-] Removed deprecated keyboard_event::caps_active() function
  • [-] Removed deprecated keyboard_event::num_active() function
  • [-] Removed deprecated multi_gesture_event::set_fingers() function
  • [-] Removed deprecated multi_gesture_event::fingers() function

Video

  • [~] Fixed special case in the color::as_{rgb/rgba/argb} functions which could result in the resulting string being shorter than expected
  • [+] blend_factor enum
  • [+] blend_op enum
  • [+] blend_task struct
  • [+] compose_blend_mode()
  • [-] Removed deprecated overloads of from_hsv() and from_hsl() from color