Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove RenderingBuffer from the API #290

Merged
merged 3 commits into from
Jan 11, 2021
Merged

Conversation

cecilios
Copy link
Member

@cecilios cecilios commented Jan 9, 2021

This PR closes #283.

  • RenderingBuffer is no longer an object that the user app. should know about.
  • Methods Interactor::set_rendering_buffer() and Interactor::set_print_buffer() accepting a ptr. to the RenderingBuffer have been deprecated and replaced by two new methods that receive the necessary data (unsigned char* buf, unsigned width, unsigned height).
  • A new method Interactor::set_view_area() has been defined. Its usage is optional and it is oriented to define a sub-region of the rendering bitmap.
  • All tutorials and samples have been updated.
  • A new method ScorePlayer::load_score() has been defined, accepting a AScore objectd instead of a ptr. to an ImoScore object.

API documentation will be updated soon.

@cecilios cecilios merged commit 18a0a75 into lenmus:master Jan 11, 2021
@cecilios cecilios deleted the changes branch January 11, 2021 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove RenderingBuffer from the API
1 participant