mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
impr: Added icons to providers, improved the quick settings
This commit is contained in:
@@ -89,6 +89,7 @@ public:
|
||||
void setName(std::string name) { m_name = std::move(name);}
|
||||
[[nodiscard]] hex::UnlocalizedString getTypeName() const override { return m_typeName; }
|
||||
[[nodiscard]] std::string getName() const override { return m_name; }
|
||||
const char* getIcon() const override { return ""; }
|
||||
|
||||
private:
|
||||
ReadFunction m_readFunction = nullptr;
|
||||
@@ -109,5 +110,5 @@ SCRIPT_API(void registerProvider, const char *typeName, const char *name, Script
|
||||
provider->setFunctions(readFunc, writeFunc, getSizeFunc);
|
||||
return provider;
|
||||
});
|
||||
hex::ContentRegistry::Provider::impl::addProviderName(typeNameString);
|
||||
hex::ContentRegistry::Provider::impl::addProviderName(typeNameString, "");
|
||||
}
|
||||
Reference in New Issue
Block a user