| @@ -313,7 +313,7 @@ public: | |||||
| Window& getParentWindow() const noexcept; | Window& getParentWindow() const noexcept; | ||||
| #if defined(HAVE_DCAIRO) | #if defined(HAVE_DCAIRO) | ||||
| cairo_t* getGraphics() const noexcept; | |||||
| cairo_t* getContext() const noexcept; | |||||
| #endif | #endif | ||||
| /** | /** | ||||
| @@ -120,7 +120,7 @@ public: | |||||
| intptr_t getWindowId() const noexcept; | intptr_t getWindowId() const noexcept; | ||||
| #if defined(HAVE_DCAIRO) | #if defined(HAVE_DCAIRO) | ||||
| cairo_t* getGraphics() const noexcept; | |||||
| cairo_t* getContext() const noexcept; | |||||
| #endif | #endif | ||||
| void addIdleCallback(IdleCallback* const callback); | void addIdleCallback(IdleCallback* const callback); | ||||
| @@ -190,9 +190,9 @@ Window& Widget::getParentWindow() const noexcept | |||||
| } | } | ||||
| #if defined(HAVE_DCAIRO) | #if defined(HAVE_DCAIRO) | ||||
| cairo_t* Widget::getGraphics() const noexcept | |||||
| cairo_t* Widget::getContext() const noexcept | |||||
| { | { | ||||
| return pData->parent.getGraphics(); | |||||
| return pData->parent.getContext(); | |||||
| } | } | ||||
| #endif | #endif | ||||
| @@ -1385,7 +1385,7 @@ intptr_t Window::getWindowId() const noexcept | |||||
| } | } | ||||
| #if defined(HAVE_DCAIRO) | #if defined(HAVE_DCAIRO) | ||||
| cairo_t* Window::getGraphics() const noexcept | |||||
| cairo_t* Window::getContext() const noexcept | |||||
| { | { | ||||
| return (cairo_t*)puglGetContext(pData->fView); | return (cairo_t*)puglGetContext(pData->fView); | ||||
| } | } | ||||