elm: Add an Edje layout for elm_win
authorHenrique Dante de Almeida <hdante@profusion.mobi>
Thu, 17 Jan 2013 22:11:15 +0000 (22:11 +0000)
committerBruno Dilly <bdilly@profusion.mobi>
Thu, 17 Jan 2013 22:11:15 +0000 (22:11 +0000)
commite17a7ddb00c0b64cd8967e73c06e3f021adf9eda
treed39654fbd8fa8a4c392bee7c1ec58c38de7fc6bd
parent0083323d29397566ad0c430ce8a9511e2f51b140
elm: Add an Edje layout for elm_win

The layout has two parts, one for placing a menu bar on the window and
the other for placing the actual window contents. The content part is
an Evas box with a custom layout that mimics the standard widget
placement rules inside the window (adapted from resize_objects_eval
and resize_job)

Note: a custom layout was written here, because it's not possible to
use a common stacking layout, since applications do not follow the
stacking rules (they don't use EVAS_HINT_FILL and
evas_object_size_hint_align_set). Maybe, with time, applications
could be changed to use them, so the custom layout may be removed.

Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>

SVN revision: 82957
data/themes/widgets/win.edc
src/lib/elm_win.c