diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2014-08-08 16:33:14 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-08-08 20:07:28 +0200 |
commit | 126c06586849ca41c7d13b833cb8af98d3873b4b (patch) | |
tree | 3b2ada357f5768833ce0e0ecee6c28c681c15312 /src/quick/scenegraph/qsgcontext_p.h | |
parent | 024c0b35d9dcc72d11bfcb8faadac921be92e706 (diff) |
Added interface for the QStyle rendering in QtQuick Controls
This allows a scene graph backend to customize the style rendering
Change-Id: I6048df47ed3705d81140d63a21257f704a0e0a82
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/quick/scenegraph/qsgcontext_p.h')
-rw-r--r-- | src/quick/scenegraph/qsgcontext_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/scenegraph/qsgcontext_p.h b/src/quick/scenegraph/qsgcontext_p.h index 7113ef8530..97b2c2b358 100644 --- a/src/quick/scenegraph/qsgcontext_p.h +++ b/src/quick/scenegraph/qsgcontext_p.h @@ -64,6 +64,7 @@ class QSGContextPrivate; class QSGRectangleNode; class QSGImageNode; class QSGGlyphNode; +class QSGNinePatchNode; class QSGRenderer; class QSGDistanceFieldGlyphCache; class QQuickWindow; @@ -174,6 +175,7 @@ public: virtual QSGRectangleNode *createRectangleNode(); virtual QSGImageNode *createImageNode(); virtual QSGGlyphNode *createGlyphNode(QSGRenderContext *rc, bool preferNativeGlyphNode); + virtual QSGNinePatchNode *createQStyleNode(); virtual QAnimationDriver *createAnimationDriver(QObject *parent); virtual QSize minimumFBOSize() const; |