Numworks Epsilon  1.4.1
Graphing Calculator Operating System
app.h
Go to the documentation of this file.
1 #ifndef STAT_APP_H
2 #define STAT_APP_H
3 
4 #include <escher.h>
5 #include "box_controller.h"
7 #include "store.h"
8 #include "store_controller.h"
9 #include "histogram_controller.h"
10 #include "../shared/text_field_delegate_app.h"
11 
12 namespace Statistics {
13 
15 public:
16  class Descriptor : public ::App::Descriptor {
17  public:
18  I18n::Message name() override;
19  I18n::Message upperName() override;
20  const Image * icon() override;
21  };
22  class Snapshot : public ::App::Snapshot, public TabViewDataSource {
23  public:
24  Snapshot();
25  App * unpack(Container * container) override;
26  void reset() override;
27  Descriptor * descriptor() override;
28  Store * store();
30  uint32_t * barVersion();
34  private:
35  Store m_store;
36  uint32_t m_storeVersion;
37  uint32_t m_barVersion;
38  uint32_t m_rangeVersion;
39  int m_selectedHistogramBarIndex;
40  BoxView::Quantile m_selectedBoxQuantile;
41  };
42 private:
44  CalculationController m_calculationController;
45  AlternateEmptyViewController m_calculationAlternateEmptyViewController;
46  ButtonRowController m_calculationHeader;
47  BoxController m_boxController;
48  AlternateEmptyViewController m_boxAlternateEmptyViewController;
49  ButtonRowController m_boxHeader;
50  HistogramController m_histogramController;
51  AlternateEmptyViewController m_histogramAlternateEmptyViewController;
52  ButtonRowController m_histogramHeader;
53  StackViewController m_histogramStackViewController;
54  StoreController m_storeController;
55  ButtonRowController m_storeHeader;
56  StackViewController m_storeStackViewController;
57  TabViewController m_tabViewController;
58 };
59 
60 }
61 
62 #endif
I18n::Message name() override
Definition: app.cpp:9
int * selectedHistogramBarIndex()
Definition: app.cpp:66
Descriptor * descriptor() override
Definition: app.cpp:45
Snapshot * snapshot()
Definition: app.cpp:41
Definition: image.h:6
const Image * icon() override
Definition: app.cpp:17
uint32_t * storeVersion()
Definition: app.cpp:54
BoxView::Quantile * selectedBoxQuantile()
Definition: app.cpp:70
unsigned int uint32_t
Definition: stdint.h:6
uint32_t * barVersion()
Definition: app.cpp:58
App * unpack(Container *container) override
Definition: app.cpp:31
uint32_t * rangeVersion()
Definition: app.cpp:62
void reset() override
Definition: app.cpp:35
I18n::Message upperName() override
Definition: app.cpp:13