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:
25
arm9/source/romBrowser/views/BannerListItemView.cpp
Normal file
25
arm9/source/romBrowser/views/BannerListItemView.cpp
Normal file
@@ -0,0 +1,25 @@
|
||||
#include "common.h"
|
||||
#include "gui/IVramManager.h"
|
||||
#include "gui/GraphicsContext.h"
|
||||
#include "BannerListItemView.h"
|
||||
|
||||
BannerListItemView::BannerListItemView(std::unique_ptr<LabelView> firstLine,
|
||||
std::unique_ptr<LabelView> secondLine, std::unique_ptr<LabelView> thirdLine)
|
||||
: _firstLine(std::move(firstLine))
|
||||
, _secondLine(std::move(secondLine))
|
||||
, _thirdLine(std::move(thirdLine))
|
||||
{
|
||||
AddChildTail(_firstLine.get());
|
||||
AddChildTail(_secondLine.get());
|
||||
AddChildTail(_thirdLine.get());
|
||||
}
|
||||
|
||||
void BannerListItemView::Update()
|
||||
{
|
||||
ViewContainer::Update();
|
||||
|
||||
if (_icon)
|
||||
{
|
||||
_icon->Update();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user