~verzegnassi-stefano/+junk/docviewer-test-2015-11-15

« back to all changes in this revision

Viewing changes to src/plugin/libreofficetoolkit-qml-plugin/sgtileitem.cpp

  • Committer: Stefano Verzegnassi
  • Date: 2015-11-15 14:51:48 UTC
  • mfrom: (194.1.4 reboot-lok-dont-be-dumb)
  • Revision ID: stefano92.100@gmail.com-20151115145148-5lr3efos6r1wiapm
mergeĀ 1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#include "sgtileitem.h"
2
2
#include "lodocument.h"
3
 
#include "config.h"
4
3
 
5
4
#include <QQuickWindow>
6
5
#include <QSGSimpleTextureNode>
51
50
}
52
51
 
53
52
#ifdef DEBUG_SHOW_TILE_BORDER
54
 
void SGTileItem::drawTileBorders(QSGNode* basicNode)
 
53
void SGTileItem::drawTileBorders(QSGSimpleTextureNode* parentNode)
55
54
{
56
 
    auto node = basicNode;
 
55
    auto node = parentNode;
57
56
    auto tileBorderGeometry = new QSGGeometry(QSGGeometry::defaultAttributes_Point2D(), 8);
58
57
    tileBorderGeometry->setDrawingMode(GL_LINES);
59
58
    tileBorderGeometry->setLineWidth(4);