mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
Qt/CodeViewWidget: Implement branch arrows.
This commit is contained in:
parent
c70e004f53
commit
18127e2554
2 changed files with 131 additions and 5 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue