mirror of
https://github.com/LNH-team/pico-launcher.git
synced 2026-06-02 17:16:57 +02:00
25 lines
627 B
C++
25 lines
627 B
C++
#pragma once
|
|
#include "LabelView.h"
|
|
#include "gui/VBlankTextureLoader.h"
|
|
|
|
class alignas(32) Label3DView : public LabelView
|
|
{
|
|
SHARED_ONLY(Label3DView)
|
|
|
|
public:
|
|
~Label3DView() override;
|
|
|
|
void InitVram(const VramContext& vramContext) override;
|
|
void Draw(GraphicsContext& graphicsContext) override;
|
|
|
|
private:
|
|
Label3DView(u32 width, u32 height, u32 maxStringLength, const nft2_header_t* font,
|
|
VBlankTextureLoader* vblankTextureLoader);
|
|
|
|
void UpdateTileBuffer() override;
|
|
|
|
u32 _texVramOffset = 0;
|
|
VBlankTextureLoader* _vblankTextureLoader;
|
|
VBlankTextureLoadRequest _textureLoadRequest;
|
|
};
|