mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
5f28b745a2
_ /)
mo / )
|/)\)
/\_
\__|=
( )
__)(__
_____/ \\_____
| _ ___ _ ||
| | \ | | \ ||
| | | | | | ||
| |_/ | |_/ ||
| | \ | | ||
| | \ | | ||
| | \. _|_. | . ||
| ||
|repository history||
| ||
* | * ** * ** |** **
\))ejm97/.,(//,,..,,\||(,,.,\\,.((//
38 lines
618 B
C++
38 lines
618 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
|