Skip to content
Snippets Groups Projects
Forked from gmsh / gmsh
Source project has a limited visibility.
Christophe Geuzaine's avatar
Christophe Geuzaine authored
Encapsulate toolkit-dependent global drawing functions in new
drawContextGlobal class, and add a static drawContextGlobal to
drawContext, with a default version that does nothing.

This allows to have a completely virtualized drawing system: we can
now ship a library with a fully working graphic system, indepedent of
the widget toolkit. A client code just needs to subclass
drawContextGlobal to get working graphics (see
e.g. api_demos/mainAntTweakBar.cpp)
9d3a0f24
History
Name Last commit Last update
..