Files
Upsilon/apps/shared/function_banner_delegate.h
2018-01-30 18:19:27 +01:00

22 lines
500 B
C++

#ifndef SHARED_FUNCTION_BANNER_DELEGATE_H
#define SHARED_FUNCTION_BANNER_DELEGATE_H
#include "function_store.h"
#include "banner_view.h"
#include "curve_view_cursor.h"
namespace Shared {
class FunctionBannerDelegate {
public:
constexpr static int k_maxLegendLength = 14;
constexpr static int k_maxNumberOfCharacters = 50;
protected:
void reloadBannerViewForCursorOnFunction(CurveViewCursor * cursor, Function * function, char symbol);
virtual BannerView * bannerView() = 0;
};
}
#endif