Merge pull request #308 from pieh/unify_window_close
authorpieh <misiek.piechowiak@gmail.com>
Tue, 2 Aug 2011 17:14:52 +0000 (10:14 -0700)
committerpieh <misiek.piechowiak@gmail.com>
Tue, 2 Aug 2011 17:14:52 +0000 (10:14 -0700)
commit4c4443a4859e7c69d6113dd851ffdd5c03c2916f
treee6a9ba6b351e0c8ed95e0bf5a925ed22da2aa16f
parentd10ffb4475e3267179530f1390dcd9b44ec9fdb1
parent9680aa27bd4e83ec87d75206594f8c1fe465fe2d
Merge pull request #308 from pieh/unify_window_close

Move some bool members from CGUIDialog to CGUIWindow and use unified CGUIWindow::Close method to trigger window (and dialog) close actions (queue WindowClose animation and optionally play deinit sound). Deinit message is sent when animation is finished.
As a bonus it fixes not working python dialogs WindowClose animations.
xbmc/dialogs/GUIDialogKeyboard.cpp