mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] Avoid static casts
This commit is contained in:
committed by
LeaNumworks
parent
569bcc26d2
commit
d02ecf93a5
@@ -45,7 +45,7 @@ public:
|
||||
bool XNTCanBeOverriden() const override { return false; }
|
||||
CodePoint XNT() override;
|
||||
NestedMenuController * variableBoxForInputEventHandler(InputEventHandler * textInput) override;
|
||||
CartesianFunctionStore * functionStore() override { return static_cast<CartesianFunctionStore *>(Shared::FunctionApp::functionStore()); }
|
||||
CartesianFunctionStore * functionStore() override { return snapshot()->functionStore(); }
|
||||
Shared::Interval * intervalForType(Shared::CartesianFunction::PlotType plotType) {
|
||||
return snapshot()->intervalForType(plotType);
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ public:
|
||||
// NestedMenuController * variableBoxForInputEventHandler(InputEventHandler * textInput) override;
|
||||
CodePoint XNT() override { return 'n'; }
|
||||
SequenceContext * localContext() override;
|
||||
SequenceStore * functionStore() override { return static_cast<SequenceStore *>(Shared::FunctionApp::functionStore()); }
|
||||
SequenceStore * functionStore() override { return snapshot()->functionStore(); }
|
||||
Shared::Interval * interval() { return snapshot()->interval(); }
|
||||
ValuesController * valuesController() override {
|
||||
return &m_valuesController;
|
||||
|
||||
Reference in New Issue
Block a user