diff options
author | JP Cimalando <jpcima@users.noreply.github.com> | 2018-12-27 11:27:58 +0100 |
---|---|---|
committer | Filipe Coelho <falktx@falktx.com> | 2019-01-06 19:10:11 +0100 |
commit | c6f5d34be6ee0a292f044edaa47c72c8a71257a5 (patch) | |
tree | ce207a3c1fd3b58eecc5f7a8ef40dfbd121eb916 /dgl/Window.hpp | |
parent | 2795c66b1654b6fda8f5a892057ffb625508a60f (diff) |
dgl: add the Context structure
Diffstat (limited to 'dgl/Window.hpp')
-rw-r--r-- | dgl/Window.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dgl/Window.hpp b/dgl/Window.hpp index 0b44f7f9..c5de5762 100644 --- a/dgl/Window.hpp +++ b/dgl/Window.hpp @@ -119,9 +119,7 @@ public: Application& getApp() const noexcept; intptr_t getWindowId() const noexcept; -#ifdef HAVE_DCAIRO - cairo_t* getContext() const noexcept; -#endif + const Context& getContext() const noexcept; void addIdleCallback(IdleCallback* const callback); void removeIdleCallback(IdleCallback* const callback); |