main: Reset layout on stratup; bottom and top layer layout
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>
Fri, 23 Jun 2017 12:27:55 +0000 (14:27 +0200)
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>
Tue, 8 Aug 2017 15:24:00 +0000 (17:24 +0200)
commitd9911e35635ded433ed1e56bb88dbba2726aac1b
tree7a46c36e2cb70a7eb72b4a2f0ce381b54fbd6d77
parentc6ee1ca3e0dc167fb529822c343843c4a16d785e
main: Reset layout on stratup; bottom and top layer layout

* When started, layout is cleared, that is layers will be removed and
screen render order reset
* Layers 100 and 1000 are created, layer 1000 s the top layer.
* Add layers to screen
* C++-ification of some cumbersome direct-pointer accesses.

Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
src/main.cpp