mirror of
https://github.com/LNH-team/pico-launcher.git
synced 2026-01-12 02:29:24 +01:00
26 lines
627 B
C++
26 lines
627 B
C++
#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();
|
|
}
|
|
}
|