diff --git a/plugins/builtin/source/content/views/view_data_inspector.cpp b/plugins/builtin/source/content/views/view_data_inspector.cpp index bd38f21e7..bdb7cbef0 100644 --- a/plugins/builtin/source/content/views/view_data_inspector.cpp +++ b/plugins/builtin/source/content/views/view_data_inspector.cpp @@ -20,6 +20,7 @@ #include #include +#include namespace hex::plugin::builtin { @@ -277,11 +278,11 @@ namespace hex::plugin::builtin { const auto providerEndAddress = baseAddress + providerSize; ImGui::BeginDisabled(!selection.has_value() || providerSize < requiredSize || selection->getStartAddress() < baseAddress + requiredSize); - if (ImGuiExt::DimmedIconButton(ICON_VS_CHEVRON_LEFT, ImGui::GetStyleColorVec4(ImGuiCol_Text), buttonSizeSmall)) { + if (ImGuiExt::DimmedIconButton(ICON_TA_CHEVRON_LEFT_PIPE, ImGui::GetStyleColorVec4(ImGuiCol_Text), buttonSizeSmall)) { ImHexApi::HexEditor::setSelection(Region { selection->getStartAddress() % requiredSize, requiredSize }); } ImGui::SameLine(); - if (ImGuiExt::DimmedIconButton(ICON_VS_ARROW_LEFT, ImGui::GetStyleColorVec4(ImGuiCol_Text), buttonSize)) { + if (ImGuiExt::DimmedIconButton(ICON_TA_CHEVRON_LEFT, ImGui::GetStyleColorVec4(ImGuiCol_Text), buttonSize)) { ImHexApi::HexEditor::setSelection(Region { selection->getStartAddress() - requiredSize, requiredSize }); } ImGui::EndDisabled(); @@ -289,11 +290,11 @@ namespace hex::plugin::builtin { ImGui::SameLine(); ImGui::BeginDisabled(!selection.has_value() || providerSize < requiredSize || selection->getEndAddress() >= providerEndAddress - requiredSize); - if (ImGuiExt::DimmedIconButton(ICON_VS_ARROW_RIGHT, ImGui::GetStyleColorVec4(ImGuiCol_Text), buttonSize)) { + if (ImGuiExt::DimmedIconButton(ICON_TA_CHEVRON_RIGHT, ImGui::GetStyleColorVec4(ImGuiCol_Text), buttonSize)) { ImHexApi::HexEditor::setSelection(Region { selection->getStartAddress() + requiredSize, requiredSize }); } ImGui::SameLine(); - if (ImGuiExt::DimmedIconButton(ICON_VS_CHEVRON_RIGHT, ImGui::GetStyleColorVec4(ImGuiCol_Text), buttonSizeSmall)) { + if (ImGuiExt::DimmedIconButton(ICON_TA_CHEVRON_RIGHT_PIPE, ImGui::GetStyleColorVec4(ImGuiCol_Text), buttonSizeSmall)) { ImHexApi::HexEditor::setSelection(Region { providerEndAddress - selection->getStartAddress() % requiredSize - requiredSize, requiredSize }); } ImGui::EndDisabled(); @@ -608,4 +609,4 @@ namespace hex::plugin::builtin { } -} \ No newline at end of file +}