mirror of
https://github.com/LNH-team/pico-launcher.git
synced 2026-06-02 09:06:54 +02:00
Initial commit
This commit is contained in:
20
arm9/source/themes/Theme.h
Normal file
20
arm9/source/themes/Theme.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
#include "fat/ff.h"
|
||||
#include "core/String.h"
|
||||
#include "ITheme.h"
|
||||
|
||||
class Theme : public ITheme
|
||||
{
|
||||
public:
|
||||
bool OpenThemeFile(File& file, const TCHAR* subPath) const override;
|
||||
void LoadRomBrowserResources(const VramContext& mainVramContext, const VramContext& subVramContext) override { };
|
||||
const MaterialColorScheme& GetMaterialColorScheme() const override { return _materialColorScheme; }
|
||||
|
||||
protected:
|
||||
Theme(const TCHAR* folderName, const Rgb<8, 8, 8>& primaryColor, bool darkMode);
|
||||
|
||||
MaterialColorScheme _materialColorScheme;
|
||||
|
||||
private:
|
||||
String<TCHAR, 64> _folderName;
|
||||
};
|
||||
Reference in New Issue
Block a user