Files
renderdoc/qrenderdoc/Windows/TextureViewer.h
T
baldurk 70b99a4412 Remove antiquated 'multiple frames in one capture' support.
* Cleans up the code a bunch, this support is unlikely to ever return
  and if it does it will need a rethink anyway.
2016-04-13 00:28:09 +02:00

38 lines
630 B
C++

#ifndef TEXTUREVIEWER_H
#define TEXTUREVIEWER_H
#include <QFrame>
#include <QMouseEvent>
#include "Code/Core.h"
namespace Ui {
class TextureViewer;
}
class TextureViewer : public QFrame, public ILogViewerForm
{
private:
Q_OBJECT
public:
explicit TextureViewer(Core *core, QWidget *parent = 0);
~TextureViewer();
void OnLogfileLoaded();
void OnLogfileClosed();
void OnEventSelected(uint32_t eventID);
private slots:
void on_render_clicked(QMouseEvent *e);
private:
Ui::TextureViewer *ui;
Core *m_Core;
IReplayOutput *m_Output;
TextureDisplay m_TexDisplay;
};
#endif // TEXTUREVIEWER_H