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)
commitac038d79821934e33841e38eec5cab14d7762739
treeb2e4b6dfae71fd3ddd3bac297c087b62d609744c
parent8fba6f77e9f3c25e6e9305b292fbe7858dba9e95
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
legacy/elementary/data/themes/edc/elm/win.edc
legacy/elementary/src/lib/elm_menu.c
legacy/elementary/src/lib/elm_widget_menu.h
legacy/elementary/src/lib/elm_win.c