mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-21 14:50:44 +01:00
[Escher] Responder can get a pointer to the parent App
We assume the root parent is the App. This works well because each view controller is a Responder. Change-Id: I5d90053949a4ffbdb78746cc85430a15138e48e7
This commit is contained in:
@@ -53,8 +53,8 @@ const char * TabViewController::ContentView::className() const {
|
||||
}
|
||||
#endif
|
||||
|
||||
TabViewController::TabViewController(ViewController * one, ViewController * two) :
|
||||
ViewController(),
|
||||
TabViewController::TabViewController(Responder * parentResponder, ViewController * one, ViewController * two) :
|
||||
ViewController(parentResponder),
|
||||
m_numberOfChildren(2),
|
||||
m_activeChildIndex(-1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user