Into one generic class (glfw_graphics_toolkit) for implementing a glfw based toolkit, which the main toolkit (notebook_graphics_toolkit) inherits.
This is useful for implementing more than one toolkits that share the same rendering process (happening in the redraw_figure function of the base class) but a different way of sending the data to the frontend (through the send_figure function).
This is part of the work for the xwidgets integration, but it's independent enough to be considered on its own.
Into one generic class (
glfw_graphics_toolkit
) for implementing a glfw based toolkit, which the main toolkit (notebook_graphics_toolkit
) inherits.This is useful for implementing more than one toolkits that share the same rendering process (happening in the
redraw_figure
function of the base class) but a different way of sending the data to the frontend (through thesend_figure
function).This is part of the work for the xwidgets integration, but it's independent enough to be considered on its own.