26 lines
495 B
C++
26 lines
495 B
C++
#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
|