mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 01:08:15 +01:00
36 lines
1015 B
C++
36 lines
1015 B
C++
#ifndef REGRESSION_BANNER_VIEW_H
|
|
#define REGRESSION_BANNER_VIEW_H
|
|
|
|
#include <escher.h>
|
|
#include "../shared/banner_view.h"
|
|
|
|
namespace Regression {
|
|
|
|
class BannerView : public Shared::BannerView {
|
|
public:
|
|
BannerView();
|
|
int numberOfTextviews() const { return k_numberOfTextViews; }
|
|
const KDFont * font() const { return k_font; }
|
|
private:
|
|
static constexpr const KDFont * k_font = KDFont::SmallFont;
|
|
static constexpr KDColor k_textColor = KDColorBlack;
|
|
static constexpr KDColor k_backgroundColor = Palette::GreyMiddle;
|
|
static constexpr int k_numberOfTextViews = 9;
|
|
int numberOfSubviews() const override;
|
|
TextView * textViewAtIndex(int i) const override;
|
|
MessageTextView * messageTextViewAtIndex(int i) const override;
|
|
BufferTextView m_dotNameView;
|
|
BufferTextView m_xView;
|
|
BufferTextView m_yView;
|
|
MessageTextView m_regressionTypeView;
|
|
BufferTextView m_subText1;
|
|
BufferTextView m_subText2;
|
|
BufferTextView m_subText3;
|
|
BufferTextView m_subText4;
|
|
BufferTextView m_subText5;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|