diff --git a/debuggerui.qrc b/debuggerui.qrc index f012c92..8eec583 100644 --- a/debuggerui.qrc +++ b/debuggerui.qrc @@ -11,11 +11,14 @@ icons/remove.png icons/restart.png icons/resume.png + icons/resume-reverse.png icons/settings.png icons/start.png icons/step-back.png icons/step-into.png + icons/step-into-reverse.png icons/step-out.png + icons/step-out-reverse.png icons/step-over.png icons/stop.png diff --git a/icons/resume-reverse.png b/icons/resume-reverse.png new file mode 100644 index 0000000..d7f100f Binary files /dev/null and b/icons/resume-reverse.png differ diff --git a/icons/step-into-reverse.png b/icons/step-into-reverse.png new file mode 100644 index 0000000..ee80b1d Binary files /dev/null and b/icons/step-into-reverse.png differ diff --git a/icons/step-into.png b/icons/step-into.png index 124ed36..5f894d3 100644 Binary files a/icons/step-into.png and b/icons/step-into.png differ diff --git a/icons/step-out-reverse.png b/icons/step-out-reverse.png new file mode 100644 index 0000000..03b7384 Binary files /dev/null and b/icons/step-out-reverse.png differ diff --git a/icons/step-out.png b/icons/step-out.png index 3c828f1..d158533 100644 Binary files a/icons/step-out.png and b/icons/step-out.png differ diff --git a/ui/controlswidget.cpp b/ui/controlswidget.cpp index 75a2f28..27f3be7 100644 --- a/ui/controlswidget.cpp +++ b/ui/controlswidget.cpp @@ -109,22 +109,22 @@ DebugControlsWidget::DebugControlsWidget(QWidget* parent, const std::string name if(m_controller->IsTTD()) addSeparator(); //TODO: IsTTD only updates when the adapter is connected. This leaves the separator in place when the adapter is disconnected. - m_actionGoBack = addAction(getColoredIcon(":/debugger/resume", red), "Go Backwards", [this]() { + m_actionGoBack = addAction(getColoredIcon(":/debugger/resume-reverse", red), "Go Backwards", [this]() { performGoReverse(); }); m_actionGoBack->setToolTip(getToolTip("Go Backwards")); - m_actionStepIntoBack = addAction(getColoredIcon(":/debugger/step-into", red), "Step Into Backwards", [this]() { + m_actionStepIntoBack = addAction(getColoredIcon(":/debugger/step-into-reverse", red), "Step Into Backwards", [this]() { performStepIntoReverse(); }); m_actionStepIntoBack->setToolTip(getToolTip("Step Into Backwards")); - m_actionStepOverBack = addAction(getColoredIcon(":/debugger/step-over", red), "Step Over Backwards", [this]() { + m_actionStepOverBack = addAction(getColoredIcon(":/debugger/step-back", red), "Step Over Backwards", [this]() { performStepOverReverse(); }); m_actionStepOverBack->setToolTip(getToolTip("Step Over Backwards")); - m_actionStepReturnBack = addAction(getColoredIcon(":/debugger/step-out", red), "Step Return Backwards", [this]() { + m_actionStepReturnBack = addAction(getColoredIcon(":/debugger/step-out-reverse", red), "Step Return Backwards", [this]() { performStepReturnReverse(); }); m_actionStepReturnBack->setToolTip(getToolTip("Step Return Backwards"));