[apps/probability] Add a page index in snapshot

Change-Id: I4d37cd744bf42b67090cbbd1619f98b512b16e9a
This commit is contained in:
Émilie Feral
2017-05-18 17:55:50 +02:00
parent 1cc75e5d76
commit f6dd2d1180
9 changed files with 71 additions and 21 deletions

View File

@@ -92,6 +92,9 @@ void StackViewController::push(ViewController * vc, KDColor textColor, KDColor b
}
}
void StackViewController::pushModel(ViewController * vc, KDColor textColor, KDColor backgroundColor, KDColor separatorColor) {
pushModel(Frame(vc, textColor, backgroundColor, separatorColor));
}
void StackViewController::pop() {
m_view.popStack();
assert(m_numberOfChildren > 0);