mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Qt/CodeViewWidget: Implement branch arrows.
This commit is contained in:
@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user