blob: bae4673787eecc9ff4c5de276d648f209b7e2ad8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/*
Package layout provides means of partitioning screen space.
A layout exists in a parent Env, and has one or more child Envs. It
acts as a multiplexer for the children. The parent Env may be a window,
another layout, or whatever... Several layers of layouts can be composed.
A layout allocates screen area to its children by intercepting Resize
events from the parent Env. Upon reception by the layout, a Resize event
is transformed for each child, and forwarded to them.
Draw calls from the children are intercepted and translated onto their
respective areas before being forwarded to the parent Env.
*/
package layout
|