mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
feat: Added support for transparent and blurry window styles
This commit is contained in:
@@ -326,6 +326,15 @@ namespace hex::plugin::builtin {
|
||||
|
||||
ThemeManager::addStyleHandler("imnodes", ImNodesStyleMap);
|
||||
}
|
||||
|
||||
{
|
||||
auto &style = ImGui::GetCustomStyle();
|
||||
const static ThemeManager::StyleMap ImHexStyleMap = {
|
||||
{ "window-blur", { &style.WindowBlur, 0.0F, 1.0F, true } },
|
||||
};
|
||||
|
||||
ThemeManager::addStyleHandler("imhex", ImHexStyleMap);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user