mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 21:47:40 -05:00
feat: Added support for transparent and blurry window styles
This commit is contained in:
@@ -310,6 +310,9 @@
|
||||
10.0,
|
||||
10.0
|
||||
]
|
||||
},
|
||||
"imhex": {
|
||||
"window-blur": 0.0
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -310,6 +310,9 @@
|
||||
10.0,
|
||||
10.0
|
||||
]
|
||||
},
|
||||
"imhex": {
|
||||
"window-blur": 0.0
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -310,6 +310,9 @@
|
||||
10.0,
|
||||
10.0
|
||||
]
|
||||
},
|
||||
"imhex": {
|
||||
"window-blur": 0.0
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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