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