PrimeWorldEditor/UI/WTexturePreviewPanel.h

26 lines
495 B
C
Raw Normal View History

#ifndef WTEXTUREPREVIEWPANEL_H
#define WTEXTUREPREVIEWPANEL_H
#include "IPreviewPanel.h"
#include <Resource/CTexture.h>
namespace Ui {
class WTexturePreviewPanel;
}
class WTexturePreviewPanel : public IPreviewPanel
{
Q_OBJECT
public:
explicit WTexturePreviewPanel(QWidget *parent = 0, CTexture *pTexture = 0);
~WTexturePreviewPanel();
EResType ResType();
void SetResource(CResource *pRes);
private:
Ui::WTexturePreviewPanel *ui;
};
#endif // WTEXTUREPREVIEWPANEL_H