Skip to content
Snippets Groups Projects
Commit 9d3a0f24 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

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)
parent 14661bfe
No related branches found
No related tags found
No related merge requests found
Showing with 268 additions and 292 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment