Numworks Epsilon
1.4.1
Graphing Calculator Operating System
interactive_curve_view_range_delegate.h
Go to the documentation of this file.
1
#ifndef SHARED_INTERACTIVE_CURVE_VIEW_DELEGATE_H
2
#define SHARED_INTERACTIVE_CURVE_VIEW_DELEGATE_H
3
4
namespace
Shared
{
5
6
class
InteractiveCurveViewRange;
7
8
class
InteractiveCurveViewRangeDelegate
{
9
public
:
10
bool
didChangeRange
(
InteractiveCurveViewRange
* interactiveCurveViewRange);
11
virtual
float
interestingXRange
();
12
protected
:
13
struct
Range
{
14
float
min
;
15
float
max
;
16
};
17
private
:
18
virtual
Range
computeYRange(
InteractiveCurveViewRange
* interactiveCurveViewRange) = 0;
19
virtual
float
addMargin(
float
x,
float
range,
bool
isMin) = 0;
20
};
21
22
}
23
24
#endif
Shared
Definition:
banner_view.cpp:5
Shared::InteractiveCurveViewRangeDelegate::Range::max
float max
Definition:
interactive_curve_view_range_delegate.h:15
Shared::InteractiveCurveViewRangeDelegate
Definition:
interactive_curve_view_range_delegate.h:8
Shared::InteractiveCurveViewRangeDelegate::interestingXRange
virtual float interestingXRange()
Definition:
interactive_curve_view_range_delegate.cpp:51
Shared::InteractiveCurveViewRange
Definition:
interactive_curve_view_range.h:11
Shared::InteractiveCurveViewRangeDelegate::didChangeRange
bool didChangeRange(InteractiveCurveViewRange *interactiveCurveViewRange)
Definition:
interactive_curve_view_range_delegate.cpp:9
Shared::InteractiveCurveViewRangeDelegate::Range
Definition:
interactive_curve_view_range_delegate.h:13
Shared::InteractiveCurveViewRangeDelegate::Range::min
float min
Definition:
interactive_curve_view_range_delegate.h:14
epsilon
apps
shared
interactive_curve_view_range_delegate.h
Generated by
1.8.14