mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 08:47:28 +01:00
22 lines
500 B
C++
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
|