Initial commit

This commit is contained in:
Gericom
2025-11-22 17:21:45 +01:00
commit 5d6f67c612
517 changed files with 63025 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
#pragma once
class GraphicsContext;
class VramContext;
class IVramManager;
class ITheme;
class IThemeBackground
{
public:
virtual ~IThemeBackground() = 0;
/// @brief Updates the background.
virtual void Update() { }
/// @brief Draws the background.
/// @param graphicsContext The graphics context to use.
virtual void Draw(GraphicsContext& graphicsContext) { }
/// @brief Performs vblank processes for the background.
virtual void VBlank() { }
/// @brief Loads the resources for this background.
/// @param theme The theme the background belongs to.
/// @param vramContext The vram context.
virtual void LoadResources(const ITheme& theme, const VramContext& vramContext) { }
};
inline IThemeBackground::~IThemeBackground() { }