mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] Replace k_cursorTop/BottomMarginRatio by virtual methods
In SimpleInteractiveCurveViewController subclasses.
This commit is contained in:
committed by
Émilie Feral
parent
fe977bdc07
commit
5b6fca8f72
@@ -19,8 +19,8 @@ public:
|
||||
void viewWillAppear() override;
|
||||
|
||||
protected:
|
||||
float cursorTopMarginRatio() { return 0.068f; } // (cursorHeight/2)/graphViewHeight
|
||||
float cursorBottomMarginRatio();
|
||||
float cursorTopMarginRatio() override { return 0.068f; }
|
||||
float cursorBottomMarginRatio() override;
|
||||
void reloadBannerView() override;
|
||||
bool handleEnter() override;
|
||||
int indexFunctionSelectedByCursor() const { return *m_indexFunctionSelectedByCursor; }
|
||||
|
||||
Reference in New Issue
Block a user