diff options
author | Tony Wasserka <NeoBrainX@gmail.com> | 2014-08-24 17:23:02 +0200 |
---|---|---|
committer | Tony Wasserka <NeoBrainX@gmail.com> | 2014-12-09 16:37:34 +0100 |
commit | 2793619dcef9fb2f97db5f0258ca950e18fe7f13 (patch) | |
tree | 47f0b608ca674d7dce921de2e11b10fc1ca9807a /src/citra_qt/debugger/graphics_cmdlists.hxx | |
parent | citra-qt: Add texture viewer to Pica command list. (diff) | |
download | yuzu-2793619dcef9fb2f97db5f0258ca950e18fe7f13.tar yuzu-2793619dcef9fb2f97db5f0258ca950e18fe7f13.tar.gz yuzu-2793619dcef9fb2f97db5f0258ca950e18fe7f13.tar.bz2 yuzu-2793619dcef9fb2f97db5f0258ca950e18fe7f13.tar.lz yuzu-2793619dcef9fb2f97db5f0258ca950e18fe7f13.tar.xz yuzu-2793619dcef9fb2f97db5f0258ca950e18fe7f13.tar.zst yuzu-2793619dcef9fb2f97db5f0258ca950e18fe7f13.zip |
Diffstat (limited to 'src/citra_qt/debugger/graphics_cmdlists.hxx')
-rw-r--r-- | src/citra_qt/debugger/graphics_cmdlists.hxx | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/citra_qt/debugger/graphics_cmdlists.hxx b/src/citra_qt/debugger/graphics_cmdlists.hxx index 37fe19053..a459bba64 100644 --- a/src/citra_qt/debugger/graphics_cmdlists.hxx +++ b/src/citra_qt/debugger/graphics_cmdlists.hxx @@ -45,6 +45,8 @@ public: public slots: void OnToggleTracing(); + void OnCommandDoubleClicked(const QModelIndex&); + void SetCommandInfo(const QModelIndex&); signals: @@ -57,3 +59,25 @@ private: QWidget* command_info_widget; QPushButton* toggle_tracing; }; + +class TextureInfoDockWidget : public QDockWidget { + Q_OBJECT + +public: + TextureInfoDockWidget(const Pica::DebugUtils::TextureInfo& info, QWidget* parent = nullptr); + +signals: + void UpdatePixmap(const QPixmap& pixmap); + +private slots: + void OnAddressChanged(qint64 value); + void OnFormatChanged(int value); + void OnWidthChanged(int value); + void OnHeightChanged(int value); + void OnStrideChanged(int value); + +private: + QPixmap ReloadPixmap() const; + + Pica::DebugUtils::TextureInfo info; +}; |