You've already forked pico-launcher
mirror of
https://github.com/LNH-team/pico-launcher.git
synced 2026-01-09 16:28:48 -08:00
33 lines
1.1 KiB
C++
33 lines
1.1 KiB
C++
#pragma once
|
|
#include <memory>
|
|
#include "romBrowser/Theme/IThemeFileIconFactory.h"
|
|
#include "romBrowser/Theme/IRomBrowserViewFactory.h"
|
|
#include "IFontRepository.h"
|
|
#include "background/IThemeBackground.h"
|
|
#include "material/MaterialColorScheme.h"
|
|
#include "gui/font/nitroFont2.h"
|
|
#include "fat/File.h"
|
|
|
|
class VramContext;
|
|
|
|
class ITheme
|
|
{
|
|
public:
|
|
virtual ~ITheme() = 0;
|
|
|
|
virtual const IFontRepository* GetFontRepository() const = 0;
|
|
virtual const IThemeFileIconFactory* GetThemeFileIconFactory() const = 0;
|
|
virtual const IRomBrowserViewFactory* GetRomBrowserViewFactory() const = 0;
|
|
|
|
virtual std::unique_ptr<IThemeBackground> CreateRomBrowserTopBackground() const = 0;
|
|
virtual std::unique_ptr<IThemeBackground> CreateRomBrowserBottomBackground() const = 0;
|
|
|
|
virtual void LoadRomBrowserResources(const VramContext& mainVramContext, const VramContext& subVramContext) = 0;
|
|
|
|
virtual bool OpenThemeFile(File& file, const TCHAR* subPath) const = 0;
|
|
|
|
virtual const MaterialColorScheme& GetMaterialColorScheme() const = 0;
|
|
};
|
|
|
|
inline ITheme::~ITheme() { }
|