build: Refactor ContentRegistry into multiple separate files

This commit is contained in:
WerWolv
2025-08-14 21:22:03 +02:00
parent d920718b44
commit fbde2942de
141 changed files with 2337 additions and 2007 deletions

View File

@@ -1,4 +1,5 @@
#include <hex/api/content_registry.hpp>
#include <hex/api/content_registry/settings.hpp>
#include <hex/api/content_registry/user_interface.hpp>
#include <hex/helpers/utils.hpp>
@@ -19,7 +20,7 @@ namespace hex::plugin::windows {
showResourceUsage = value.get<bool>(false);
});
ContentRegistry::Interface::addFooterItem([] {
ContentRegistry::UserInterface::addFooterItem([] {
if (!showResourceUsage)
return;
@@ -72,7 +73,7 @@ namespace hex::plugin::windows {
ImGuiExt::TextFormatted(ICON_VS_DASHBOARD " {0:2}.{1:02}%", u32(cpuUsage), u32(cpuUsage * 100) % 100);
});
ContentRegistry::Interface::addFooterItem([] {
ContentRegistry::UserInterface::addFooterItem([] {
if (!showResourceUsage)
return;