Small tweaks to memory address indicator on memory inspection widget
This commit is contained in:
@@ -435,7 +435,7 @@ namespace Bloom::Widgets
|
|||||||
this->hoveredByteWidget = widget;
|
this->hoveredByteWidget = widget;
|
||||||
|
|
||||||
this->hoveredAddressLabel->setText(
|
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()) {
|
if (this->settings.highlightHoveredRowAndCol && !this->byteItemsByRowIndex.empty()) {
|
||||||
@@ -456,7 +456,7 @@ namespace Bloom::Widgets
|
|||||||
auto* byteItem = this->hoveredByteWidget;
|
auto* byteItem = this->hoveredByteWidget;
|
||||||
this->hoveredByteWidget = nullptr;
|
this->hoveredByteWidget = nullptr;
|
||||||
|
|
||||||
this->hoveredAddressLabel->setText("Relative Address (Absolute Address):");
|
this->hoveredAddressLabel->setText("Relative Address / Absolute Address:");
|
||||||
|
|
||||||
if (this->settings.highlightHoveredRowAndCol && !this->byteItemsByRowIndex.empty()) {
|
if (this->settings.highlightHoveredRowAndCol && !this->byteItemsByRowIndex.empty()) {
|
||||||
for (auto& byteWidget : this->byteItemsByColumnIndex.at(byteItem->currentColumnIndex)) {
|
for (auto& byteWidget : this->byteItemsByColumnIndex.at(byteItem->currentColumnIndex)) {
|
||||||
|
|||||||
@@ -206,7 +206,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="Label" name="byte-address-label">
|
<widget class="Label" name="byte-address-label">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Relative Address (Absolute Address):</string>
|
<string>Relative Address / Absolute Address:</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|||||||
Reference in New Issue
Block a user