Some logic in scroll_frame and frame have been moved from deferred (queued for execution in next call to update()) to immediate. This includes re-building the layer list for frame, and re-build the render target and update the scroll range for scroll_frame.
A bug was fixed in frame_renderer where internal calls to notify_strata_needs_redraw_() would not go through virtual dispatch, contrary to notify_strata_needs_redraw(), thereby preventing derived classes from listening to all strata changes.
A number of missing calls to notify_renderer_need_redraw() were added to the font_string class, in particular to set_text(), and a missing call to scroll_frame when the render target is refreshed.
The internal is_ready_ flag has been renamed to is_valid_ and is now exposed publicly for query.
render_target gained a new save_to_file() function, which is implemented in all back-ends (the OpenGL backend only supports PNG output).
Fixes #117. Changes:
scroll_frame
andframe
have been moved from deferred (queued for execution in next call toupdate()
) to immediate. This includes re-building the layer list forframe
, and re-build the render target and update the scroll range forscroll_frame
.frame_renderer
where internal calls tonotify_strata_needs_redraw_()
would not go through virtual dispatch, contrary tonotify_strata_needs_redraw()
, thereby preventing derived classes from listening to all strata changes.notify_renderer_need_redraw()
were added to thefont_string
class, in particular toset_text()
, and a missing call toscroll_frame
when the render target is refreshed.is_ready_
flag has been renamed tois_valid_
and is now exposed publicly for query.render_target
gained a newsave_to_file()
function, which is implemented in all back-ends (the OpenGL backend only supports PNG output).