elementary: when modal win appears another wins are blocked
authorBogdan Devichev <b.devichev@samsung.com>
Wed, 9 Apr 2014 10:04:55 +0000 (19:04 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 9 Apr 2014 10:04:55 +0000 (19:04 +0900)
commitaedef31eddf38567e27abcb4f753cf803c4f7b47
tree820d3e39914e536ad001fb8831fc6e6736a76e82
parentf1c62055961d99b0df0c9fe36ceabf8addd038c5
elementary: when modal win appears another wins are blocked

Summary:
In win.edc add blocker for its content and programs for it. Add
Eina_Bool blocked and was_enabled to _Elm_Menu_Item for correctly blocking
and unblocking of main_menu. They used for saving state which was before modal
win was apeared. Add callbacks and private functions in menu.c for blocking and
unblocking menu. Add integer modal_count to Elm_Win_Smart_Data for creating
enum of modal wins. Add changes in win.c for blocking content, in_focus callback
and menu while modal win is exist.

Reviewers: cedric, seoz, raster

Reviewed By: raster

CC: reutskiy.v.v, raster
Differential Revision: https://phab.enlightenment.org/D607
data/themes/edc/elm/win.edc
src/lib/elm_menu.c
src/lib/elm_widget_menu.h
src/lib/elm_win.c