mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-20 06:10:31 +01:00
[apps] Shared: Move part of the implementation of TermSumController to
shared (Integral Graph Controller) and improve bound edition in TermSumController.
This commit is contained in:
committed by
EmilieNumworks
parent
31afd260a4
commit
7ea0dbeb56
@@ -13,13 +13,22 @@ class FunctionGraphView : public CurveView {
|
||||
public:
|
||||
FunctionGraphView(InteractiveCurveViewRange * graphRange, CurveViewCursor * cursor,
|
||||
BannerView * bannerView, View * cursorView);
|
||||
void reload() override;
|
||||
void drawRect(KDContext * ctx, KDRect rect) const override;
|
||||
void setContext(Poincare::Context * context);
|
||||
Poincare::Context * context() const;
|
||||
void selectFunction(Function * function);
|
||||
void setVerticalCursor(bool verticalCursor);
|
||||
void setAreaHighlight(float start, float end);
|
||||
void setAreaHighlightColor(bool highlightColor);
|
||||
protected:
|
||||
Function * m_selectedFunction;
|
||||
bool m_verticalCursor;
|
||||
float m_highlightedStart;
|
||||
float m_highlightedEnd;
|
||||
bool m_shouldColorHighlighted;
|
||||
private:
|
||||
KDSize cursorSize() override;
|
||||
char * label(Axis axis, int index) const override;
|
||||
char m_xLabels[k_maxNumberOfXLabels][Poincare::PrintFloat::bufferSizeForFloatsWithPrecision(Constant::ShortNumberOfSignificantDigits)];
|
||||
char m_yLabels[k_maxNumberOfYLabels][Poincare::PrintFloat::bufferSizeForFloatsWithPrecision(Constant::ShortNumberOfSignificantDigits)];
|
||||
|
||||
Reference in New Issue
Block a user