summaryrefslogtreecommitdiffstats
path: root/tdegtk/tqtcairopainter.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-10-29 14:03:10 -0500
committerTimothy Pearson <[email protected]>2012-10-29 14:03:10 -0500
commit0bf8ed2645fa9721cdf2ebab5e81307e1649b967 (patch)
treed9c0d0e0c1d6d7090a32771266eb709bfcfb508a /tdegtk/tqtcairopainter.h
parent623f11f6000cb2f05f51c81e7a1c6fc02ce21907 (diff)
downloadgtk3-tqt-engine-0bf8ed2645fa9721cdf2ebab5e81307e1649b967.tar.gz
gtk3-tqt-engine-0bf8ed2645fa9721cdf2ebab5e81307e1649b967.zip
A few widgets are now working somewhat
Diffstat (limited to 'tdegtk/tqtcairopainter.h')
-rw-r--r--tdegtk/tqtcairopainter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tdegtk/tqtcairopainter.h b/tdegtk/tqtcairopainter.h
index 20a03d3..67ccd79 100644
--- a/tdegtk/tqtcairopainter.h
+++ b/tdegtk/tqtcairopainter.h
@@ -40,7 +40,7 @@ typedef TQPtrStack<TQWMatrix> TQWMatrixStack;
class Q_EXPORT TQt3CairoPaintDevice : public TQPaintDevice // picture class
{
public:
- TQt3CairoPaintDevice( cairo_surface_t *, int width = -1, int height = -1, cairo_t *overridepainter = NULL );
+ TQt3CairoPaintDevice( cairo_surface_t *, int x = 0, int y = 0, int width = -1, int height = -1, cairo_t *overridepainter = NULL );
~TQt3CairoPaintDevice();
protected:
@@ -75,6 +75,8 @@ class Q_EXPORT TQt3CairoPaintDevice : public TQPaintDevice // picture class
private:
mutable int m_width;
mutable int m_height;
+ mutable int m_offsetX;
+ mutable int m_offsetY;
cairo_surface_t *m_surface;
cairo_surface_t *m_intermediateSurface;