mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-28 18:20:14 +01:00
[apps/poincare] Inline some methods
This commit is contained in:
@@ -18,30 +18,6 @@ StorageFunctionApp::Snapshot::Snapshot() :
|
||||
m_interval.setStep(1);
|
||||
}
|
||||
|
||||
CurveViewCursor * StorageFunctionApp::Snapshot::cursor() {
|
||||
return &m_cursor;
|
||||
}
|
||||
|
||||
uint32_t * StorageFunctionApp::Snapshot::modelVersion() {
|
||||
return &m_modelVersion;
|
||||
}
|
||||
|
||||
uint32_t * StorageFunctionApp::Snapshot::rangeVersion() {
|
||||
return &m_rangeVersion;
|
||||
}
|
||||
|
||||
Preferences::AngleUnit * StorageFunctionApp::Snapshot::angleUnitVersion() {
|
||||
return &m_angleUnitVersion;
|
||||
}
|
||||
|
||||
Interval * StorageFunctionApp::Snapshot::interval() {
|
||||
return &m_interval;
|
||||
}
|
||||
|
||||
int * StorageFunctionApp::Snapshot::indexFunctionSelectedByCursor() {
|
||||
return &m_indexFunctionSelectedByCursor;
|
||||
}
|
||||
|
||||
void StorageFunctionApp::Snapshot::reset() {
|
||||
m_interval.setStart(0);
|
||||
m_interval.setEnd(10);
|
||||
@@ -52,11 +28,6 @@ void StorageFunctionApp::Snapshot::reset() {
|
||||
setActiveTab(0);
|
||||
}
|
||||
|
||||
StorageFunctionApp::StorageFunctionApp(Container * container, Snapshot * snapshot, ViewController * rootViewController) :
|
||||
ExpressionFieldDelegateApp(container, snapshot, rootViewController)
|
||||
{
|
||||
}
|
||||
|
||||
void StorageFunctionApp::willBecomeInactive() {
|
||||
if (m_modalViewController.isDisplayingModal()) {
|
||||
m_modalViewController.dismissModalViewController();
|
||||
|
||||
Reference in New Issue
Block a user