mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/sequence)[apps/graph] Move interval in snapshot
Change-Id: Ib8efea9d57c55fbf7b4fb8cf9188d4211442057d
This commit is contained in:
@@ -7,9 +7,13 @@ namespace Shared {
|
||||
|
||||
FunctionApp::Snapshot::Snapshot() :
|
||||
m_cursor(),
|
||||
m_interval(),
|
||||
m_modelVersion(0),
|
||||
m_rangeVersion(0)
|
||||
{
|
||||
m_interval.setStart(0);
|
||||
m_interval.setEnd(10);
|
||||
m_interval.setStep(1);
|
||||
}
|
||||
|
||||
CurveViewCursor * FunctionApp::Snapshot::cursor() {
|
||||
@@ -24,6 +28,16 @@ uint32_t * FunctionApp::Snapshot::rangeVersion() {
|
||||
return &m_rangeVersion;
|
||||
}
|
||||
|
||||
Interval * FunctionApp::Snapshot::interval() {
|
||||
return &m_interval;
|
||||
}
|
||||
|
||||
void FunctionApp::Snapshot::reset() {
|
||||
m_interval.setStart(0);
|
||||
m_interval.setEnd(10);
|
||||
m_interval.setStep(1);
|
||||
}
|
||||
|
||||
FunctionApp::FunctionApp(Container * container, Snapshot * snapshot, ViewController * rootViewController) :
|
||||
TextFieldDelegateApp(container, snapshot, rootViewController)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user