1
0
mirror of synced 2025-02-20 04:01:01 +01:00

sys: Added better support for Windows 7

This commit is contained in:
WerWolv 2022-08-09 16:29:52 +02:00
parent 4b720ee3a2
commit ceb26add15
3 changed files with 7 additions and 2 deletions

View File

@ -116,7 +116,7 @@ For format patterns, libraries, magic and constant files, check out the [ImHex-P
To use ImHex, the following minimal system requirements need to be met:
- **OS**: Windows 10 or higher, macOS 10.10 (Yosemite) or higher, "Modern" Linux (Ubuntu 22.04+, Fedora Stable/Rawhide and Arch Linux are officially supported)
- **OS**: Windows 7 or higher, macOS 10.10 (Yosemite) or higher, "Modern" Linux (Ubuntu 22.04+, Fedora Stable/Rawhide and Arch Linux are officially supported)
- **CPU**: x86_64 (64 Bit)
- **GPU**: OpenGL 3.0 or higher (preferable a dedicated GPU and not Intel HD Graphics)
- **RAM**: 512MB, more may be required for more complicated analysis

View File

@ -103,6 +103,9 @@ namespace hex {
this->initImGui();
this->setupNativeWindow();
// Initialize default theme
EventManager::post<RequestChangeTheme>(1);
EventManager::subscribe<RequestCloseImHex>(this, [this](bool noQuestions) {
glfwSetWindowShouldClose(this->m_window, GLFW_TRUE);

View File

@ -37,8 +37,10 @@ static void detectSystemTheme() {
if (error == ERROR_SUCCESS) {
EventManager::post<RequestChangeTheme>(value == 0 ? 1 : 2);
} else {
EventManager::post<RequestChangeTheme>(1);
ImHexApi::System::impl::setBorderlessWindowMode(false);
}
} else {
ImHexApi::System::impl::setBorderlessWindowMode(false);
}
});