Numworks Epsilon
1.4.1
Graphing Calculator Operating System
go_to_parameter_controller.h
Go to the documentation of this file.
1
#ifndef SHARED_GO_TO_PARAMETER_CONTROLLER_H
2
#define SHARED_GO_TO_PARAMETER_CONTROLLER_H
3
4
#include <
escher.h
>
5
#include "
float_parameter_controller.h
"
6
#include "
curve_view_cursor.h
"
7
#include "
interactive_curve_view_range.h
"
8
9
namespace
Shared
{
10
11
class
GoToParameterController
:
public
FloatParameterController
{
12
public
:
13
GoToParameterController
(
Responder
*
parentResponder
,
InteractiveCurveViewRange
* graphRange,
CurveViewCursor
* cursor, I18n::Message symbol);
14
int
numberOfRows
()
override
;
15
bool
handleEvent
(
Ion::Events::Event
event)
override
;
16
protected
:
17
constexpr
static
double
k_maxDisplayableFloat
= 1E8;
18
CurveViewCursor
*
m_cursor
;
19
InteractiveCurveViewRange
*
m_graphRange
;
20
private
:
21
void
buttonAction()
override
;
22
HighlightCell
* reusableParameterCell(
int
index,
int
type)
override
;
23
int
reusableParameterCellCount(
int
type)
override
;
24
View
* loadView()
override
;
25
void
unloadView(
View
*
view
)
override
;
26
char
m_draftTextBuffer[
MessageTableCellWithEditableText::k_bufferLength
];
27
MessageTableCellWithEditableText
* m_abscisseCell;
28
I18n::Message m_abscissaSymbol;
29
};
30
31
}
32
33
#endif
Shared::FloatParameterController
Definition:
float_parameter_controller.h:13
Shared
Definition:
banner_view.cpp:5
Responder::parentResponder
Responder * parentResponder() const
Definition:
responder.cpp:12
float_parameter_controller.h
Shared::GoToParameterController::handleEvent
bool handleEvent(Ion::Events::Event event) override
Definition:
go_to_parameter_controller.cpp:29
escher.h
Shared::CurveViewCursor
Definition:
curve_view_cursor.h:6
Ion::Events::Event
Definition:
events.h:9
Shared::GoToParameterController::m_cursor
CurveViewCursor * m_cursor
Definition:
go_to_parameter_controller.h:18
Responder
Definition:
responder.h:9
interactive_curve_view_range.h
HighlightCell
Definition:
highlight_cell.h:7
curve_view_cursor.h
Shared::InteractiveCurveViewRange
Definition:
interactive_curve_view_range.h:11
Shared::GoToParameterController::k_maxDisplayableFloat
static constexpr double k_maxDisplayableFloat
Definition:
go_to_parameter_controller.h:17
Shared::GoToParameterController::m_graphRange
InteractiveCurveViewRange * m_graphRange
Definition:
go_to_parameter_controller.h:19
Shared::GoToParameterController
Definition:
go_to_parameter_controller.h:11
View
Definition:
view.h:23
Shared::GoToParameterController::numberOfRows
int numberOfRows() override
Definition:
go_to_parameter_controller.cpp:16
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
Shared::GoToParameterController::GoToParameterController
GoToParameterController(Responder *parentResponder, InteractiveCurveViewRange *graphRange, CurveViewCursor *cursor, I18n::Message symbol)
Definition:
go_to_parameter_controller.cpp:7
DynamicViewController::view
View * view() override
Definition:
dynamic_view_controller.cpp:15
epsilon
apps
shared
go_to_parameter_controller.h
Generated by
1.8.14