qskinny/src/nodes/QskGraphicNode.h
2018-08-03 08:30:23 +02:00

32 lines
818 B
C++

/******************************************************************************
* QSkinny - Copyright (C) 2016 Uwe Rathmann
* This file may be used under the terms of the QSkinny License, Version 1.0
*****************************************************************************/
#ifndef QSK_GRAPHIC_NODE_H
#define QSK_GRAPHIC_NODE_H
#include "QskGraphicTextureFactory.h"
#include "QskTextureNode.h"
class QskGraphic;
class QskColorFilter;
class QSK_EXPORT QskGraphicNode : public QskTextureNode
{
public:
QskGraphicNode();
~QskGraphicNode() override;
void setGraphic( const QskGraphic&, const QskColorFilter&,
QskGraphicTextureFactory::RenderMode, const QRect& );
private:
void setTextureId( int ) = delete;
void setRect( const QRectF& ) = delete;
uint m_hash;
};
#endif