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:
20
arm9/source/gui/views/Label2DView.h
Normal file
20
arm9/source/gui/views/Label2DView.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
#include "LabelView.h"
|
||||
|
||||
class Label2DView : public LabelView
|
||||
{
|
||||
public:
|
||||
Label2DView(u32 width, u32 height, u32 maxStringLength, const nft2_header_t* font)
|
||||
: LabelView(width, height, maxStringLength, font, false) { }
|
||||
|
||||
void InitVram(const VramContext& vramContext) override;
|
||||
void Draw(GraphicsContext& graphicsContext) override;
|
||||
void VBlank() override;
|
||||
|
||||
private:
|
||||
void UpdateTileBuffer() override;
|
||||
|
||||
bool _tileBufferUpdated = false;
|
||||
u32 _vramOffset = 0;
|
||||
vu16* _vramAddress = nullptr;
|
||||
};
|
||||
Reference in New Issue
Block a user