1 #ifndef STATISTICS_HISTOGRAM_CONTROLLER_H 2 #define STATISTICS_HISTOGRAM_CONTROLLER_H 9 #include "../shared/curve_view.h" 17 const char *
title()
override;
33 constexpr
static int k_maxNumberOfBarsPerWindow = 100;
34 constexpr
static int k_maxIntervalLegendLength = 33;
35 constexpr
static int k_maxLegendLength = 13;
36 constexpr
static int k_maxNumberOfCharacters = 30;
38 void reloadBannerView();
39 void initRangeParameters();
40 void initBarParameters();
41 void initBarSelection();
43 bool moveSelection(
int deltaIndex);
51 int * m_selectedBarIndex;
void viewWillAppear() override
HistogramController(Responder *parentResponder, ButtonRowController *header, Store *store, uint32_t *m_storeVersion, uint32_t *m_barVersion, uint32_t *m_rangeVersion, int *m_selectedBarIndex)
Responder * parentResponder() const
void didBecomeFirstResponder() override
Button * buttonAtIndex(int index, ButtonRowController::Position position) const override
bool handleEvent(Ion::Events::Event event) override
const char * title() override
bool isEmpty() const override
I18n::Message emptyMessage() override
int numberOfButtons(ButtonRowController::Position) const override
void willExitResponderChain(Responder *nextFirstResponder) override
StackViewController * stackController()
Responder * defaultController() override
HistogramParameterController * histogramParameterController()