mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
[escher] Add a method to update the title in stack view controller
Change-Id: Id3a7702c108de38fed74fa0db33022f186780b13
This commit is contained in:
@@ -87,11 +87,15 @@ const char * StackViewController::title() const {
|
||||
}
|
||||
}
|
||||
|
||||
void StackViewController::updateTitle() {
|
||||
m_view.popStack();
|
||||
m_view.pushStack(m_children[m_numberOfChildren-1]->title());
|
||||
}
|
||||
|
||||
void StackViewController::push(ViewController * vc) {
|
||||
m_view.pushStack(vc->title());
|
||||
m_children[m_numberOfChildren++] = vc;
|
||||
setupActiveViewController();
|
||||
//vc->setParentResponder(this);
|
||||
}
|
||||
|
||||
void StackViewController::pop() {
|
||||
|
||||
Reference in New Issue
Block a user