Refactoring of widget drawing to avoid multiple widget redraw.
commit240350db958dd20f5676ee2e3228eda783d03675
authorAndrew Borodin <aborodin@vmail.ru>
Mon, 13 Jun 2016 07:16:45 +0000 (13 10:16 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Sun, 11 Sep 2016 08:30:20 +0000 (11 11:30 +0300)
treefffa3997d9eb74755445c8f743fbb3db9da838b4
parentaae31dbe4315ccafb6c8c8ba26312c4ce284a2a1
Refactoring of widget drawing to avoid multiple widget redraw.

Send MSG_DRAW message immediately after MSG_FOCUS/MSG_UNFOCUS.
Thus, the MSG_DRAW message handler is the only place where widget
should be drawn. Widget should not draw itself in other message
handlers.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
lib/widget/button.c
lib/widget/check.c
lib/widget/dialog.c
lib/widget/input.c
lib/widget/listbox.c
lib/widget/radio.c
lib/widget/widget-common.c
src/editor/editwidget.c
src/filemanager/panel.c
src/filemanager/tree.c
src/viewer/actions_cmd.c