mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
21 lines
461 B
C++
21 lines
461 B
C++
#include "banner_view.h"
|
|
|
|
namespace Sequence {
|
|
|
|
BannerView::BannerView() :
|
|
m_abscissaView(KDFont::SmallFont, 0.5f, 0.5f, KDColorBlack, Palette::GreyMiddle),
|
|
m_sequenceView(KDFont::SmallFont, 0.5f, 0.5f, KDColorBlack, Palette::GreyMiddle)
|
|
{
|
|
}
|
|
|
|
int BannerView::numberOfSubviews() const {
|
|
return 2;
|
|
}
|
|
|
|
TextView * BannerView::textViewAtIndex(int i) const {
|
|
const TextView * views[2] = {&m_abscissaView, &m_sequenceView};
|
|
return (TextView *)views[i];
|
|
}
|
|
|
|
}
|