mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
28 lines
743 B
C++
28 lines
743 B
C++
#ifndef STATISTICS_BOX_BANNER_VIEW_H
|
|
#define STATISTICS_BOX_BANNER_VIEW_H
|
|
|
|
#include <escher.h>
|
|
#include "../shared/banner_view.h"
|
|
#include <apps/i18n.h>
|
|
|
|
namespace Statistics {
|
|
|
|
class BoxBannerView : public Shared::BannerView {
|
|
public:
|
|
BoxBannerView();
|
|
BufferTextView * seriesName() { return &m_seriesName; }
|
|
MessageTextView * calculationName() { return &m_calculationName; }
|
|
BufferTextView * calculationValue() { return &m_calculationValue; }
|
|
private:
|
|
static constexpr int k_numberOfSubviews = 3;
|
|
int numberOfSubviews() const override { return k_numberOfSubviews; }
|
|
View * subviewAtIndex(int index) override;
|
|
BufferTextView m_seriesName;
|
|
MessageTextView m_calculationName;
|
|
BufferTextView m_calculationValue;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|