• Christophe Geuzaine's avatar
    · 9d3a0f24
    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
CutSphere.cpp 4.8 KB