qskinny/src/nodes/QskGraphicNode.h

32 lines
818 B
C
Raw Normal View History

2017-07-21 18:21:34 +02:00
/******************************************************************************
* 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"
2018-08-03 08:15:28 +02:00
#include "QskTextureNode.h"
2017-07-21 18:21:34 +02:00
class QskGraphic;
class QskColorFilter;
class QSK_EXPORT QskGraphicNode : public QskTextureNode
{
2018-08-03 08:15:28 +02:00
public:
2017-07-21 18:21:34 +02:00
QskGraphicNode();
2018-07-31 17:32:25 +02:00
~QskGraphicNode() override;
2017-07-21 18:21:34 +02:00
void setGraphic( const QskGraphic&, const QskColorFilter&,
QskGraphicTextureFactory::RenderMode, const QRect& );
2018-08-03 08:15:28 +02:00
private:
2017-07-21 18:21:34 +02:00
void setTextureId( int ) = delete;
2018-08-03 08:15:28 +02:00
void setRect( const QRectF& ) = delete;
2017-07-21 18:21:34 +02:00
uint m_hash;
};
#endif