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:
32
arm9/source/themes/ITheme.h
Normal file
32
arm9/source/themes/ITheme.h
Normal file
@@ -0,0 +1,32 @@
|
||||
#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() { }
|
||||
Reference in New Issue
Block a user