33 lines
835 B
C
33 lines
835 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 "QskGlobal.h"
|
||
|
#include "QskTextureNode.h"
|
||
|
#include "QskGraphicTextureFactory.h"
|
||
|
|
||
|
class QskGraphic;
|
||
|
class QskColorFilter;
|
||
|
|
||
|
class QSK_EXPORT QskGraphicNode : public QskTextureNode
|
||
|
{
|
||
|
public:
|
||
|
QskGraphicNode();
|
||
|
virtual ~QskGraphicNode();
|
||
|
|
||
|
void setGraphic( const QskGraphic&, const QskColorFilter&,
|
||
|
QskGraphicTextureFactory::RenderMode, const QRect& );
|
||
|
|
||
|
private:
|
||
|
void setTextureId( int ) = delete;
|
||
|
void setRect(const QRectF& ) = delete;
|
||
|
|
||
|
uint m_hash;
|
||
|
};
|
||
|
|
||
|
#endif
|