K
Size: a a a
K
MG
in view X
if currentView is not null
childHasBeenBroughtToFront = false
for i in childCount
child[i].broughtToFront = false
else
endif
return false // view X will process input
in children
if broughtToFront
return false // this view will process input
parent = getParent
if parent is X
if X.childHasBeenBroughtToFront
return true // this view will not process input
bringToFront()
broughtToFront = true
X.childHasBeenBroughtToFront = true
X.currentTop = this
return false // this view will process input
else throw invalid parent
MG
MG
MG
MG
K
K
TS
K
MK
MK
MK
EZ
MK
А
TS
EZ
EZ