diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2020-02-23 18:57:08 +0100 |
|---|---|---|
| committer | Admiral H. Curtiss <pikachu025@gmail.com> | 2020-03-07 01:52:53 +0100 |
| commit | 18127e255408f8d14a3dbb8830bc64601d30352a (patch) | |
| tree | fd57306ab341ed6bce352016db3b9443eb003194 /Source/Core/DolphinQt/Debugger/CodeViewWidget.h | |
| parent | c70e004f53f7ab15794b4ad631a82ed6f14ca934 (diff) | |
Qt/CodeViewWidget: Implement branch arrows.
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeViewWidget.h')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/CodeViewWidget.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Debugger/CodeViewWidget.h b/Source/Core/DolphinQt/Debugger/CodeViewWidget.h index 50e8ccc365..917948f8e6 100644 --- a/Source/Core/DolphinQt/Debugger/CodeViewWidget.h +++ b/Source/Core/DolphinQt/Debugger/CodeViewWidget.h @@ -15,6 +15,9 @@ class QMouseEvent; class QResizeEvent; class QShowEvent; +struct CodeViewBranch; +class BranchDisplayDelegate; + class CodeViewWidget : public QTableWidget { Q_OBJECT @@ -26,6 +29,7 @@ public: }; explicit CodeViewWidget(); + ~CodeViewWidget() override; u32 GetAddress() const; u32 GetContextAddress() const; @@ -38,6 +42,8 @@ public: void ToggleBreakpoint(); void AddBreakpoint(); + u32 AddressForRow(int row) const; + signals: void RequestPPCComparison(u32 addr); void ShowMemory(u32 address); @@ -83,4 +89,8 @@ private: u32 m_address = 0; u32 m_context_address = 0; + + std::vector<CodeViewBranch> m_branches; + + friend class BranchDisplayDelegate; }; |
