From 4da3a84c06f38be8c6b49b2e522bcd727a17a166 Mon Sep 17 00:00:00 2001 From: Nav Date: Sat, 3 Sep 2022 20:34:44 +0100 Subject: [PATCH] Small tweaks to memory address indicator on memory inspection widget --- .../HexViewerWidget/ByteItemGraphicsScene.cpp | 4 ++-- .../HexViewerWidget/UiFiles/HexViewerWidget.ui | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ByteItemGraphicsScene.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ByteItemGraphicsScene.cpp index 13990a21..c59a0eff 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ByteItemGraphicsScene.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/ByteItemGraphicsScene.cpp @@ -435,7 +435,7 @@ namespace Bloom::Widgets this->hoveredByteWidget = widget; this->hoveredAddressLabel->setText( - "Relative Address (Absolute Address): " + widget->relativeAddressHex + " (" + widget->addressHex + ")" + "Relative Address / Absolute Address: " + widget->relativeAddressHex + " / " + widget->addressHex ); if (this->settings.highlightHoveredRowAndCol && !this->byteItemsByRowIndex.empty()) { @@ -456,7 +456,7 @@ namespace Bloom::Widgets auto* byteItem = this->hoveredByteWidget; this->hoveredByteWidget = nullptr; - this->hoveredAddressLabel->setText("Relative Address (Absolute Address):"); + this->hoveredAddressLabel->setText("Relative Address / Absolute Address:"); if (this->settings.highlightHoveredRowAndCol && !this->byteItemsByRowIndex.empty()) { for (auto& byteWidget : this->byteItemsByColumnIndex.at(byteItem->currentColumnIndex)) { diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/UiFiles/HexViewerWidget.ui b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/UiFiles/HexViewerWidget.ui index e2d9f0a2..828b5655 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/UiFiles/HexViewerWidget.ui +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/UiFiles/HexViewerWidget.ui @@ -206,7 +206,7 @@ - Relative Address (Absolute Address): + Relative Address / Absolute Address: