Numworks Epsilon  1.4.1
Graphing Calculator Operating System
banner_view.cpp
Go to the documentation of this file.
1 #include "banner_view.h"
2 
3 namespace Sequence {
4 
6  m_abscissaView(KDText::FontSize::Small, 0.5f, 0.5f, KDColorBlack, Palette::GreyMiddle),
7  m_sequenceView(KDText::FontSize::Small, 0.5f, 0.5f, KDColorBlack, Palette::GreyMiddle)
8 {
9 }
10 
11 int BannerView::numberOfSubviews() const {
12  return 2;
13 }
14 
15 TextView * BannerView::textViewAtIndex(int i) const {
16  const TextView * views[2] = {&m_abscissaView, &m_sequenceView};
17  return (TextView *)views[i];
18 }
19 
20 }
Definition: text.h:8
constexpr KDColor KDColorBlack
Definition: color.h:41
Definition: app.cpp:7
Definition: palette.h:6