mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
22 lines
982 B
C++
22 lines
982 B
C++
#ifndef GRAPH_GRAPH_CONTROLLER_HELPER_H
|
|
#define GRAPH_GRAPH_CONTROLLER_HELPER_H
|
|
|
|
#include "../../shared/function_banner_delegate.h"
|
|
#include "../../shared/text_field_delegate_app.h"
|
|
#include "../../shared/interactive_curve_view_range.h"
|
|
#include "../storage_cartesian_function_store.h"
|
|
|
|
namespace Graph {
|
|
|
|
class GraphControllerHelper {
|
|
protected:
|
|
constexpr static int k_maxDigitLegendLength = 10;
|
|
bool privateMoveCursorHorizontally(Shared::CurveViewCursor * cursor, int direction, Shared::InteractiveCurveViewRange * range, int numberOfStepsInGradUnit, Shared::StorageFunction * function, Shared::TextFieldDelegateApp * app, float cursorTopMarginRatio, float cursorRightMarginRatio, float cursorBottomMarginRatio, float cursorLeftMarginRatio);
|
|
void reloadDerivativeInBannerViewForCursorOnFunction(Shared::CurveViewCursor * cursor, Shared::StorageCartesianFunction * function, Shared::TextFieldDelegateApp * app);
|
|
virtual Shared::BannerView * bannerView() = 0;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|