Numworks Epsilon
1.4.1
Graphing Calculator Operating System
histogram_parameter_controller.h
Go to the documentation of this file.
1
#ifndef STATISTICS_HISTOGRAM_PARAMETER_CONTROLLER_H
2
#define STATISTICS_HISTOGRAM_PARAMETER_CONTROLLER_H
3
4
#include <
escher.h
>
5
#include "../shared/float_parameter_controller.h"
6
#include "
store.h
"
7
8
namespace
Statistics
{
9
10
class
HistogramParameterController
:
public
Shared::FloatParameterController
{
11
public
:
12
HistogramParameterController
(
Responder
*
parentResponder
,
Store
* store);
13
const
char
*
title
()
override
;
14
int
numberOfRows
()
override
;
15
void
willDisplayCellForIndex
(
HighlightCell
* cell,
int
index)
override
;
16
private
:
17
HighlightCell
* reusableParameterCell(
int
index,
int
type)
override
;
18
int
reusableParameterCellCount(
int
type)
override
;
19
double
parameterAtIndex(
int
index)
override
;
20
bool
setParameterAtIndex(
int
parameterIndex,
double
f)
override
;
21
View
* loadView()
override
;
22
void
unloadView(
View
*
view
)
override
;
23
char
m_draftTextBuffer[
MessageTableCellWithEditableText::k_bufferLength
];
24
constexpr
static
int
k_numberOfCells = 2;
25
MessageTableCellWithEditableText
* m_cells[k_numberOfCells];
26
Store
* m_store;
27
};
28
29
}
30
31
#endif
Statistics::HistogramParameterController
Definition:
histogram_parameter_controller.h:10
Shared::FloatParameterController
Definition:
float_parameter_controller.h:13
Statistics::HistogramParameterController::HistogramParameterController
HistogramParameterController(Responder *parentResponder, Store *store)
Definition:
histogram_parameter_controller.cpp:10
Responder::parentResponder
Responder * parentResponder() const
Definition:
responder.cpp:12
escher.h
Statistics::Store
Definition:
store.h:9
Responder
Definition:
responder.h:9
HighlightCell
Definition:
highlight_cell.h:7
Statistics::HistogramParameterController::willDisplayCellForIndex
void willDisplayCellForIndex(HighlightCell *cell, int index) override
Definition:
histogram_parameter_controller.cpp:25
Statistics::HistogramParameterController::title
const char * title() override
Definition:
histogram_parameter_controller.cpp:17
View
Definition:
view.h:23
MessageTableCellWithEditableText::k_bufferLength
static constexpr int k_bufferLength
Definition:
message_table_cell_with_editable_text.h:22
MessageTableCellWithEditableText
Definition:
message_table_cell_with_editable_text.h:8
Statistics
Definition:
app.cpp:7
Statistics::HistogramParameterController::numberOfRows
int numberOfRows() override
Definition:
histogram_parameter_controller.cpp:21
store.h
DynamicViewController::view
View * view() override
Definition:
dynamic_view_controller.cpp:15
epsilon
apps
statistics
histogram_parameter_controller.h
Generated by
1.8.14