ui/ux: Improve data analyzer interface, make it run asynchronously

This commit is contained in:
WerWolv
2021-02-22 13:08:06 +01:00
parent 3cbbfb1782
commit 7f97416e6e
3 changed files with 106 additions and 86 deletions

View File

@@ -27,12 +27,14 @@ namespace hex {
std::vector<float> m_blockEntropy;
std::array<float, 256> m_valueCounts = { 0 };
bool m_shouldInvalidate = false;
bool m_analyzing = false;
std::pair<u64, u64> m_analyzedRegion = { 0, 0 };
std::string m_fileDescription;
std::string m_mimeType;
void analyze();
};
}