mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-11-26 22:54:15 +01:00
17 lines
552 B
C
17 lines
552 B
C
|
#pragma once
|
||
|
#include "ConfigRendererItemGeneric.h"
|
||
|
#include "config/WUPSConfigCategory.h"
|
||
|
|
||
|
class ConfigRendererItemCategory : public ConfigRendererItemGeneric {
|
||
|
public:
|
||
|
explicit ConfigRendererItemCategory(const WUPSConfigAPIBackend::WUPSConfigCategory *category) : mCategory(category) {
|
||
|
assert(category);
|
||
|
}
|
||
|
|
||
|
void Draw(uint32_t yOffset, bool isHighlighted) const override {
|
||
|
drawGenericBoxAndText(yOffset, mCategory->getName(), isHighlighted);
|
||
|
}
|
||
|
|
||
|
private:
|
||
|
const WUPSConfigAPIBackend::WUPSConfigCategory *mCategory;
|
||
|
};
|