Update app/ddsviewer.h
This commit is contained in:
parent
d69f6eef40
commit
c898f62d69
@ -1,29 +1,29 @@
|
|||||||
#ifndef DDSVIEWER_H
|
#ifndef DDSVIEWER_H
|
||||||
#define DDSVIEWER_H
|
#define DDSVIEWER_H
|
||||||
|
|
||||||
#include "ddsfile.h"
|
#include "ddsfile.h"
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
class DDSViewer;
|
class DDSViewer;
|
||||||
}
|
}
|
||||||
|
|
||||||
class DDSViewer : public QWidget
|
class DDSViewer : public QWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit DDSViewer(QWidget *parent = nullptr);
|
explicit DDSViewer(QWidget *parent = nullptr);
|
||||||
~DDSViewer();
|
~DDSViewer();
|
||||||
|
|
||||||
void SetDDSFile(std::shared_ptr<DDSFile> aDDSFile);
|
void SetDDSFile(const DDSFile *aDDSFile);
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void MipmapIndexChanged(int aMipmapIndex);
|
void MipmapIndexChanged(int aMipmapIndex);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::DDSViewer *ui;
|
Ui::DDSViewer *ui;
|
||||||
std::shared_ptr<DDSFile> mDDSFile;
|
const DDSFile* mDDSFile;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // DDSVIEWER_H
|
#endif // DDSVIEWER_H
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user