From 4f6769625920475b02c0bd12a237f5b7f86e506f Mon Sep 17 00:00:00 2001 From: Alexander Taylor Date: Tue, 9 Apr 2024 15:17:26 -0400 Subject: [PATCH] Add new reversible debugging icons. --- debuggerui.qrc | 3 +++ icons/resume-reverse.png | Bin 0 -> 1834 bytes icons/step-into-reverse.png | Bin 0 -> 1376 bytes icons/step-into.png | Bin 1293 -> 1417 bytes icons/step-out-reverse.png | Bin 0 -> 1400 bytes icons/step-out.png | Bin 1324 -> 1365 bytes ui/controlswidget.cpp | 8 ++++---- 7 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 icons/resume-reverse.png create mode 100644 icons/step-into-reverse.png create mode 100644 icons/step-out-reverse.png 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 0000000000000000000000000000000000000000..d7f100f4d3358c674530d8375a6144fa70acdb06 GIT binary patch literal 1834 zcmV+_2i5qAP)0004kX+uL$b5ch_ zAW20-HZeIiHZ3wPF#rH4k#&*JD@0Kg$3HVhGclrASST+I8$a@+#73D(C}|p_{MyVs zZ)Vi|c)d50Y?bX4B{qI7_zT!7Yo&;ktY=MZ&~u)rW|BF#bI<2~?>(n`&joiht!7M5 zFJ!WLBQhRT=H?d^ZxIhZn&_l8rkeU_I6Or~d%wqJ$J=hZR^@a5TJ5rCs^IbokEptl z7oHHFTFdJ;?+7=kso1jcnQ)gO7Zkp;^|-@Do0ATI+H6E4A#gVcE6FmBm$8~MGQ#q5 z0-5xx`gxSBP%N8_x|KhlapLkW}S5m zR!EW}PnW2xQeBgn5M7gzX5H@p-@clOfqtjDKM2*&mi5{W-fj3QSk}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~*!K%jKR`_Bnlo$fkVN4eTF4zYUysuKWNEdS|_Q%Z@{nuK^f; zGD$>1RA_wKy%e%x_Yw2gHRH9iRhrvxj&#oo`Nnx z(6KtSi--`^!J8EH!-F0|JjsXOIO>-P42!bGg2pq@JG;PsDxJBb`Y-|t&A#M`{kw_#gn#igE zKA%sz>-YODn#igELjwhX4GI7o6aY3T0BleI*q{Kg`STxr001;iyIihfvH14(_DzGC znVF@frKhK-+uPf34rK@&$MgBT_@+{;)n;dBRhuykBS^ToxKM4DN~J#Dd-nH#_pKEF z$NKuZ)Qn}>Kp>!OW+Xs79`E=2A8q>m{`mN~Ss&B?fr*I;>8{`Jzr4I8Nz&{%p-|}b z^b`Q_aRdM`Ha2E<9MeosPxCx4e5Oz+*zI;{GyPv+a&q$J2(5-Bw49cWZgTR&iwp;{4ne>32z8r007|R zM@M1Wi%=BR?RJ%CSD$*lZe6v@G_hDr`Ebyo-EPm#&B3<*Ogf!5XwUO}Bocw`t41c1 zF%lq^O2IbO0LSsOvon4BgM$Oun!4ES_ClecWuMJvA>TBOK$2v+TvpoO-QBrdF4%U) z2m}Jk0J1LzKb@_uEvfx~=H@1BBl9dTFN^lpeIP?15C~NO0Lf(X>guZ5Y(76f=kxiM zl@-`hh8YqWXt2OY&+<+@#i;Igo zif*?%7z_?}#sLTTvN|g(t^PPDiqg7%e#e^B;c&1lt7Ts*m0$}^8enyGRn@-N>kY4b z`%RL`CJ)ShKoiz*RTJz2b7Z!{WRSXkgV?*9Hhm&>(UEsN$tAP~QqzdVN>cvj}m QVE_OC07*qoM6N<$f|224Qvd(} diff --git a/icons/step-out-reverse.png b/icons/step-out-reverse.png new file mode 100644 index 0000000000000000000000000000000000000000..03b738430f81db457b7716a63b7b8163b613711b GIT binary patch literal 1400 zcmV-;1&8{HP)0004kX+uL$b5ch_ zAW20-HZeIiHZ3wPF#rH4k#&*JD@0Kg$3HVhGclrASST+I8$a@+#73D(C}|p_{MyVs zZ)Vi|c)d50Y?bX4B{qI7_zT!7Yo&;ktY=MZ&~u)rW|BF#bI<2~?>(n`&joiht!7M5 zFJ!WLBQhRT=H?d^ZxIhZn&_l8rkeU_I6Or~d%wqJ$J=hZR^@a5TJ5rCs^IbokEptl z7oHHFTFdJ;?+7=kso1jcnQ)gO7Zkp;^|-@Do0ATI+H6E4A#gVcE6FmBm$8~MGQ#q5 z0-5xx`gxSBP%N8_x|KhlapLkW}S5m zR!EW}PnW2xQeBgn5M7gzX5H@p-@clOfqtjDKM2*&mi5{W-fj3QSk}jpWqln()e~H1 zOZmA&7Ac>^d z4nimG2NWejhoH6$Vnd>^Hs3?MHqGd!wc{l0bDMFN@AGkX)^&CP(4kA+500_h?E?b? z9LL??-)k;Jing}4iHQk85K^gB{y%GLYqY&oDJqRHG&Dq4lEu5cUT-3iDD!xS!=b6q zuW`9trM_&O=jZ3n&Q99OUr{+*5Yp*%AP}JKi*bE@t?s?QzdtiG)6>(#Fbr*3001x` z?NBJBet^&CGnq{3bUL5U6SMjSHk+-S^JjN=x4pfcwrmN?Tmuge4`X9vv}KEdyWZa3 zmWmMyh3f0;X)AwaWn~4iTwY!d27{6$70s}t)Q50!QRf5H0xw^VSGIV!$)Ap)_k&zK3!0PHM zZK(=5JUoO0NRmYQa`cmpEfrXn_51yWW@BSxGMP-JQrcD_h}CL+d3k{+VRLhnwp4|z zudl-a-rnBqb~|mUN*Epw%jMu6a`zNO0=&My-re27 zJxxtbBnkmS0RRAxkB@K@-V@N4Dg~&$8IWZeZq{Ca^Ye4Kd2@3^s1PaKZg*h=FPqJh zyNnXtgz|VilarGGfN(f`e0)rr`hOjUVFW?QV+exq zCmtPq%k=a#ZvR0r7^H3Y9W2YrvRo>FEX#Fu8t+7DOkZDLDfhTXos#-}F(w2+>0000 literal 0 HcmV?d00001 diff --git a/icons/step-out.png b/icons/step-out.png index 3c828f1c83eeb97290d1ed753374195905bc8d4e..d158533e104c1ffaece0aa4d00b2d621d9dd1d6b 100644 GIT binary patch delta 1327 zcmV+~1xSBY!I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BFe#ZI_-A5%jL4V*zI=X zu^$*1xW2wdgakntA0Gz*r~?21c%FZIdqZ0C`FvMbSF7!vPUq?ADWW2ZqR;1(3p4`& z0D{4wBuPkPGMQ}YiM74GJ()~@LKWd~_^U=Q003ZhbyeLPi9}j=VnyyWWi~c8lr;tc zD2m$N-d1m6Wo4xm_LGy7>bdv!_K^K&5C8z+a5xf)1hNr95PEugtoqPa8zv?ukdag> zwYazlAvC`cQ4|*z7V`PLaxH zjZ~}EtE(%kKFzSczFx1_A%v+^s;{q4vu0;!N4Y$XkB>FWIF8F^vk=0Yo12-L89S}N z)7{cO=K4?m#bJT%0C7kA0Ii6vuPq5FZe9W27^I{ zVGa)u@9ysGn}|Rl5Y+g5zIZ%dDwQ4{9ukQ}AP~T9WE#EyZuj^1Y5Ff*_`~6_+FoX9 zX$iMoBWRj_ety;qP^;BCIy!JW8p3g$p1q9x0O|+%;YB$#G-O+?lgul!`k&`_tr~f*d00000NkvXXu0mjf0_0>~ 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"));