add Layer::back()

This commit is contained in:
Raphael Coeffic
2022-06-11 15:13:11 +02:00
committed by Raphael Coeffic
parent 6cb2e332e1
commit c7da6b2796
+5
View File
@@ -80,4 +80,9 @@ class Layer
}
#endif
}
static Window* back()
{
return stack.back().main;
}
};