gfx update
app add const layout constructor