mirror of
https://github.com/LNH-team/pico-launcher.git
synced 2026-01-12 02:29:24 +01:00
29 lines
835 B
C++
29 lines
835 B
C++
#pragma once
|
|
#include "gui/views/LabelView.h"
|
|
#include "../../views/BannerListItemView.h"
|
|
|
|
class MaterialColorScheme;
|
|
class IFontRepository;
|
|
|
|
class CustomBannerListItemView : public BannerListItemView
|
|
{
|
|
public:
|
|
CustomBannerListItemView(const MaterialColorScheme* materialColorScheme,
|
|
const IFontRepository* fontRepository, u32 texVramOffset, u32 plttVramOffset,
|
|
u32 selectedTexVramOffset, u32 selectedPlttVramOffset, VBlankTextureLoader* vblankTextureLoader);
|
|
|
|
void Draw(GraphicsContext& graphicsContext) override;
|
|
|
|
Rectangle GetBounds() const override
|
|
{
|
|
return Rectangle(_position, 203, 44);
|
|
}
|
|
|
|
private:
|
|
const MaterialColorScheme* _materialColorScheme;
|
|
u32 _texVramOffset = 0;
|
|
u32 _plttVramOffset = 0;
|
|
u32 _selectedTexVramOffset = 0;
|
|
u32 _selectedPlttVramOffset = 0;
|
|
};
|