mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-01 21:17:44 -05:00
@@ -114,12 +114,7 @@ namespace hex::plugin::builtin {
|
||||
hex::log::println("Loaded plugins:");
|
||||
|
||||
for (const auto &plugin : PluginManager::getPlugins()) {
|
||||
hex::log::print("- ");
|
||||
|
||||
if (plugin.isBuiltinPlugin())
|
||||
hex::log::print("\033[1;43m{}\033[0m", plugin.getPluginName());
|
||||
else
|
||||
hex::log::print("\033[1m{}\033[0m", plugin.getPluginName());
|
||||
hex::log::print("- \033[1m{}\033[0m", plugin.getPluginName());
|
||||
|
||||
hex::log::println(" by {}", plugin.getPluginAuthor());
|
||||
|
||||
|
||||
@@ -369,7 +369,7 @@ namespace hex::plugin::builtin {
|
||||
ImGui::TableNextColumn();
|
||||
bool open = false;
|
||||
|
||||
ImGui::PushStyleColor(ImGuiCol_Text, plugin.isBuiltinPlugin() ? ImGuiExt::GetCustomColorU32(ImGuiCustomCol_Highlight) : ImGui::GetColorU32(ImGuiCol_Text));
|
||||
ImGui::PushStyleColor(ImGuiCol_Text, ImGui::GetColorU32(ImGuiCol_Text));
|
||||
if (features.empty())
|
||||
ImGui::BulletText("%s", plugin.getPluginName().c_str());
|
||||
else
|
||||
|
||||
@@ -119,7 +119,3 @@ IMHEX_PLUGIN_SETUP("Built-in", "WerWolv", "Default ImHex functionality") {
|
||||
|
||||
handleBorderlessWindowMode();
|
||||
}
|
||||
|
||||
// This is the default plugin
|
||||
// DO NOT USE THIS IN ANY OTHER PLUGIN
|
||||
extern "C" bool isBuiltinPlugin() { return true; }
|
||||
|
||||
Reference in New Issue
Block a user