[apps/shared] In values controller, update the number of columns when

layout is done

Change-Id: I29bc776623ff2e5056c9f2cc1d995b4440996116
This commit is contained in:
Émilie Feral
2017-06-07 10:44:14 +02:00
parent d28a9e4664
commit bf11591e3e
12 changed files with 37 additions and 44 deletions

View File

@@ -8,8 +8,7 @@ namespace Shared {
FunctionApp::Snapshot::Snapshot() :
m_cursor(),
m_interval(),
m_graphModelVersion(0),
m_valuesModelVersion(0),
m_modelVersion(0),
m_rangeVersion(0)
{
m_interval.setStart(0);
@@ -21,12 +20,8 @@ CurveViewCursor * FunctionApp::Snapshot::cursor() {
return &m_cursor;
}
uint32_t * FunctionApp::Snapshot::graphModelVersion() {
return &m_graphModelVersion;
}
uint32_t * FunctionApp::Snapshot::valuesModelVersion() {
return &m_valuesModelVersion;
uint32_t * FunctionApp::Snapshot::modelVersion() {
return &m_modelVersion;
}
uint32_t * FunctionApp::Snapshot::rangeVersion() {
@@ -41,8 +36,7 @@ void FunctionApp::Snapshot::reset() {
m_interval.setStart(0);
m_interval.setEnd(10);
m_interval.setStep(1);
m_graphModelVersion = 0;
m_valuesModelVersion = 0;
m_modelVersion = 0;
m_rangeVersion = 0;
setActiveTab(0);
}