wlt: toolkit: implement proper minimal sizes
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 30 Sep 2012 22:16:57 +0000 (00:16 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 30 Sep 2012 22:16:57 +0000 (00:16 +0200)
commite827ef4d6a078c335c28259391f9a1290552c3b5
treef9df620fb6dfe0d6474c2c54a3ff39772bb20e90
parent9dc929b9426daa61e35c1e960d40b82e4ddb1e98
wlt: toolkit: implement proper minimal sizes

A widget may have different constraints regarding minimal sizes and the
size it occupies. Therefore, we need to pass a hint with the minimal size
together with the prepare-resize round.

The catch-all user can then decide to resize the catch-all field until it
is big enough to hold all minimal-sizes.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/wlt_terminal.c
src/wlt_theme.c
src/wlt_toolkit.c
src/wlt_toolkit.h